]> www.infradead.org Git - users/jedix/linux-maple.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)
committerBrian Maly <brian.maly@oracle.com>
Wed, 18 Jul 2018 00:08:54 +0000 (20:08 -0400)
commit6e2de7d4578d4f6ae76979286de5c5ee8e91754a
tree2a2d3da8d47b89da30e97b927eb9bc389d29abeb
parentababc94bcce0410868da03719b4e9ef79c5da603
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>
(cherry picked from commit 988ef927926aa3481cbf144f235c0cefd7deb9e4)

Orabug: 28193043

Signed-off-by: Shan Hai <shan.hai@oracle.com>
Reviewed-by: Darren Kenny <darren.kenny@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
fs/xfs/xfs_aops.c