Re: [PATCH] btrfs: tree-check: reduce stack consumption in check_dir_item

2018-01-10 Thread Qu Wenruo
On 2018年01月10日 22:28, David Sterba wrote: > I've noticed that the updated item checker stack consumption increased > dramatically in 542f5385e20cf97447 ("btrfs: tree-checker: Add checker > for dir item") > > tree-checker.c:check_leaf+552 (176 -> 728) > > The array is 255 byt

Re: [PATCH] btrfs: tree-check: reduce stack consumption in check_dir_item

2018-01-10 Thread Josef Bacik
On Wed, Jan 10, 2018 at 03:28:51PM +0100, David Sterba wrote: > I've noticed that the updated item checker stack consumption increased > dramatically in 542f5385e20cf97447 ("btrfs: tree-checker: Add checker > for dir item") > > tree-checker.c:check_leaf+552 (176 -> 728) > > Th