Re: [PATCH v4] sd: Ignore sync cache failures when not supported

2017-05-16 Thread Martin K. Petersen
Thierry, > Some external hard drives don't support the sync command even though > the hard drive has write cache enabled. In this case, upon suspend > request, sync cache failures are ignored if the error code in the > sense header is ILLEGAL_REQUEST. There's not much we can do for these >

Re: [PATCH v4] sd: Ignore sync cache failures when not supported

2017-05-16 Thread Martin K. Petersen
Thierry, > Some external hard drives don't support the sync command even though > the hard drive has write cache enabled. In this case, upon suspend > request, sync cache failures are ignored if the error code in the > sense header is ILLEGAL_REQUEST. There's not much we can do for these >

Re: [PATCH v4] sd: Ignore sync cache failures when not supported

2017-05-11 Thread Ewan D. Milne
On Thu, 2017-05-11 at 14:34 +0200, Thierry Escande wrote: > From: Derek Basehore > > Some external hard drives don't support the sync command even though the > hard drive has write cache enabled. In this case, upon suspend request, > sync cache failures are ignored if the

Re: [PATCH v4] sd: Ignore sync cache failures when not supported

2017-05-11 Thread Ewan D. Milne
On Thu, 2017-05-11 at 14:34 +0200, Thierry Escande wrote: > From: Derek Basehore > > Some external hard drives don't support the sync command even though the > hard drive has write cache enabled. In this case, upon suspend request, > sync cache failures are ignored if the error code in the sense

[PATCH v4] sd: Ignore sync cache failures when not supported

2017-05-11 Thread Thierry Escande
From: Derek Basehore Some external hard drives don't support the sync command even though the hard drive has write cache enabled. In this case, upon suspend request, sync cache failures are ignored if the error code in the sense header is ILLEGAL_REQUEST. There's not much

[PATCH v4] sd: Ignore sync cache failures when not supported

2017-05-11 Thread Thierry Escande
From: Derek Basehore Some external hard drives don't support the sync command even though the hard drive has write cache enabled. In this case, upon suspend request, sync cache failures are ignored if the error code in the sense header is ILLEGAL_REQUEST. There's not much we can do for these