summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/scrub.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2013-01-30 14:17:31 -0500
committerJosef Bacik <jbacik@fusionio.com>2013-02-05 16:09:14 -0500
commit5d1f40202bad12d4c70a2d40a420b30d23a72b1a (patch)
tree131c687a9c4dca34d91a98382d876536de28aae6 /fs/btrfs/scrub.c
parent6f1c36055f96e80031c7fdda3fd5be826b8d7782 (diff)
downloadop-kernel-dev-5d1f40202bad12d4c70a2d40a420b30d23a72b1a.zip
op-kernel-dev-5d1f40202bad12d4c70a2d40a420b30d23a72b1a.tar.gz
Btrfs: fix missing i_size update
If we have an ordered extent before the ordered extent we are currently completing that is after the current disk_i_size we will put our i_size update into that ordered extent so that we do not expose stale data. The problem is that if our disk i_size is updated past the previous ordered extent we won't update the i_size with the pending i_size update. So check the pending i_size update and if its above the current disk i_size we need to go ahead and try to update. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'fs/btrfs/scrub.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud