On Sun, Sep 19 2010 at 8:01pm -0400, Michał Mirosław <mirq-linux at rere.qmqm.pl> wrote: > bio_alloc_bioset() might return NULL. Or maybe passed > bio_sets are guaranteed to have enough free bios? The passed bio_set is allocated in dm_alloc_md_mempools() using bioset_create() -- so it does have allocation guarantees. Mike