LBA Range handling
Kong, Kwok
Kwok.Kong at idt.com
Wed Nov 23 16:47:20 EST 2011
>> When a SSD is brand new, the LBA range type is going to be "Reserved"
>> as it has never been used.
>
>umm ... it is? We should probably get the committee to change that
type 0 from Reserved (which means you can't use >it) to 'Unspecified'
>or something ...
I agree.
>> Do you see any problem with this algorithms ?
>
>Yes. If the type of the LBA range is 'page cache', for example, then
it needs to be exported to the OS in order for >the OS to use it. Also,
I think you have the sense of the hidden bit wrong. The only change I'd
make to my current >algorithm is that we should probably obey the
read-only bit.
>
>Also, I don't know how to handle multiple LBA range types yet ... they
ought to be handled through the Linux partition >mechanism, but it
doesn't have any concept of devices providing their own partitioning
scheme yet.
Actually, I am not sure how do use the LBA range. Who should set the
LBA Range ? Should it be the driver or the application ? What should
the driver behave if the type is 'page cache', 'RAID', 'Reserved' or
'FILESYSTEM' ?
How are we supposed to use the LBA range ?
Thanks
-Kwok
More information about the Linux-nvme
mailing list