losetup: support direct-IO to backing file
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Changes in v1 from the cover letter
- support to set direct IO for 'new' device, such as loseutp --direct-io 1 -f test.img
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | losetup: support ioctl cmd of LOOP_SET_DIRECT_IOinclude/ lib/ sys-utils/ | +45 | 0 replies | |
| 2/2 | losetup: support list direct ioinclude/ lib/ sys-utils/ | +30 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/2] losetup: support direct-IO to backing file
Hi,
The loop direct I/O patches[1] have been merged to linus kernel tree and will be released in v4.4.
So the two patches provide interfaces for using direct IO/AIO in losetup.
include/loopdev.h | 4 ++++ lib/loopdev.c | 40 ++++++++++++++++++++++++++++++++++++++++ sys-utils/losetup.c | 33 +++++++++++++++++++++++++++++++-- 3 files changed, 75 insertions(+), 2 deletions(-)
V1:
- support to set direct IO for 'new' device, such as loseutp --direct-io 1 -f test.img
Thanks,
Ming