Messages in this thread | ![/](/images/icornerl.gif) | | Date | Mon, 3 Apr 2023 09:22:06 +0800 | Subject | Re: f2fs: support fault injection for f2fs_down_write_trylock() | From | Chao Yu <> |
| |
On 2023/4/1 2:55, Yangtao Li wrote: >> I guess we can cover all trylock w/ FAULT_LOCK_OP type fault injection,
Oops, there is a typo, s/FAULT_LOCK_OP/FAULT_LOCK.
I meant introducing FAULT_LOCK to cover all below functions, and keep FAULT_LOCK_OP as it is to just cover f2fs_trylock_op...
- inode_trylock - down_read_trylock - down_write_trylock - mutex_trylock - sb_start_write_trylock - trylock_page
Thanks,
| ![\](/images/icornerr.gif) |