Re: [PATCH v2 08/10] md: Implement ->corrupted_range()

2021-01-25 Thread Guoqing Jiang
On 1/25/21 23:55, Shiyang Ruan wrote: With the support of ->rmap(), it is possible to obtain the superblock on a mapped device. If a pmem device is used as one target of mapped device, we cannot obtain its superblock directly. With the help of SYSFS, the mapped device can be found on the

[PATCH v2 08/10] md: Implement ->corrupted_range()

2021-01-25 Thread Shiyang Ruan
With the support of ->rmap(), it is possible to obtain the superblock on a mapped device. If a pmem device is used as one target of mapped device, we cannot obtain its superblock directly. With the help of SYSFS, the mapped device can be found on the target devices. So, we iterate the