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)
commit988ef927926aa3481cbf144f235c0cefd7deb9e4
tree4b008acb2648a7f200ac3fe47bd133d0b8d55d23
parent36f90b0a2ddd60823fe193a85e60ff1906c2a9b3
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