]> Git Repo - linux.git/commit - fs/orangefs/file.c
orangefs: migrate to generic_file_read_iter
authorMartin Brandenburg <[email protected]>
Fri, 16 Feb 2018 20:51:24 +0000 (20:51 +0000)
committerMike Marshall <[email protected]>
Fri, 3 May 2019 18:32:38 +0000 (14:32 -0400)
commitc453dcfc79815760071bd9a7805d4b809fec05cf
tree69caa47318f5e229f894c4c0bd62665552b754ee
parent0dcac0f7812b2c09ed018a5eba91448a37f1b71b
orangefs: migrate to generic_file_read_iter

Remove orangefs_inode_read.  It was used by readpage.  Calling
wait_for_direct_io directly serves the purpose just as well.  There is
now no check of the bufmap size in the readpage path.  There are already
other places the bufmap size is assumed to be greater than PAGE_SIZE.

Important to call truncate_inode_pages now in the write path so a
subsequent read sees the new data.

Signed-off-by: Martin Brandenburg <[email protected]>
Signed-off-by: Mike Marshall <[email protected]>
fs/orangefs/file.c
fs/orangefs/inode.c
fs/orangefs/orangefs-kernel.h
This page took 0.05351 seconds and 4 git commands to generate.