PowerEdge:BTRFS 文件系统在 SUSE Linux 中导致滞后

Summary: 将 BTRFS 文件系统作为 root 的 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-cleanerbtrfs-transacti 以 100% 的 CPU 运行。

btrfs-top1 

btrfs-top2 

甚至以为从 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.