Re: [PATCH 3/8] aacraid: handle AIF hotplug events

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

 



On Mon, Sep 12, 2005 at 07:10:05AM -0400, Salyzyn, Mark wrote:
> Christoph Hellwig [mailto:hch@xxxxxxxxxxxxx] writes:
>  
> >> +			if (busy == 0) {
> >> +				device->removable = 1;
> > devce->removeable means the device has a removable medium, not that
> > it can go away.
> 
> It also means that the capacity can change. The SCSI subsystem will
> cache the partition table and capacity for the device if this is not

please submit a patch to split ->removable into one flag for removal dervices
and one for those that allow underlying volume changes.

Usage of ->removable as-is is defintelitly wrong.
-
: 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