[ENBD] Re: the files of ENBD

Peter T. Breuer ptb@it.uc3m.es
Tue, 24 Oct 2000 19:31:15 +0200 (MET DST)


Wang Gang wrote:
> Thank you very much!  I am in list, so you needn't send e-mail to me
> directly any longer.  I'am glad to make the patch.  I didn't family with

Sorry. I didn't see this till later. Using attachments makes it
difficult (for me).

> /proc filesystem and module parameter, furthermore I think "raid mode"
> should be per device.  So I think the method described in your first
> e-mail(add a ioctl command to set it per device) is better, how do you
> think?

I agree.  If you can add a further patch to do that, I would be very
grateful.  The driver is already set up for you to change lo->flags &
NBD_SHOW_ERRS in a new ioctl of your choosing.  It will be noticed per
device (unless the global show_errs is already set, in which case all
devices will be already acting as though in RAID mode).

Peter