-
- Downloads
bcache: Use standard utility code
Some of bcache's utility code has made it into the rest of the kernel,
so drop the bcache versions.
Bcache used to have a workaround for allocating from a bio set under
generic_make_request() (if you allocated more than once, the bios you
already allocated would get stuck on current->bio_list when you
submitted, and you'd risk deadlock) - bcache would mask out __GFP_WAIT
when allocating bios under generic_make_request() so that allocation
could fail and it could retry from workqueue. But bio_alloc_bioset() has
a workaround now, so we can drop this hack and the associated error
handling.
Signed-off-by:
Kent Overstreet <koverstreet@google.com>
Showing
- drivers/md/bcache/btree.c 2 additions, 5 deletionsdrivers/md/bcache/btree.c
- drivers/md/bcache/debug.c 1 addition, 1 deletiondrivers/md/bcache/debug.c
- drivers/md/bcache/io.c 22 additions, 42 deletionsdrivers/md/bcache/io.c
- drivers/md/bcache/movinggc.c 4 additions, 3 deletionsdrivers/md/bcache/movinggc.c
- drivers/md/bcache/request.c 18 additions, 69 deletionsdrivers/md/bcache/request.c
- drivers/md/bcache/util.c 0 additions, 17 deletionsdrivers/md/bcache/util.c
- drivers/md/bcache/util.h 0 additions, 4 deletionsdrivers/md/bcache/util.h
- drivers/md/bcache/writeback.c 4 additions, 3 deletionsdrivers/md/bcache/writeback.c
Loading
Please register or sign in to comment