Skip to content

losetup: support direct-IO to backing file

Ming Lei util-linux 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

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 filesSizeRepliesApplied
1/2losetup: support ioctl cmd of LOOP_SET_DIRECT_IOinclude/loopdev.h lib/loopdev.c sys-utils/losetup.c+45 -20 replies
2/2losetup: support list direct ioinclude/loopdev.h lib/loopdev.c sys-utils/losetup.c+30 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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(-)

[1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=bc07c10a3603a5ab3ef01ba42b3d41f9ac63d1b6

V1:

	- support to set direct IO for 'new' device, such as 
		loseutp --direct-io 1 -f test.img

Thanks,
Ming