Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | netfs: Implement unbuffered/DIO vs buffered I/O locking | David Howells | 2023-12-24 | 1 | -0/+216 |
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 <dhowells@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> cc: linux-cachefs@redhat.com cc: linux-fsdevel@vger.kernel.org cc: linux-mm@kvack.org |