Hello,
I want to set/get the read-ahead for my disks and there is a little issue that confuses me. There are three ways to get/set the read-ahead buffer:
- cat /sys/block/md0/bdi/read_ahead_kb
- cat /sys/block/md0/queue/read_ahead_kb
- blockdev --getra /dev/md0
Which one is the correct one? The first two gives me a value of 128. The last one gives me a value of 256. Where does this difference come from?