Util-Linux package development
 help / color / mirror / Atom feed
From: Ming Lei <tom.leiming@gmail.com>
To: util-linux@vger.kernel.org
Subject: [PATCH v1 0/2] losetup: support direct-IO to backing file
Date: Tue, 17 Nov 2015 22:32:46 +0800	[thread overview]
Message-ID: <1447770768-15358-1-git-send-email-tom.leiming@gmail.com> (raw)

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


             reply	other threads:[~2015-11-17 14:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-17 14:32 Ming Lei [this message]
2015-11-17 14:32 ` [PATCH v1 1/2] losetup: support ioctl cmd of LOOP_SET_DIRECT_IO Ming Lei
2015-11-17 14:32 ` [PATCH v1 2/2] losetup: support list direct io Ming Lei
2015-11-19 11:04 ` [PATCH v1 0/2] losetup: support direct-IO to backing file Karel Zak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1447770768-15358-1-git-send-email-tom.leiming@gmail.com \
    --to=tom.leiming@gmail.com \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox