You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The zone is configured with a lifetime_ of Env::WLTH_NOT_SET during initialization, but if the zone already has data(such as remount), it should be configured as the maximum value of the lifetime_ of the files in it.
if (zone_lifetime > file_lifetime) return zone_lifetime - file_lifetime;
if (zone_lifetime == file_lifetime) return LIFETIME_DIFF_COULD_BE_WORSE;
return LIFETIME_DIFF_NOT_GOOD;
}
Due to the fact that the lifetime_ of zones is related to the zone allocation algorithm, which will always return LIFETIME_DIFF_NOT_GOOD as the zone_lifetime is Env::WLTH_NOT_SET
The text was updated successfully, but these errors were encountered:
zenfs/fs/zbd_zenfs.cc
Lines 51 to 64 in b04ca0c
The zone is configured with a
lifetime_
ofEnv::WLTH_NOT_SET
during initialization, but if the zone already has data(such as remount), it should be configured as the maximum value of thelifetime_
of the files in it.zenfs/fs/zbd_zenfs.cc
Lines 393 to 413 in b04ca0c
Due to the fact that the
lifetime_
of zones is related to the zone allocation algorithm, which will always returnLIFETIME_DIFF_NOT_GOOD
as thezone_lifetime
isEnv::WLTH_NOT_SET
The text was updated successfully, but these errors were encountered: