Re: NBD (vs. iSCSI vs. EATA vs...) (fwd)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all

On Sun, 29 May 2005, Guennadi Liakhovetski wrote:

> On Sat, 28 May 2005, James Bottomley wrote:
> 
> > Before you go any further, I suggest you think about what an ioctl is
> > and why we're going through a process of trying to get rid of them in
> > the kernel:  They're structured streams of information, where the
> > structure is architecture and 64/32 bit dependent (look at all the
> > issues over compat ioctls).  Inherently these things will be incredibly

I haven't given up, I just have little time:-)

Let me just see, if my current understanding is nearer to what was 
suggested by James B.:

Get ide-cd (ATAPI command generator) and cdrom (ioctl translator) drivers 
work with nbd by emulating an ATAPI CD-ROM. You would have to explain 
users why they need the ide cdrom driver even when they are connecting to 
a quite different target...

I would add - make this a configuration option, since not all (embedded) 
systems might want to compile and load ide-cd and cdrom drivers just to be 
able to use nbd, if they only need a network-exported hd.

Still a question - when to do open / close on the server: on start / stop 
(disconnect) - not nice, from open / close on client, on lockdoor() 
GPCMD_PREVENT_ALLOW_MEDIUM_REMOVAL commands? My guess would still be from 
client open / close, because then you can pass flags / return code. Not 
sure how easy it is to do this 64bit clean?

Thanks
Guennadi
---
Guennadi Liakhovetski

-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux