diff options
author | Jens Axboe <[email protected]> | 2023-03-07 17:56:28 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-04-25 14:08:59 -0600 |
commit | afed6271f5b0d78ca1a3739c1da4aa3629b26bba (patch) | |
tree | 33691f325a88cedf1241a01e02522ee0f4c1096b /lib/mpi/mpi-mul.c | |
parent | 0f99fc513ddd28de155c58547824a9fd63daacea (diff) |
pipe: set FMODE_NOWAIT on pipes
Pipes themselves do not hold the the pipe lock across IO, and hence are
safe for RWF_NOWAIT/IOCB_NOWAIT usage. The "contract" for NOWAIT is
really "should not do IO under this lock", not strictly that we cannot
block or that the below code is in any way atomic. Pipes fulfil that
criteria.
Acked-by: Dave Chinner <[email protected]>
Reviewed-by: Christian Brauner <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions