At Tue, 21 May 2013 22:08:36 +0900, MORITA Kazutaka wrote: > > At Tue, 21 May 2013 21:00:51 +0800, > Liu Yuan wrote: > > > > On 05/21/2013 08:58 PM, MORITA Kazutaka wrote: > > > How do we deal with write? Do we fill zero to the rest of the buffer > > > when the length is not sector aligned? > > > > Yeah, I think so. > > Okay, it looks good to me. On the second thought, I think we need to do read-modify-write for sub-sector writes as Joseph said. Otherwise, the write request discards data in the rest of the sector. Thanks, Kazutaka |