Re: [PATCH 2/5] file-posix: Check bs->bl.zoned for zone info

2023-08-24 Thread Sam Li
Hanna Czenczek 于2023年8月24日周四 23:53写道: > > Instead of checking bs->wps or bs->bl.zone_size for whether zone > information is present, check bs->bl.zoned. That is the flag that > raw_refresh_zoned_limits() reliably sets to indicate zone support. If > it is set to something other than BLK_Z_NONE, o

[PATCH 2/5] file-posix: Check bs->bl.zoned for zone info

2023-08-24 Thread Hanna Czenczek
Instead of checking bs->wps or bs->bl.zone_size for whether zone information is present, check bs->bl.zoned. That is the flag that raw_refresh_zoned_limits() reliably sets to indicate zone support. If it is set to something other than BLK_Z_NONE, other values and objects like bs->wps and bs->bl.z