projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'drm-misc-fixes-2022-06-16' of git://anongit.freedesktop.org/drm/drm-misc...
[linux-2.6-microblaze.git]
/
drivers
/
md
/
dm-core.h
diff --git
a/drivers/md/dm-core.h
b/drivers/md/dm-core.h
index
d21648a
..
54c0473
100644
(file)
--- a/
drivers/md/dm-core.h
+++ b/
drivers/md/dm-core.h
@@
-33,6
+33,14
@@
struct dm_kobject_holder {
* access their members!
*/
* access their members!
*/
+/*
+ * For mempools pre-allocation at the table loading time.
+ */
+struct dm_md_mempools {
+ struct bio_set bs;
+ struct bio_set io_bs;
+};
+
struct mapped_device {
struct mutex suspend_lock;
struct mapped_device {
struct mutex suspend_lock;
@@
-110,8
+118,7
@@
struct mapped_device {
/*
* io objects are allocated from here.
*/
/*
* io objects are allocated from here.
*/
- struct bio_set io_bs;
- struct bio_set bs;
+ struct dm_md_mempools *mempools;
/* kobject and completion */
struct dm_kobject_holder kobj_holder;
/* kobject and completion */
struct dm_kobject_holder kobj_holder;