fix: add log to debug
This commit is contained in:
parent
578be7f26e
commit
2af8a617e7
|
@ -116,7 +116,11 @@ int32_t tfsAllocDiskOnTier(STfsTier *pTier) {
|
||||||
|
|
||||||
if (pDisk == NULL) continue;
|
if (pDisk == NULL) continue;
|
||||||
|
|
||||||
if (pDisk->size.avail < tsMinDiskFreeSize) continue;
|
if (pDisk->size.avail < tsMinDiskFreeSize) {
|
||||||
|
uInfo("disk %s is full and skip it, level:%d id:%d free size:%" PRId64 " min free size:%" PRId64, pDisk->path,
|
||||||
|
pDisk->level, pDisk->id, pDisk->size.avail, tsMinDiskFreeSize);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
retId = diskId;
|
retId = diskId;
|
||||||
terrno = 0;
|
terrno = 0;
|
||||||
|
|
Loading…
Reference in New Issue