Re: [PATCH] lightnvm: pblk: fix rqd.error return value in pblk_blk_erase_sync

2018-08-03 Thread Javier Gonzalez
> On 2 Aug 2018, at 22.50, Matias Bjørling wrote: > > rqd.error is masked by the return value of pblk_submit_io_sync. > The rqd structure is then passed on to the end_io function, which > assumes that any error should lead to a chunk being marked > offline/bad. Since the pblk_submit_io_sync can

Re: [PATCH] lightnvm: pblk: fix rqd.error return value in pblk_blk_erase_sync

2018-08-03 Thread Javier Gonzalez
> On 2 Aug 2018, at 22.50, Matias Bjørling wrote: > > rqd.error is masked by the return value of pblk_submit_io_sync. > The rqd structure is then passed on to the end_io function, which > assumes that any error should lead to a chunk being marked > offline/bad. Since the pblk_submit_io_sync can