From: Chao Yu <yuch...@huawei.com>
Sent: Tuesday, April 14, 2020 5:50 AM To: Tim Walker <timtwal...@outlook.com>; linux-f2fs-devel@lists.sourceforge.net <linux-f2fs-devel@lists.sourceforge.net> Subject: Re: [f2fs-dev] [question] ZBC/ZAC Offline/read-only zone support Hi, On 2020/4/14 12:23, Tim Walker wrote: > Hello- > > I am trying to determine how f2fs handles an offline (or read-only) zone when > it is backed by a host-managed SMR HDD. I haven't been able to find any > specific code path that places an offline zone into a separate list, or a > path that checks the zone condition. Do we support a zone going read-only or offline? Thanks for the info. So you mean different zones in SMR device can have different status? some of them can be tagged as readonly? if my understanding is correct, f2fs needs to handle such readonly zone correctly, e.g. write/discard IO should be avoided being issued to those zones, right? Thanks, > > Best regards, > Tim Walker > > _______________________________________________ > Linux-f2fs-devel mailing list > Linux-f2fs-devel@lists.sourceforge.net > Hi Chao Yu- Yes the zones can have different status, according to the spec. I don't know how many drive manufactures use those zone states - if any. I was only asking to see if I had missed Offline or Read_Only zone support when I examined the f2fs source code. I was interested in the implementation details if support had been included. Thanks! Best regards, -Tim Walker _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel