Re: [PATCH v11 22/40] btrfs: split ordered extent when bio is sent

2021-01-14 Thread Su Yue
On Tue 22 Dec 2020 at 11:49, Naohiro Aota wrote: For a zone append write, the device decides the location the data is written to. Therefore we cannot ensure that two bios are written consecutively on the device. In order to ensure that a ordered extent maps to a contiguous region on disk,

Re: [PATCH v11 22/40] btrfs: split ordered extent when bio is sent

2021-01-13 Thread Johannes Thumshirn
On 12/01/2021 17:00, Josef Bacik wrote: > You're completely ignoring errors here which isn't ok. Fixed.

Re: [PATCH v11 22/40] btrfs: split ordered extent when bio is sent

2021-01-12 Thread Josef Bacik
On 12/21/20 10:49 PM, Naohiro Aota wrote: For a zone append write, the device decides the location the data is written to. Therefore we cannot ensure that two bios are written consecutively on the device. In order to ensure that a ordered extent maps to a contiguous region on disk, we need to mai

[PATCH v11 22/40] btrfs: split ordered extent when bio is sent

2020-12-21 Thread Naohiro Aota
For a zone append write, the device decides the location the data is written to. Therefore we cannot ensure that two bios are written consecutively on the device. In order to ensure that a ordered extent maps to a contiguous region on disk, we need to maintain a "one bio == one ordered extent" rule