Re: [PATCH 7/8] SCSI: add a field to scsi_device to count open file references

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

 



On Wed, 5 Mar 2008, Stefan Richter wrote:

> Alan Stern wrote:
> > This patch (as1050b) adds two new methods to the SCSI host template
> > structure.  These methods are called to notify lower-level drivers
> > when a block device below one of their hosts has been opened or
> > released.
> 
> I like it and would make use of it in sbp2.
> 
> sg, st, ch could be callers as well, but I suppose you don't really need 
> them.  And for me, sd and sr already cover 99.9% of the use cases.

Those drivers don't export a block-device interface, do they?  So you 
can't mount a filesystem on a device they control.

Alan Stern

--
To unsubscribe from this list: 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