Re: thin provisioned LUN support & file system allocation policy

James Bottomley
2008-11-07T16:12:15Z

On Fri, 2008-11-07 at 11:07 -0500, jim owens wrote:
> We have become confused and combined 2 independent issues...
>
> UNMAP thin storage array provisioning is not SSD TRIM.

Actually, currently they are.

The primary reason is that we handle current SATA devices through SCSI
via SAT, so we're going to have to do UNMAP for both arrays and SSDs
until such time as SATA is ejected from the SCSI mid-layer and it can do
trim on its own.

The other reason, of course, is that we're mapping the Block layer
discard statement for both as well. If that needs to change to two
separate instructions, I don't think that's on our current radar.

So, currently we're approaching this problem as one and I don't see any
way we could logically separate the two cases (except by distinguishing
between them with device parametrisation).

James