]> git.baikalelectronics.ru Git - kernel.git/commit
block: add bioset_init_from_src() helper
authorJens Axboe <axboe@kernel.dk>
Thu, 7 Jun 2018 20:42:05 +0000 (14:42 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 8 Jun 2018 13:03:35 +0000 (07:03 -0600)
commit913f1fa4d6f46b785a40dbc6b99dabaf954edf89
treec94dfa5cf876cb8063b6f430ced9030c35a8c59b
parent414287291ad2e3558a57a72a76132cbb82778c42
block: add bioset_init_from_src() helper

Add a helper that allows a caller to initialize a new bio_set,
using the settings from an existing bio_set.

Reported-by: Venkat R.B <vrbagal1@linux.vnet.ibm.com>
Tested-by: Venkat R.B <vrbagal1@linux.vnet.ibm.com>
Tested-by: Li Wang <liwang@redhat.com>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/bio.c
include/linux/bio.h