Loading block/bio.c +6 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,12 @@ #include "blk.h" #include "blk-rq-qos.h" struct biovec_slab { int nr_vecs; char *name; struct kmem_cache *slab; }; /* * if you change this list, also change bvec_alloc or things will * break badly! cannot be bigger than what you can fit into an Loading include/linux/bio.h +0 −6 Original line number Diff line number Diff line Loading @@ -720,12 +720,6 @@ struct bio_set { struct workqueue_struct *rescue_workqueue; }; struct biovec_slab { int nr_vecs; char *name; struct kmem_cache *slab; }; static inline bool bioset_initialized(struct bio_set *bs) { return bs->bio_slab != NULL; Loading Loading
block/bio.c +6 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,12 @@ #include "blk.h" #include "blk-rq-qos.h" struct biovec_slab { int nr_vecs; char *name; struct kmem_cache *slab; }; /* * if you change this list, also change bvec_alloc or things will * break badly! cannot be bigger than what you can fit into an Loading
include/linux/bio.h +0 −6 Original line number Diff line number Diff line Loading @@ -720,12 +720,6 @@ struct bio_set { struct workqueue_struct *rescue_workqueue; }; struct biovec_slab { int nr_vecs; char *name; struct kmem_cache *slab; }; static inline bool bioset_initialized(struct bio_set *bs) { return bs->bio_slab != NULL; Loading