Re: Issuing custom IOCTLs to SCSI LLD

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

 



Christoph Hellwig <hch <at> infradead.org> writes:

> 
> Short answer is: don't do it.  Use the SES interface for your example,
> or ensure a proper API exists if the example was just made up.
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo <at> vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

Thanks Christoph. Power cycling of drive was an example of how some of the 
management IOCTLs provided by the SCSI LLD driver could be used. So your 
suggestion is dont' use ceph for this purpose(though its possible) but 
write or use an existing utility(if HBA vendor provides one) that issues 
IOCTLs to the SCSI/SAS LLD HBA driver directly? 

Related question is if a device like /dev/sda[1..n] is assigned a OSD and 
is being used by ceph can another user application continue to open and 
read/write to the /dev/sda1 device directly. How ceph prevents such 
scenarios?

thanks,
Naveen




--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux