Skip to content
Snippets Groups Projects
user avatar
Matthew Wilcox authored
If a block device supports the ->direct_access methods, bypass the normal
DIO path and use DAX to go straight to memcpy() instead of allocating
a DIO and a BIO.

Includes support for the DIO_SKIP_DIO_COUNT flag in DAX, as is done in
do_blockdev_direct_IO().

Signed-off-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
bbab37dd
History
Name Last commit Last update