Re: [dm-devel] [PATCH RESEND v2 09/10] xfs: Implement ->corrupted_range() for XFS

2021-02-03 Thread Ruan Shiyang
On 2021/2/2 上午10:41, Darrick J. Wong wrote: On Fri, Jan 29, 2021 at 02:27:56PM +0800, Shiyang Ruan wrote: This function is used to handle errors which may cause data lost in filesystem. Such as memory failure in fsdax mode. In XFS, it requires "rmapbt" feature in order to query for files or

Re: [dm-devel] [PATCH RESEND v2 09/10] xfs: Implement ->corrupted_range() for XFS

2021-02-01 Thread Darrick J. Wong
On Fri, Jan 29, 2021 at 02:27:56PM +0800, Shiyang Ruan wrote: > This function is used to handle errors which may cause data lost in > filesystem. Such as memory failure in fsdax mode. > > In XFS, it requires "rmapbt" feature in order to query for files or > metadata which associated to the corrup

[dm-devel] [PATCH RESEND v2 09/10] xfs: Implement ->corrupted_range() for XFS

2021-01-29 Thread Shiyang Ruan
This function is used to handle errors which may cause data lost in filesystem. Such as memory failure in fsdax mode. In XFS, it requires "rmapbt" feature in order to query for files or metadata which associated to the corrupted data. Then we could call fs recover functions to try to repair the