]> 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)
commitc286b4161773883f0e50904e033943a8b848030a
tree4b008acb2648a7f200ac3fe47bd133d0b8d55d23
parent4647c720fd42a03c69c68c022db398388a8936d5
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