mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] loop: support different blocksizes
@ 2014-02-20 13:48 Hannes Reinecke
  2014-02-20 13:48 ` [PATCH 1/2] loop: Display correct physical blocksize Hannes Reinecke
  2014-02-20 13:48 ` [PATCH 2/2] loop: Add module parameter 'lbs' to set logical blocksize Hannes Reinecke
  0 siblings, 2 replies; 3+ messages in thread
From: Hannes Reinecke @ 2014-02-20 13:48 UTC (permalink / raw)
  To: Theodore Tso
  Cc: linux-kernel, linux-fsdevel, Alexander Graf, Jens Axboe, Hannes Reinecke

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-20 13:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-20 13:48 [PATCH 0/2] loop: support different blocksizes Hannes Reinecke
2014-02-20 13:48 ` [PATCH 1/2] loop: Display correct physical blocksize Hannes Reinecke
2014-02-20 13:48 ` [PATCH 2/2] loop: Add module parameter 'lbs' to set logical blocksize Hannes Reinecke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®