Subject: Re: wedges and DEV_BSIZE (Was Re: removing VOPs)
To: Jason Thorpe <thorpej@shagadelic.org>
From: Pavel Cahyna <pcah8322@artax.karlin.mff.cuni.cz>
List: tech-kern
Date: 10/11/2005 10:39:16
On Mon, Oct 10, 2005 at 08:49:48PM -0700, Jason Thorpe wrote:
> 
> On Oct 10, 2005, at 9:39 AM, Pavel Cahyna wrote:
> 
> >On Mon, 10 Oct 2005 08:39:51 -0700, Bill Studenmund wrote:
> >
> >>>devices
> >>>like DVD/CD+-(M)R(W) can't just do read-modify-write cycle to  
> >>>cope with
> >>>blocksizes smaller than the sector size.
> >>
> >>Our device drivers don't support read-modify-write operations now;  
> >>all
> >>reads and writes have to be a multiple of the underlying sector size.
> >
> >What about raidframe? Doesn't RAID5 require read-modify-write  
> >operations?
> 
> Only if the file system isn't doing stripe-aligned I/O

Thanks, that is what I thought.

Wouldn't it make sense if other drivers having larger sectors did the
same? Why can't DVD/CD+-(M)R(W) do read-modify-write?

Pavel Cahyna