linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Change zone cache format to use less memory
@ 2016-08-22  4:34 Shaun Tancheff
  2016-08-22  4:34 ` [PATCH 1/2] Move ZBC core setup to sd_zbc Shaun Tancheff
  2016-08-22  4:34 ` [PATCH 2/2] Migrate zone cache from RB-Tree to arrays of descriptors Shaun Tancheff
  0 siblings, 2 replies; 6+ messages in thread
From: Shaun Tancheff @ 2016-08-22  4:34 UTC (permalink / raw)
  To: linux-block, linux-scsi, linux-kernel
  Cc: Shaun Tancheff, Jens Axboe, Jens Axboe, Christoph Hellwig,
	James E . J . Bottomley, Martin K . Petersen, Damien Le Moal,
	Hannes Reinecke, Dan Williams, Sagi Grimberg, Mike Christie,
	Ming Lei, Josh Bingaman

Currently the RB-Tree zone cache is fast and flexible. It does
use a rather largish amount of ram. This model reduces the ram
required from 120 bytes per zone to 16 bytes per zone with a
moderate transformation of the blk_zone_lookup() api.

This model is predicated on the belief that most variations
on zoned media will follow a pattern of using collections of same
sized zones on a single device. Similar to the pattern of erase
blocks on flash devices being progressivly larger 16K, 64K, ...

The goal is to be able to build a descriptor which is both memory
efficient, performant, and flexible.

Shaun Tancheff (2):
  Move ZBC core setup to sd_zbc
  Migrate zone cache from RB-Tree to arrays of descriptors

 block/blk-core.c       |    2 +-
 block/blk-sysfs.c      |   31 +-
 block/blk-zoned.c      |  103 +++--
 drivers/scsi/sd.c      |   66 +--
 drivers/scsi/sd.h      |   20 +-
 drivers/scsi/sd_zbc.c  | 1037 +++++++++++++++++++++++++++++-------------------
 include/linux/blkdev.h |   82 +++-
 7 files changed, 759 insertions(+), 582 deletions(-)

-- 
2.9.3

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

end of thread, other threads:[~2016-08-22 15:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-22  4:34 [PATCH 0/2] Change zone cache format to use less memory Shaun Tancheff
2016-08-22  4:34 ` [PATCH 1/2] Move ZBC core setup to sd_zbc Shaun Tancheff
2016-08-22  4:34 ` [PATCH 2/2] Migrate zone cache from RB-Tree to arrays of descriptors Shaun Tancheff
2016-08-22  5:25   ` Shaun Tancheff
2016-08-22  7:11   ` Hannes Reinecke
2016-08-22 15:43     ` Shaun Tancheff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).