SG_SCSI_RESET ioctl reset escalation

2014-10-13 Thread Elliott, Robert (Server Storage)
Currently, if you request a reset through ioctl and it fails, the kernel escalates like it does for scsi_abort_eh_cmnd: bus device reset -> target reset -> bus reset -> host reset This is from scsi_error.c scsi_ioctl_r

Re: SG_SCSI_RESET ioctl reset escalation

2014-10-14 Thread Christoph Hellwig
On Mon, Oct 13, 2014 at 10:24:01PM +, Elliott, Robert (Server Storage) wrote: > Those stronger reset levels affect multiple devices, > which may or may not be desired. > > sg-reset includes a --no-esc option to ask the kernel > to not escalate resets, based on a February 2013 thread, > but th