summaryrefslogtreecommitdiffstats
path: root/mm/page_io.c
diff options
context:
space:
mode:
authorMatthew Wilcox2014-06-05 01:07:46 +0200
committerLinus Torvalds2014-06-05 01:54:02 +0200
commit47a191fd38ebddb1bd1510ec2bc1085c578c8868 (patch)
tree5c65289e7195f4ecd445b2b55e8d44cfa7e7ea00 /mm/page_io.c
parentfs/mpage.c: factor page_endio() out of mpage_end_io() (diff)
downloadkernel-qcow2-linux-47a191fd38ebddb1bd1510ec2bc1085c578c8868.tar.gz
kernel-qcow2-linux-47a191fd38ebddb1bd1510ec2bc1085c578c8868.tar.xz
kernel-qcow2-linux-47a191fd38ebddb1bd1510ec2bc1085c578c8868.zip
fs/block_dev.c: add bdev_read_page() and bdev_write_page()
A block device driver may choose to provide a rw_page operation. These will be called when the filesystem is attempting to do page sized I/O to page cache pages (ie not for direct I/O). This does preclude I/Os that are larger than page size, so this may only be a performance gain for some devices. Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com> Tested-by: Dheeraj Reddy <dheeraj.reddy@intel.com> Cc: Dave Chinner <david@fromorbit.com> Cc: Hugh Dickins <hughd@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_io.c')
0 files changed, 0 insertions, 0 deletions