Details
-
Improvement
-
Resolution: Unresolved
-
Medium
-
None
-
Lustre 2.17.0
-
None
-
3
-
9223372036854775807
Description
If the MDT changelog is full (exceeded the (LLOG_BITMAP_BYTES * 8 = 64768)^2 record limit) and changelog garbage collection (GC) is disabled (meaning that the inactive changelog consumer will not be deregistered), then it makes sense for the MDT to set the OS_STATFS_ENOSPC flag in the MDS_STATFS reply to the clients.
That will at least give clients some hint that the MDT is unusable when they are checking MDTs for space balance and they should redirect new subdirectory creation to a different MDT that might not be having this problem, until such a time that the changelog consumer is fixed and starts consuming records again.
The clients should already handle OS_STATFS_ENOSPC to shift subdirectory creation to other MDTs, but this flag is currently only set if the MDT has no more free blocks. This unfortunately does not affect new file creation today, only new subdirectories.