]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: remove nonblocking mode from xfs_vm_writepage
authorDave Chinner <dchinner@redhat.com>
Mon, 15 Feb 2016 06:20:50 +0000 (17:20 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 15 Feb 2016 06:20:50 +0000 (17:20 +1100)
commit7c6548fcedc466b7eb7f3b581324f49d52367b35
tree4b008acb2648a7f200ac3fe47bd133d0b8d55d23
parent87769ffbad1a15e849b568d4bb3ecd9e274ee8b0
xfs: remove nonblocking mode from xfs_vm_writepage

Remove the nonblocking optimisation done for mapping lookups during
writeback. It's not clear that leaving a hole in the writeback range
just because we couldn't get a lock is really a win, as it makes us
do another small random IO later on rather than a large sequential
IO now.

As this gets in the way of sane error handling later on, just remove
for the moment and we can re-introduce an equivalent optimisation in
future if we see problems due to extent map lock contention.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_aops.c