Re: fr1 with iSCSI on 2.6.11?

[email protected] (Peter T. Breuer)
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
Carlos Knowlton <[email protected]> wrote:
> 1.  Do you have any plans to update the fr1 patch for the 2.6 kernels to 
> patch cleanly with 2.6.11?  I get some success, but lots of "hunk 
> failed" messages from "patch -p0 < ./fr1_2.6_patch_file_name.patch".

Well, that would likely result in something of dubious parentage, since
it is "-p1" that is used by convention, and the patch is constructed to
be used that way, from within the linux source directory.

Last I heard, the 2.6.8.1 patch applied fairly well to 2.6.11  ... I
certainly have the 2.6.11 code hanging around that I could try it on.

> 2.  Do you see any problem with using fr1 to mirror other network block 
> device drivers, say, iSCSI for instance?

Well, they ideally need to have support for the

BLKMDNTFY
BLKMDUNTFY
BLKMDRGTR

ioctls added.

The first two are advisories about being included or removed from a raid
array, allowing the driver to change its settings to suit it better (in
the case of enbd, it switches to showing all errors and not blocking on
network disconnect).

The third passes the address of a callback function that accepts the
HOT_ADD_DISK and SET_DISK_FAULTY args, to allow the driver to announce
that it is respectively ell again and/or ill again up to the raid
device.

Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.