public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* Thin provisioning update
@ 2009-11-04  4:25 Martin K. Petersen
  2009-11-04  4:25 ` [PATCH 1/2] block: Expose discard granularity Martin K. Petersen
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Martin K. Petersen @ 2009-11-04  4:25 UTC (permalink / raw)
  To: hch, axboe, matthew, linux-scsi

Christoph,

Here are some more recent bits for you to tinker with.

The first patch exports unmap granularity and alignment up the stack.  I have
also implemented support for topology stacking of these parameters.  A reported
discard granularity of 0 means fully provisioned.

In the second patch I made a few changes to the TP detection and extraction of
VPD values.

I have been hunting for heuristics for the WRITE SAME case but haven't found any
good ones.  I'm thinking we probably want to distinguish between a real array
with NV-backed unmap queueing and a thinly provisioned disk on a virtualization
server where there might be a real impact from having to zero out partial blocks.
I guess that's easy to handle with virtio but I'm not so sure how to do it when
emulating a SCSI disk.



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

end of thread, other threads:[~2009-11-10 23:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-04  4:25 Thin provisioning update Martin K. Petersen
2009-11-04  4:25 ` [PATCH 1/2] block: Expose discard granularity Martin K. Petersen
2009-11-04  4:25 ` [PATCH 2/2] sd: WRITE SAME(16) / UNMAP support Martin K. Petersen
2009-11-09 14:20 ` Thin provisioning update Christoph Hellwig
2009-11-09 19:34   ` Christoph Hellwig
2009-11-10  5:37     ` Martin K. Petersen
2009-11-10 10:51       ` Jens Axboe
2009-11-10 13:16       ` Christoph Hellwig
2009-11-10 18:58         ` Martin K. Petersen
2009-11-10 19:10           ` James Bottomley
2009-11-10 23:06             ` Martin K. Petersen

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