Re: [PATCH 2/2] btrfs: extent-tree: Add trace events for space info numbers update

2019-05-09 Thread David Sterba
On Mon, Apr 29, 2019 at 02:03:33PM +0800, Qu Wenruo wrote: > Add trace event for update_bytes_pinned() and update_bytes_may_use() to > detect underflow better. > > The output would be something like (only showing data part): > > ## Buffered write start, 16K total ## > 2255.954 xfs_io/860 btrf

[PATCH 2/2] btrfs: extent-tree: Add trace events for space info numbers update

2019-04-28 Thread Qu Wenruo
Add trace event for update_bytes_pinned() and update_bytes_may_use() to detect underflow better. The output would be something like (only showing data part): ## Buffered write start, 16K total ## 2255.954 xfs_io/860 btrfs:update_bytes_may_use:(nil)U: type=DATA old=0 diff=4096 2257.169 sudo