Re: [PATCH 02/10] xfs: make xfs_file_aio_write_checks IOCB_NOWAIT-aware
From: Dave Chinner <david@fromorbit.com>
Date: 2021-01-12 22:43:51
Also in:
linux-fsdevel
From: Dave Chinner <david@fromorbit.com>
Date: 2021-01-12 22:43:51
Also in:
linux-fsdevel
On Tue, Jan 12, 2021 at 05:26:08PM +0100, Christoph Hellwig wrote:
Ensure we don't block on the iolock, or waiting for I/O in
xfs_file_aio_write_checks if the caller asked to avoid that.
Fixes: 29a5d29ec181 ("xfs: nowait aio support")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <redacted>
---
fs/xfs/xfs_file.c | 25 +++++++++++++++++++++----
1 file changed, 21 insertions(+), 4 deletions(-)LGTM Reviewed-by: Dave Chinner <redacted> -- Dave Chinner david@fromorbit.com