Re: [PATCH v4 08/18] btrfs: introduce helper for subpage uptodate status

2021-01-26 Thread Qu Wenruo
On 2021/1/20 下午10:55, Josef Bacik wrote: On 1/16/21 2:15 AM, Qu Wenruo wrote: This patch introduce the following functions to handle btrfs subpage uptodate status: - btrfs_subpage_set_uptodate() - btrfs_subpage_clear_uptodate() - btrfs_subpage_test_uptodate()    Those helpers can only be call

Re: [PATCH v4 08/18] btrfs: introduce helper for subpage uptodate status

2021-01-20 Thread Qu Wenruo
On 2021/1/20 下午11:00, Josef Bacik wrote: On 1/16/21 2:15 AM, Qu Wenruo wrote: This patch introduce the following functions to handle btrfs subpage uptodate status: - btrfs_subpage_set_uptodate() - btrfs_subpage_clear_uptodate() - btrfs_subpage_test_uptodate()    Those helpers can only be calle

Re: [PATCH v4 08/18] btrfs: introduce helper for subpage uptodate status

2021-01-20 Thread Josef Bacik
On 1/20/21 7:49 PM, Qu Wenruo wrote: On 2021/1/20 下午11:00, Josef Bacik wrote: On 1/16/21 2:15 AM, Qu Wenruo wrote: This patch introduce the following functions to handle btrfs subpage uptodate status: - btrfs_subpage_set_uptodate() - btrfs_subpage_clear_uptodate() - btrfs_subpage_test_uptodat

Re: [PATCH v4 08/18] btrfs: introduce helper for subpage uptodate status

2021-01-20 Thread Qu Wenruo
On 2021/1/21 上午9:28, Josef Bacik wrote: On 1/20/21 7:49 PM, Qu Wenruo wrote: On 2021/1/20 下午11:00, Josef Bacik wrote: On 1/16/21 2:15 AM, Qu Wenruo wrote: This patch introduce the following functions to handle btrfs subpage uptodate status: - btrfs_subpage_set_uptodate() - btrfs_subpage_cl

Re: [PATCH v4 08/18] btrfs: introduce helper for subpage uptodate status

2021-01-20 Thread Josef Bacik
On 1/16/21 2:15 AM, Qu Wenruo wrote: This patch introduce the following functions to handle btrfs subpage uptodate status: - btrfs_subpage_set_uptodate() - btrfs_subpage_clear_uptodate() - btrfs_subpage_test_uptodate() Those helpers can only be called when the range is ensured to be inside

Re: [PATCH v4 08/18] btrfs: introduce helper for subpage uptodate status

2021-01-20 Thread Josef Bacik
On 1/16/21 2:15 AM, Qu Wenruo wrote: This patch introduce the following functions to handle btrfs subpage uptodate status: - btrfs_subpage_set_uptodate() - btrfs_subpage_clear_uptodate() - btrfs_subpage_test_uptodate() Those helpers can only be called when the range is ensured to be inside

Re: [PATCH v4 08/18] btrfs: introduce helper for subpage uptodate status

2021-01-19 Thread David Sterba
On Sat, Jan 16, 2021 at 03:15:23PM +0800, Qu Wenruo wrote: > This patch introduce the following functions to handle btrfs subpage > uptodate status: > - btrfs_subpage_set_uptodate() > - btrfs_subpage_clear_uptodate() > - btrfs_subpage_test_uptodate() > Those helpers can only be called when the ra

[PATCH v4 08/18] btrfs: introduce helper for subpage uptodate status

2021-01-15 Thread Qu Wenruo
This patch introduce the following functions to handle btrfs subpage uptodate status: - btrfs_subpage_set_uptodate() - btrfs_subpage_clear_uptodate() - btrfs_subpage_test_uptodate() Those helpers can only be called when the range is ensured to be inside the page. - btrfs_page_set_uptodate() -