lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1427012095-4095-1-git-send-email-ming.lei@canonical.com>
Date:	Sun, 22 Mar 2015 16:14:51 +0800
From:	Ming Lei <ming.lei@...onical.com>
To:	Jens Axboe <axboe@...com>, linux-kernel@...r.kernel.org
Cc:	Christoph Hellwig <hch@....de>, Al Viro <viro@...iv.linux.org.uk>,
	Maxim Patlasov <mpatlasov@...allels.com>
Subject: [PATCH 0/3] block: loop: switch to VFS ITER_BVEC 

This patchset uses VFS ITER_BVEC for reading/writing
loop backing file, and basically it is a rewriting of
Christoph Hellwig's post in [1].

With this change, loop code becomes much cleaner than before,
and it is also a simplication for reading/writing backing file
inside kernel.

Another benifit is that one extra page copy is avoided for
READ in case of none_transfer. 

This patchset passes xfstest test(ext4, -g auto) over loop block
devices. 

The patch 3/3 depends a bit on Christoph's kiocb split patches
which have been in -next for a while, so tree dependency(not build
depend, just behaviour depend) should be considered if it is to
be merged to 4.0. 

The next step is to add AIO/O_DIRECT support for reading/writing
backing file against this patchset if no one objects, so that double
cache can be avoided.

[1], loop: convert to vfs_bvec_write
http://marc.info/?l=linux-fsdevel&m=142159370107007&w=2

[2], kiocb split patchset
http://marc.info/?t=142238145800004&r=1&w=2

Thanks,
Ming Lei

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ