diff options
| author | Mark Harmstone <[email protected]> | 2024-10-22 14:50:18 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2024-11-11 13:34:21 +0000 |
| commit | 973a432637ed2ed8fe7c365a3ce7a9e4463af5a8 (patch) | |
| tree | 4a810232f4836a5733e5c2813053dba2b5ef272b /fs/btrfs/btrfs_inode.h | |
| parent | btrfs: change btrfs_encoded_read() so that reading of extent is done by caller (diff) | |
| download | kernel-973a432637ed2ed8fe7c365a3ce7a9e4463af5a8.tar.gz kernel-973a432637ed2ed8fe7c365a3ce7a9e4463af5a8.zip | |
btrfs: don't sleep in btrfs_encoded_read() if IOCB_NOWAIT is set
Change btrfs_encoded_read() so that it returns -EAGAIN rather than sleeps
if IOCB_NOWAIT is set in iocb->ki_flags. The conditions that require
sleeping are: inode lock, writeback, extent lock, ordered range.
Signed-off-by: Mark Harmstone <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
0 files changed, 0 insertions, 0 deletions
