Re: [PATCH] scsi: sd: Use info prints if no write cache

2018-09-25 Thread Martin K. Petersen
Per, >>We have it at error level because many consumer devices lie about >>having caches and we would like the users to know that their data >>integrity may be at risk. > > There are users that get confused by these errors thinking something > is broken. Something is broken: Their hardware! >

Re: [PATCH] scsi: sd: Use info prints if no write cache

2018-09-21 Thread Per Förlin
Thanks for your reponse and feedback, >> If the disk has no write cache the following errors are being logged. >> * sd 1:0:0:0: [sdb] No Caching mode page found >> * sd 1:0:0:0: [sdb] Assuming drive cache: write through >> >> Lower the severity from error to info. >> The absence of a write cache s

Re: [PATCH] scsi: sd: Use info prints if no write cache

2018-09-20 Thread Martin K. Petersen
Per, > If the disk has no write cache the following errors are being logged. > * sd 1:0:0:0: [sdb] No Caching mode page found > * sd 1:0:0:0: [sdb] Assuming drive cache: write through > > Lower the severity from error to info. > The absence of a write cache should not be treated as an error. > T