If we set BTRFS_INODE_NEEDS_FULL_SYNC, we should log all the extent,
but now we forget to take it into account, and set a wrong max key,
if so, we will skip the file extent metadata when doing logging. Fix it.
Signed-off-by: Miao Xie mi...@cn.fujitsu.com
---
fs/btrfs/tree-log.c |5 -
1
On Thu, Nov 01, 2012 at 03:35:23PM +0800, Miao Xie wrote:
If we set BTRFS_INODE_NEEDS_FULL_SYNC, we should log all the extent,
but now we forget to take it into account, and set a wrong max key,
if so, we will skip the file extent metadata when doing logging. Fix it.
But it's along with
On thu, 1 Nov 2012 17:21:12 +0800, Liu Bo wrote:
On Thu, Nov 01, 2012 at 03:35:23PM +0800, Miao Xie wrote:
If we set BTRFS_INODE_NEEDS_FULL_SYNC, we should log all the extent,
but now we forget to take it into account, and set a wrong max key,
if so, we will skip the file extent metadata