summaryrefslogtreecommitdiffstats
path: root/sound/firewire/lib.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2013-01-07 17:03:21 -0500
committerJosef Bacik <josef@toxicpanda.com>2013-01-14 13:52:52 -0500
commitf3fe820c20a1a36c790545184e734e78d61cd68d (patch)
tree852fcc814680ebcc272011dd4767222f5f8a3d88 /sound/firewire/lib.c
parent72bcd99d450cb1dde8bf13c3b65fc5883b2a3893 (diff)
downloadop-kernel-dev-f3fe820c20a1a36c790545184e734e78d61cd68d.zip
op-kernel-dev-f3fe820c20a1a36c790545184e734e78d61cd68d.tar.gz
Btrfs: add orphan before truncating pagecache
Running xfstests 83 in a loop would sometimes fail the fsck. This happens because if we invalidate a page that already has an ordered extent setup for it we will complete the ordered extent ourselves, assuming that the truncate will clean everything up. The problem with this is there is plenty of time for the truncate to fail after we've done this work. So to fix this we need to add the orphan item first to make sure the cleanup gets done properly, and then we can truncate the pagecache and all that stuff and be safe. This fixes the btrfsck failures I was seeing while running 83 in a loop. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Diffstat (limited to 'sound/firewire/lib.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud