Re: [PATCH 05/19] btrfs: disable direct IO in HMZONED mode

From: Naohiro Aota
Date: Tue Jun 18 2019 - 04:22:55 EST


On 2019/06/13 23:00, Josef Bacik wrote:
> On Fri, Jun 07, 2019 at 10:10:11PM +0900, Naohiro Aota wrote:
>> Direct write I/Os can be directed at existing extents that have already
>> been written. Such write requests are prohibited on host-managed zoned
>> block devices. So disable direct IO support for a volume with HMZONED mode
>> enabled.
>>
>
> That's only if we're nocow, so seems like you only need to disable DIO into
> nocow regions with hmzoned? Thanks,
>
> Josef
>

True. And actually, I had to disable or ignore BTRFS_INODE_NODATACOW on HMZONED.
I'll replace this patch with that one.
Thanks,