1 Feb 2003 01:11
Re: DEV_B_SIZE
Bill Studenmund <wrstuden <at> netbsd.org>
2003-02-01 00:11:29 GMT
2003-02-01 00:11:29 GMT
On Fri, 31 Jan 2003, Steve Byan wrote: > I keep getting a response that reads like "we'll detect the larger > block size and run with it". I'm concerned that I'm not being clear > that IDEMA is thinking of proposing a backward-compatibility mode with > the presumption that it will work fine (albeit slowly) with existing > binaries, i.e. code that hasn't been modified to be aware of the larger > block size. > > If you think there are no functional problems with this > backwards-compatibility scenario, including during recovery (fsck or > journal roll-forward), I'd be happy to hear a clear "no problem". I think Stephan Uphof hit on the main issues. I think there are functional problems with this, but that it may be usefull in some situations. It just needs a BIG warning. Note I am assuming that if there's an error writing a 512-byte sector the full 4k sector will have issues. If that is avoided (say only the 512-byte area actually has an issue) then things are fine. I think the main place that problems will arrise is that methods to reduce error exposure won't necessarily work. Methods that try to resist single- sector errors, say by making multiple copies of data, will need to know that the single-sector error size (how much data goes away) is 4k, not 512 bytes. Exactly how may programs use these methods is not something I know, so I can't tell you exactly what the exposure is. The fact that the errors from a 4k re-write failing are not unheard of isn't the issie. phk is right that that just looks like multiple sectors(Continue reading)
.
> More generally, what impact would this have on existing RAID
> implementations, hardware or software? This is a potentially more
> damaging impact than filesystem semantics.
The real question is sector sparing, when it comes to that, and
whether it's on 4K boundaries or not, etc.. For the most part,
RAID that does parity should not care, but RAID 0 and 1 may be
a problem during a power failure, unless PHK's issue about the
you could lock the ATA bus
a few times a day and they'd just reset and continue.
RSS Feed