Re: [PATCH BUGFIX 2/3] null_blk: guarantee device restart in all irq modes

2015-11-03 Thread Paolo Valente
Il giorno 02/nov/2015, alle ore 17:25, Jens Axboe ha scritto: > On 11/02/2015 07:31 AM, Paolo Valente wrote: >> From: Arianna Avanzini >> >> In single-queue (block layer) mode,the function null_rq_prep_fn stops >> the device if alloc_cmd fails. Then, once stopped, the device must be >> restart

Re: [PATCH BUGFIX 2/3] null_blk: guarantee device restart in all irq modes

2015-11-02 Thread Jens Axboe
On 11/02/2015 07:31 AM, Paolo Valente wrote: From: Arianna Avanzini In single-queue (block layer) mode,the function null_rq_prep_fn stops the device if alloc_cmd fails. Then, once stopped, the device must be restarted on the next command completion, so that the request(s) for which alloc_cmd fa

[PATCH BUGFIX 2/3] null_blk: guarantee device restart in all irq modes

2015-11-02 Thread Paolo Valente
From: Arianna Avanzini In single-queue (block layer) mode,the function null_rq_prep_fn stops the device if alloc_cmd fails. Then, once stopped, the device must be restarted on the next command completion, so that the request(s) for which alloc_cmd failed can be requeued. Otherwise the device hang