Re: [PATCH v3 1/4] btrfs: Introduce find_free_extent_ctl structure for later rework

2018-10-12 Thread Josef Bacik
On Fri, Oct 12, 2018 at 02:18:16PM +0800, Qu Wenruo wrote: > Instead of tons of different local variables in find_free_extent(), > extract them into find_free_extent_ctl structure, and add better > explanation for them. > > Some modification may looks redundant, but will later greatly simplify >

Re: [PATCH v3 1/4] btrfs: Introduce find_free_extent_ctl structure for later rework

2018-10-12 Thread Su Yue
On 10/12/18 2:18 PM, Qu Wenruo wrote: Instead of tons of different local variables in find_free_extent(), extract them into find_free_extent_ctl structure, and add better explanation for them. Some modification may looks redundant, but will later greatly simplify function parameter list

[PATCH v3 1/4] btrfs: Introduce find_free_extent_ctl structure for later rework

2018-10-12 Thread Qu Wenruo
Instead of tons of different local variables in find_free_extent(), extract them into find_free_extent_ctl structure, and add better explanation for them. Some modification may looks redundant, but will later greatly simplify function parameter list during find_free_extent() refactor.