Darren J Moffat wrote:
> With the updated name I have only one possible small issue.
>
> You said the driver is hardcoded to 512 byte blocks, yet the industry 
> is moving towards 4k blocks.  Is that likely to be an issue for 
> devices driven by 'blkdev' ?

I don't think so.  If the application (or other code) issues smaller 
I/Os, the underlying driver will have to implement as RMW.   If the 
filesystem or app code uses 4K aligned and sized buffers, then there 
won't be a need to do RMW.

We might need to change the code slightly to express the 4K size in the 
various ioctls, but that can happen latter when I run into such a 
device.  (The current devices supported by this device driver all use 
512 byte blocks.)

    - Garrett
>
> -- 
> Darren J Moffat

Reply via email to