kernel-fxtec-pro1x/drivers/block/drbd
Kent Overstreet 395c72a707 block: Generalized bio pool freeing
With the old code, when you allocate a bio from a bio pool you have to
implement your own destructor that knows how to find the bio pool the
bio was originally allocated from.

This adds a new field to struct bio (bi_pool) and changes
bio_alloc_bioset() to use it. This makes various bio destructors
unnecessary, so they're then deleted.

v6: Explain the temporary if statement in bio_put

Signed-off-by: Kent Overstreet <koverstreet@google.com>
CC: Jens Axboe <axboe@kernel.dk>
CC: NeilBrown <neilb@suse.de>
CC: Alasdair Kergon <agk@redhat.com>
CC: Nicholas Bellinger <nab@linux-iscsi.org>
CC: Lars Ellenberg <lars.ellenberg@linbit.com>
Acked-by: Tejun Heo <tj@kernel.org>
Acked-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2012-09-09 10:35:38 +02:00
..
drbd_actlog.c drbd: announce FLUSH/FUA capability to upper layers 2012-07-24 15:14:28 +02:00
drbd_bitmap.c drbd: Write all pages of the bitmap after an online resize 2012-08-16 17:17:35 +02:00
drbd_int.h drbd: Write all pages of the bitmap after an online resize 2012-08-16 17:17:35 +02:00
drbd_main.c block: Generalized bio pool freeing 2012-09-09 10:35:38 +02:00
drbd_nl.c drbd: Write all pages of the bitmap after an online resize 2012-08-16 17:17:35 +02:00
drbd_proc.c drbd: reset congestion information before reporting it in /proc/drbd 2012-07-24 14:07:48 +02:00
drbd_receiver.c drbd: announce FLUSH/FUA capability to upper layers 2012-07-24 15:14:28 +02:00
drbd_req.c drbd: Finish requests that completed while IO was frozen 2012-08-16 17:14:45 +02:00
drbd_req.h drbd: Immediately allow completion of IOs, that wait for IO completions on a failed disk 2012-05-09 10:16:04 +02:00
drbd_strings.c
drbd_vli.h
drbd_worker.c drbd: do not reset rs_pending_cnt too early 2012-07-24 14:09:53 +02:00
drbd_wrappers.h
Kconfig
Makefile