projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dm cache: fix device destroy hang due to improper prealloc_used accounting
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
md
/
raid5.h
diff --git
a/drivers/md/raid5.h
b/drivers/md/raid5.h
index 02c3bf8fbfe7aa1b0a1c568605393dc3769c6b18..d05144278690ca9b8cb4ad933d6d23dc36b9b0f8 100644
(file)
--- a/
drivers/md/raid5.h
+++ b/
drivers/md/raid5.h
@@
-482,7
+482,8
@@
struct r5conf {
*/
int active_name;
char cache_name[2][32];
*/
int active_name;
char cache_name[2][32];
- struct kmem_cache *slab_cache; /* for allocating stripes */
+ struct kmem_cache *slab_cache; /* for allocating stripes */
+ struct mutex cache_size_mutex; /* Protect changes to cache size */
int seq_flush, seq_write;
int quiesce;
int seq_flush, seq_write;
int quiesce;