[DRBD-user] Re: [DRBD-dev] RFC: fail IO-req for != Primary

Lars Ellenberg Lars.Ellenberg at linbit.com
Mon Jan 12 12:01:23 CET 2004

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


/ 2004-01-12 11:03:32 +0100
\ Lars Marowsky-Bree:
> On 2003-12-31T17:46:12,
>    Lars Ellenberg <l.g.e at web.de> said:
> 
> > to avoid the common case where people think drbd is HA-filesharing:
> > fail IO requests unless Primary
> > syslogd in the default setting most often does a wall for KERN_EMERG.
> > KERN_ALERT might be good enough, too.
> 
> Pretty please! Yes! ;-) This is very important. Failing IO requests on
> the secondary is very helpful and will confuse users much less than the
> current state.
> 
> > Is this acceptable?
> 
> Yes. But I'd only add it to 0.7 and not introduce new code into 0.6...

> This is good, but failing the device opening first would be even better?

as long as we configure with ioctl, we need to be able to open it
:)

thats why kernel gurus don't like using the ioctl interface to
configure a device ...

	Lars Ellenberg



More information about the drbd-user mailing list