diff options
| author | David Howells <[email protected]> | 2023-10-11 14:34:07 +0000 |
|---|---|---|
| committer | David Howells <[email protected]> | 2023-12-24 15:08:52 +0000 |
| commit | 46ed60dcd4f2c94d27735743ce55cd8d6b93cc1d (patch) | |
| tree | df301bcb6bd4bdf33b46ba46499353f83753c4df /fs/netfs/buffered_read.c | |
| parent | netfs: Provide invalidate_folio and release_folio calls (diff) | |
| download | kernel-46ed60dcd4f2c94d27735743ce55cd8d6b93cc1d.tar.gz kernel-46ed60dcd4f2c94d27735743ce55cd8d6b93cc1d.zip | |
netfs: Implement unbuffered/DIO vs buffered I/O locking
Borrow NFS's direct-vs-buffered I/O locking into netfslib. Similar code is
also used in ceph.
Modify it to have the correct checker annotations for i_rwsem lock
acquisition/release and to return -ERESTARTSYS if waits are interrupted.
Signed-off-by: David Howells <[email protected]>
Reviewed-by: Jeff Layton <[email protected]>
cc: [email protected]
cc: [email protected]
cc: [email protected]
Diffstat (limited to 'fs/netfs/buffered_read.c')
0 files changed, 0 insertions, 0 deletions
