RE: [PATCH v1 1/3] scsi: core: allow auto suspend override by low-level driver

2019-09-11 Thread Stanley Chu
Hi Avri, > > diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index > > 149d406aacc9..2218d57c4c0c 100644 > > --- a/drivers/scsi/sd.c > > +++ b/drivers/scsi/sd.c > > @@ -3371,6 +3371,9 @@ static int sd_probe(struct device *dev) > > } > > > > blk_pm_runtime_init(sdp->request_queu

RE: [PATCH v1 1/3] scsi: core: allow auto suspend override by low-level driver

2019-09-11 Thread Avri Altman
> > Rework from previous work by: > Sujit Reddy Thumma > > Until now the scsi mid-layer forbids runtime suspend till userspace enables > it. > This is mainly to quarantine some disks with broken runtime power > management or have high latencies executing suspend resume callbacks. If > the users