Re: f2fs: support fault injection for f2fs_down_write_trylock()

From: Yangtao Li
Date: Fri Mar 31 2023 - 14:55:33 EST


> I guess we can cover all trylock w/ FAULT_LOCK_OP type fault injection,
> rather than just cover f2fs_down_write_trylock().
>
> Including:
> - inode_trylock
> - down_read_trylock
> - down_write_trylock
> - mutex_trylock
> - sb_start_write_trylock
> - trylock_page
>
> Bug only excluding f2fs_trylock_op which was covered by FAULT_LOCK_OP?

> What do you think?

Sounds great, the 3th has been sent.

Thx,
Yangtao