Re: 2.6.22-rc3 hibernate(?) fails totally - regression (xfs on raid6)

Jeff Garzik
2007-06-13T21:57:47Z

Linus Torvalds wrote:
> Ok, good. So the bug is apparently in the generic SCSI layer start/stop
> handling. I'm not entirely surprised, most people would never have
> triggered it (I _think_ it's disabled by default for all devices, and that
> the libata-scsi.c change was literally the first thing to ever enable it
> by default for anything!)

I haven't looked at this yet, but wanted to confirm your assessment
here: libata was indeed the first (and still only?) user of this code path.

Since some SCSI devices may not be owned by the host computer, in the
power management sense, we don't want to turn that on for all SCSI
devices. Otherwise you wind up powering off a device in another building :)

This is basically the libata suspend/resume path, even though bits touch
generic SCSI.

Jeff