Skip to content

Commit 781ae3b

Browse files
committed
udev: add krbd readahead placeholder
Signed-off-by: Nick Fisk <[email protected]>
1 parent 9586040 commit 781ae3b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

udev/50-rbd.rules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
KERNEL=="rbd[0-9]*", ENV{DEVTYPE}=="disk", PROGRAM="/usr/bin/ceph-rbdnamer %k", SYMLINK+="rbd/%c{1}/%c{2}"
22
KERNEL=="rbd[0-9]*", ENV{DEVTYPE}=="partition", PROGRAM="/usr/bin/ceph-rbdnamer %k", SYMLINK+="rbd/%c{1}/%c{2}-part%n"
3+
4+
# This is a placeholder, uncomment and edit as necessary
5+
#KERNEL=="rbd[0-9]*", ENV{DEVTYPE}=="disk", ACTION=="add|change", ATTR{bdi/read_ahead_kb}="128"

0 commit comments

Comments
 (0)