iSulad/0001-fix-modify-quota-log-level-to-warning.patch

27 lines
1.1 KiB
Diff
Raw Normal View History

From bff7af04d7bcc17297196ee5e9620fd3c4c52427 Mon Sep 17 00:00:00 2001
From: lifeng68 <lifeng68@huawei.com>
Date: Fri, 18 Sep 2020 11:26:57 +0800
Subject: [PATCH 01/10] fix: modify quota log level to warning
Signed-off-by: lifeng68 <lifeng68@huawei.com>
---
.../oci/storage/layer_store/graphdriver/quota/project_quota.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/daemon/modules/image/oci/storage/layer_store/graphdriver/quota/project_quota.c b/src/daemon/modules/image/oci/storage/layer_store/graphdriver/quota/project_quota.c
index 8efe709..c7526b7 100644
--- a/src/daemon/modules/image/oci/storage/layer_store/graphdriver/quota/project_quota.c
+++ b/src/daemon/modules/image/oci/storage/layer_store/graphdriver/quota/project_quota.c
@@ -334,7 +334,7 @@ static int get_quota_stat(const char *backing_fs_blockdev)
ret = quotactl(QCMD(Q_XGETQSTAT, FS_PROJ_QUOTA), backing_fs_blockdev, 0, (caddr_t)&fs_quota_stat_info);
if (ret != 0) {
- SYSERROR("Failed to get quota stat on %s", backing_fs_blockdev);
+ SYSWARN("Failed to get quota stat on %s", backing_fs_blockdev);
return ret;
}
--
2.25.1