Pin block bitmaps in RAM based on mount option

This kernel patch was given to me by Ted Tso. This will
enable adding a mount option for the hard disk which will
then read all of the block bitmaps from the hard disk at mount
time and store them in RAM. This will avoid any slow calls to
fallocate since it won't need to seek around the disk to find free
blocks because all the data for that will already be in RAM.

The mount option for this is: pin_block_bitmaps

Change-Id: Id1682825c48267292f5ec635dd44becd0a92312c
2 files changed