Re: [f2fs-dev] [PATCH v2] f2fs-tools: Fix device zoned model detection

2019-04-21 Thread Shinichiro Kawasaki
On 4/20/19 3:19 PM, Chao Yu wrote: > On 2019/4/19 16:19, Shin'ichiro Kawasaki wrote: >> A partition device does not have the "zoned" nor "chunk_sectors" sysfs >> attribute files. Only the owner block device of the partition has these >> files. This causes the detection of the zoned model and zone s

Re: [f2fs-dev] [PATCH v2] f2fs-tools: Fix device zoned model detection

2019-04-19 Thread Chao Yu
On 2019/4/19 16:19, Shin'ichiro Kawasaki wrote: > A partition device does not have the "zoned" nor "chunk_sectors" sysfs > attribute files. Only the owner block device of the partition has these > files. This causes the detection of the zoned model and zone size of a > partition device to fail when

[f2fs-dev] [PATCH v2] f2fs-tools: Fix device zoned model detection

2019-04-19 Thread Shin'ichiro Kawasaki
A partition device does not have the "zoned" nor "chunk_sectors" sysfs attribute files. Only the owner block device of the partition has these files. This causes the detection of the zoned model and zone size of a partition device to fail when executing mkfs.f2fs. Fix this problem by using the own