Re: [PATCH v2] ubd: remove use of blk_rq_map_sg

2018-10-18 Thread Jens Axboe
On 10/18/18 2:55 PM, Richard Weinberger wrote: > From: Christoph Hellwig > > There is no good reason to create a scatterlist in the ubd driver, > it can just iterate the request directly. Applied, thanks. -- Jens Axboe

Re: [PATCH v2] ubd: remove use of blk_rq_map_sg

2018-10-18 Thread Jens Axboe
On 10/18/18 2:55 PM, Richard Weinberger wrote: > From: Christoph Hellwig > > There is no good reason to create a scatterlist in the ubd driver, > it can just iterate the request directly. Applied, thanks. -- Jens Axboe

[PATCH v2] ubd: remove use of blk_rq_map_sg

2018-10-18 Thread Richard Weinberger
From: Christoph Hellwig There is no good reason to create a scatterlist in the ubd driver, it can just iterate the request directly. Signed-off-by: Christoph Hellwig [rw: Folded in improvements as discussed with hch and jens] Signed-off-by: Richard Weinberger --- arch/um/drivers/ubd_kern.c |

[PATCH v2] ubd: remove use of blk_rq_map_sg

2018-10-18 Thread Richard Weinberger
From: Christoph Hellwig There is no good reason to create a scatterlist in the ubd driver, it can just iterate the request directly. Signed-off-by: Christoph Hellwig [rw: Folded in improvements as discussed with hch and jens] Signed-off-by: Richard Weinberger --- arch/um/drivers/ubd_kern.c |