Re: [PATCH 17/42] btrfs: only require sector size alignment for end_bio_extent_writepage()

2021-04-16 Thread Qu Wenruo
On 2021/4/16 下午11:13, Josef Bacik wrote: On 4/15/21 1:04 AM, Qu Wenruo wrote: Just like read page, for subpage support we only require sector size alignment. So change the error message condition to only require sector alignment. This should not affect existing code, as for regular sectorsiz

Re: [PATCH 17/42] btrfs: only require sector size alignment for end_bio_extent_writepage()

2021-04-16 Thread Josef Bacik
On 4/15/21 1:04 AM, Qu Wenruo wrote: Just like read page, for subpage support we only require sector size alignment. So change the error message condition to only require sector alignment. This should not affect existing code, as for regular sectorsize == PAGE_SIZE case, we are still requiring

[PATCH 17/42] btrfs: only require sector size alignment for end_bio_extent_writepage()

2021-04-14 Thread Qu Wenruo
Just like read page, for subpage support we only require sector size alignment. So change the error message condition to only require sector alignment. This should not affect existing code, as for regular sectorsize == PAGE_SIZE case, we are still requiring page alignment. Signed-off-by: Qu Wenr