commit | d9d8b2a51a404c2d45b9dc4c755f62cb3ddb7c79 | [log] [tgz] |
---|---|---|
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | Tue Sep 08 17:22:43 2015 +0800 |
committer | Chris Mason <clm@fb.com> | Wed Oct 21 18:41:04 2015 -0700 |
tree | 4405c3e139e22e0ae72f3080340eb7ce1da28d89 | |
parent | 4ceff0792d36256a5f879cec51c56e44db90b8ec [diff] |
btrfs: extent-tree: Switch to new check_data_free_space and free_reserved_data_space Use new reserve/free for buffered write and inode cache. For buffered write case, as nodatacow write won't increase quota account, so unlike old behavior which does reserve before check nocow, now we check nocow first and then only reserve data if we can't do nocow write. Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>