Re: [PATCH 12/42] btrfs: make Private2 lifespan more consistent

2021-04-16 Thread Josef Bacik
On 4/15/21 1:04 AM, Qu Wenruo wrote: Currently btrfs uses page Private2 bit to incidate if we have ordered extent for the page range. But the lifespan of it is not consistent, during regular writeback path, there are two locations to clear the same PagePrivate2: T - Page marked Dirty

[PATCH 12/42] btrfs: make Private2 lifespan more consistent

2021-04-14 Thread Qu Wenruo
Currently btrfs uses page Private2 bit to incidate if we have ordered extent for the page range. But the lifespan of it is not consistent, during regular writeback path, there are two locations to clear the same PagePrivate2: T - Page marked Dirty | + - Page marked Private2, t