Re: [PATCH] Suppress a kernel warning in case the prep function returns BLKPREP_DEFER

2017-10-23 Thread Martin K. Petersen
Bart, > This patch avoids that the following warning is triggered when using > the legacy block layer: Applied to 4.14/scsi-fixes. Thank you! -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] Suppress a kernel warning in case the prep function returns BLKPREP_DEFER

2017-10-23 Thread Johannes Thumshirn
Looks good, Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG N

Re: [PATCH] Suppress a kernel warning in case the prep function returns BLKPREP_DEFER

2017-10-22 Thread Martin K. Petersen
Bart, > if others agree with this patch, can it be queued for kernel v4.14? Yep, I'll take a look later. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH] Suppress a kernel warning in case the prep function returns BLKPREP_DEFER

2017-10-22 Thread Bart Van Assche
On Mon, 2017-10-23 at 07:45 +0200, Damien Le Moal wrote: > On 10/20/17 20:46, Bart Van Assche wrote: > > [ ... ] > > This patch avoids that the following warning is triggered when using > > the legacy block layer: > > [ ... ] > > Reviewed-by: Damien Le Moal Martin, if others agree with this patc

Re: [PATCH] Suppress a kernel warning in case the prep function returns BLKPREP_DEFER

2017-10-22 Thread Damien Le Moal
On 10/20/17 20:46, Bart Van Assche wrote: > The legacy block layer handles requests as follows: > - If the prep function returns BLKPREP_OK, let blk_peek_request() > return the pointer to that request. > - If the prep function returns BLKPREP_DEFER, keep the RQF_STARTED > flag and retry calling

[PATCH] Suppress a kernel warning in case the prep function returns BLKPREP_DEFER

2017-10-20 Thread Bart Van Assche
The legacy block layer handles requests as follows: - If the prep function returns BLKPREP_OK, let blk_peek_request() return the pointer to that request. - If the prep function returns BLKPREP_DEFER, keep the RQF_STARTED flag and retry calling the prep function later. - If the prep function ret