1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-11 20:58:50 +03:00
Yi Wang 47bcb446b8 lvchange: fix lvchange refresh failed for dm suspend or resume failed
When multiple lvchange refresh processes executed at the same time,
suspend/resume ioctl on the same dm, some of these commands will be failed
for dm aready change status, and ioctl will return EINVAL in _do_dm_ioctl function.
to avoid this problem, add READ_FOR_ACTIVATE flags in lvchange refresh process,
it will hold LCK_WRITE lock and avoid suspend/resume dm at the same time.

Signed-off-by: Long YunJian <long.yunjian@zte.com.cn>
Signed-off-by: Yi Wang <wang.yi59@zte.com.cn>
2021-08-16 09:45:40 -05:00
..
2021-06-11 13:27:18 -05:00
2016-01-21 12:11:37 +01:00
2016-01-21 12:11:37 +01:00
2017-03-28 16:11:35 +01:00
2021-06-28 20:41:07 +02:00
2016-01-21 12:11:37 +01:00
2020-10-20 22:22:52 +02:00
2020-10-20 22:22:52 +02:00
2020-10-20 22:22:52 +02:00
2020-10-20 22:22:52 +02:00
2016-01-21 12:11:37 +01:00
2021-03-22 11:37:19 +01:00
2020-10-20 22:22:52 +02:00
2018-12-04 14:06:46 -06:00
2016-01-21 12:11:37 +01:00
2018-07-11 11:26:42 -05:00
2021-07-28 00:49:28 +02:00
2021-02-23 16:43:32 -06:00
2016-01-21 12:11:37 +01:00
2021-06-09 14:56:13 +02:00
2019-06-25 15:39:08 -05:00
2020-09-01 17:57:50 +02:00
2016-01-21 12:11:37 +01:00
2018-06-13 14:14:03 -05:00
2016-01-21 12:11:37 +01:00
2021-04-19 14:40:14 +02:00
2021-07-21 13:19:51 +02:00