On 2018年04月24日 22:44, David Sterba wrote:
> On Tue, Apr 24, 2018 at 01:03:13PM +0800, Qu Wenruo wrote:
>> It's pretty handy if we can get debug output for locking status of an
>> extent buffer, specially for race related debugging.
>>
>> So add the following output for btrfs_print_tree() and
>> b
On Tue, Apr 24, 2018 at 01:03:13PM +0800, Qu Wenruo wrote:
> It's pretty handy if we can get debug output for locking status of an
> extent buffer, specially for race related debugging.
>
> So add the following output for btrfs_print_tree() and
> btrfs_print_leaf():
> - refs
> - write_locks (as w:
It's pretty handy if we can get debug output for locking status of an
extent buffer, specially for race related debugging.
So add the following output for btrfs_print_tree() and
btrfs_print_leaf():
- refs
- write_locks (as w:%d)
- read_locks (as r:%d)
- blocking_writers (as bw:%d)
- blocking_reade