Re: [PATCH 3/3] staging: erofs: support IO read error injection

2019-03-24 Thread Gao Xiang
Hi Chao, On 2019/3/25 9:47, Chao Yu wrote: > On 2019/3/19 21:55, Gao Xiang wrote: >> Used to simulate disk IO read error for testing fatal >> error tolerance. >> >> Here are the details, >> 1) use bio->bi_private to indicate super_block >>for non-compressed bios since some (mainly meta) >>

Re: [PATCH 3/3] staging: erofs: support IO read error injection

2019-03-24 Thread Chao Yu
On 2019/3/19 21:55, Gao Xiang wrote: > Used to simulate disk IO read error for testing fatal > error tolerance. > > Here are the details, > 1) use bio->bi_private to indicate super_block >for non-compressed bios since some (mainly meta) >pages can be of the corresponding bdev inode; > 2) g

[PATCH 3/3] staging: erofs: support IO read error injection

2019-03-19 Thread Gao Xiang
Used to simulate disk IO read error for testing fatal error tolerance. Here are the details, 1) use bio->bi_private to indicate super_block for non-compressed bios since some (mainly meta) pages can be of the corresponding bdev inode; 2) get super_block dynamically for compressed bios, th