PowerEdge:導致 SUSE Linux 延遲的 BTRFS 檔案系統

Summary: 以 root 身分使用 BTRFS 檔案系統之 SUSE Linux Enterprise Server 可能會遇到效能問題,而且會間歇性延遲。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

伺服器在執行命令「ls, 」時發生延遲或停止回應數秒、事件分鐘。mv“。
執行命令「top“以查看實時過程狀態。
我們可以看到流程 btrfs-cleaner,或 btrfs-transacti 正在以 100% CPU 執行。

BTRFS-頂部1 

BTRFS-頂部2 

甚至認為從 ISO 開機並使用 BTRFS。它也間歇性地滯後。

Cause

在啟用配額和 subvolume 發生刪除。要出現此問題,刪除必須包括刪除和清理大型共用子樹。

這意味著,如果 subvolume 被刪除不是快照,它不會引起任何問題。如果 subvolume 經歷了許多更改,但與原始子樹幾乎沒有共用子樹,同樣不會有問題。如果 subvolume 本身很小,那麼仍然沒有問題。

此問題正在上游線程中討論,以期創建該問題的解決方案。

Resolution

可用的因應措施是找出 btrfs 處於困境的檔案系統(有時可能是根檔案系統),並使用以下語法禁用該文件系統上的配額:

#  btrfs quota disable <filesystem>
例如,要禁用根文件系統上的配額,請執行以下操作:
#  btrfs quota disable /

Affected Products

SUSE Linux Enterprise Server 12, OEMR R240, OEMR R250, OEMR R260, OEMR R340, OEMR R350, OEMR R360, OEMR R440, OEMR R450, OEMR R540, OEMR R550, OEMR R640, OEMR R6415, OEMR R650, OEMR R650xs, OEMR R6515, OEMR R6525, OEMR R660, OEMR R660xs, OEMR R6615 , OEMR R6625, OEMR R740, OEMR R740xd, OEMR R740xd2, OEMR R7415, OEMR R7425, OEMR R750, OEMR R750xa, OEMR R750xs, OEMR R7515, OEMR R7525, OEMR R760, OEMR R760xa, OEMR R760XD2, OEMR R760xs, OEMR R7615, OEMR R7625, OEMR R840, OEMR R860, OEMR R940, OEMR R940xa, OEMR R960, OEMR XR4510c, OEMR XR4520c, OEMR XR5610, OEMR XR8610t, OEMR XR8620t, PowerEdge R240, PowerEdge R250, PowerEdge R260, PowerEdge R340, PowerEdge R350, PowerEdge R360, PowerEdge R440, PowerEdge R450, PowerEdge R540, PowerEdge R550, PowerEdge R640, PowerEdge R6415, PowerEdge R650, PowerEdge R650xs, PowerEdge R6515, PowerEdge R6525, PowerEdge R660, PowerEdge R660xs, PowerEdge R6615, PowerEdge R6625, PowerEdge R740, PowerEdge R740XD, PowerEdge R740XD2, PowerEdge R7415, PowerEdge R7425, PowerEdge R750, PowerEdge R750XA, PowerEdge R750xs, PowerEdge R7515, PowerEdge R7525, PowerEdge R760, PowerEdge R760XA, PowerEdge R760xd2, PowerEdge R760xs, PowerEdge R7615, PowerEdge R7625, PowerEdge R840, PowerEdge R860, PowerEdge R940, PowerEdge R960, PowerEdge XR4510c, PowerEdge XR4520c, PowerEdge XR5610, PowerEdge XR8610t, PowerEdge XR8620t, SUSE Linux Enterprise Server 15 ...
Article Properties
Article Number: 000201630
Article Type: Solution
Last Modified: 02 Sept 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.