Skip to content

Commit

Permalink
udev: add krbd readahead placeholder
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Fisk <nick@fisk.me.uk>
  • Loading branch information
fiskn committed Sep 16, 2016
1 parent 9586040 commit 781ae3b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions udev/50-rbd.rules
@@ -1,2 +1,5 @@
KERNEL=="rbd[0-9]*", ENV{DEVTYPE}=="disk", PROGRAM="/usr/bin/ceph-rbdnamer %k", SYMLINK+="rbd/%c{1}/%c{2}"
KERNEL=="rbd[0-9]*", ENV{DEVTYPE}=="partition", PROGRAM="/usr/bin/ceph-rbdnamer %k", SYMLINK+="rbd/%c{1}/%c{2}-part%n"

# This is a placeholder, uncomment and edit as necessary
#KERNEL=="rbd[0-9]*", ENV{DEVTYPE}=="disk", ACTION=="add|change", ATTR{bdi/read_ahead_kb}="128"

0 comments on commit 781ae3b

Please sign in to comment.