aboutsummaryrefslogtreecommitdiffstats
path: root/64-btrfs-zoned.rules
blob: d70e22740557b6b43a05fb809746fa6548ebe6d8 (plain)
1
2
3
4
5
6
7
8
9
SUBSYSTEM!="block", GOTO="btrfs_end"
ACTION!="add|change", GOTO="btrfs_end"
ENV{ID_FS_TYPE}!="btrfs", GOTO="btrfs_end"

# Zoned btrfs needs an IO scheduler that supports zone write locking and
# currently mq-deadline is the only scheduler capable of this.
ATTR{queue/zoned}=="host-managed", ATTR{queue/scheduler}="mq-deadline"

LABEL="btrfs_end"