diff options
author | Christoph Hellwig <[email protected]> | 2016-10-20 15:44:14 +1100 |
---|---|---|
committer | Dave Chinner <[email protected]> | 2016-10-20 15:44:14 +1100 |
commit | 0ee7a3f6b5b2f22bb69bfc6c60d0ea0777003098 (patch) | |
tree | 278d0568b458b31cda20fdafd0c60745b69a34c6 /net/unix/sysctl_net_unix.c | |
parent | f1b8243c55ca6fd2a3898e2f586b8cfcfff684bb (diff) |
xfs: don't take the IOLOCK exclusive for direct I/O page invalidation
XFS historically took the iolock exclusive when invalidating pages
before direct I/O operations to protect against writeback starvations.
But this writeback starvation issues has been fixed a long time ago
in the core writeback code, and all other file systems manage to do
without the exclusive lock. Convert XFS over to avoid the exclusive
lock in this case, and also move to range invalidations like done
by the other file systems.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Reviewed-by: Carlos Maiolino <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions