08 Jan, 2020
1 commit
-
Fixes coccicheck warning:
drivers/md/dm-bio-prison-v2.c:327:2-22: WARNING: Assignment of 0/1 to bool variable
Reported-by: Hulk Robot
Signed-off-by: zhengbin
Signed-off-by: Mike Snitzer
06 Nov, 2019
1 commit
-
Replace spin_lock_irqsave/irqrestore with spin_lock_irq/spin_unlock_irq.
Signed-off-by: Mikulas Patocka
Signed-off-by: Mike Snitzer
08 Jun, 2018
1 commit
-
Eliminate most holes in DM data structures that were modified by
commit 6f1c819c21 ("dm: convert to bioset_init()/mempool_init()").
Also prevent structure members from unnecessarily spanning cache
lines.Signed-off-by: Mike Snitzer
05 Jun, 2018
1 commit
-
mempool_init()/bioset_init() require that the mempools/biosets be zeroed
first; they probably should not _require_ this, but not allocating those
structs with kzalloc is a fairly nonsensical thing to do (calling
mempool_exit()/bioset_exit() on an uninitialized mempool/bioset is legal
and safe, but only works if said memory was zeroed.)Acked-by: Mike Snitzer
Signed-off-by: Kent Overstreet
Signed-off-by: Jens Axboe
31 May, 2018
1 commit
-
Convert dm to embedded bio sets.
Acked-by: Mike Snitzer
Signed-off-by: Kent Overstreet
Signed-off-by: Jens Axboe
19 Jun, 2017
1 commit
-
To make the code clearer, use rb_entry() instead of container_of() to
deal with rbtree.Signed-off-by: Geliang Tang
Acked-by: Coly Li
Signed-off-by: Mike Snitzer
08 Mar, 2017
1 commit
-
The deferred set is gone and all methods have _v2 appended to the end of
their names to allow for continued use of the original bio prison in DM
thin-provisioning.Signed-off-by: Joe Thornber
Signed-off-by: Mike Snitzer