diff options
author | Yu Kuai <[email protected]> | 2023-10-10 23:19:51 +0800 |
---|---|---|
committer | Song Liu <[email protected]> | 2023-10-10 18:49:50 -0700 |
commit | 1b0a2d950ee2a54aa04fb31ead32144be0bbf690 (patch) | |
tree | b168b285f7707575648951e8f8f309323e31a595 /rust/helpers/helpers.c | |
parent | cfa078c8b80d0daf8f2fd4a2ab8e26fa8c33bca1 (diff) |
md: use new apis to suspend array for ioctls involed array reconfiguration
'reconfig_mutex' will be grabbed before these ioctls, suspend array
before holding the lock, so that io won't concurrent with array
reconfiguration through ioctls.
This is not hot path, so performance is not concerned.
Signed-off-by: Yu Kuai <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions