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]
Date:	Thu, 20 Feb 2014 14:48:49 +0100
From:	Hannes Reinecke <hare@...e.de>
To:	Theodore Tso <tytso@....edu>
Cc:	linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
	Alexander Graf <agraf@...e.de>, Jens Axboe <axboe@...nel.dk>,
	Hannes Reinecke <hare@...e.de>
Subject: [PATCH 0/2] loop: support different blocksizes

Hi all,

the loop device already contains rudimentary support for blocksizes
other than 512 bytes, so this patchset enables the loop device
to use a different blocksize.
The new module parameter 'lbs' specify the blocksize to use,
or '0' to use the blocksize of the underlying device (which defaults
to PAGE_SIZE for files).
Eventually it might be useful to select the blocksize per device, but
the interface for that will need to be discussed.

Hannes Reinecke (2):
  loop: Display correct physical blocksize
  loop: Add module parameter 'lbs' to set logical blocksize

 drivers/block/loop.c | 65 ++++++++++++++++++++++++++++++++++++++--------------
 drivers/block/loop.h |  1 +
 2 files changed, 49 insertions(+), 17 deletions(-)

-- 
1.7.12.4

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