]> git.karo-electronics.de Git - karo-tx-linux.git/commit
dm cache: add data block size limits to code and Documentation
authorMike Snitzer <snitzer@redhat.com>
Fri, 16 Aug 2013 14:54:19 +0000 (10:54 -0400)
committerMike Snitzer <snitzer@redhat.com>
Fri, 16 Aug 2013 19:56:52 +0000 (15:56 -0400)
commit1b116110491582ef44fd99885cefc503c9adc591
treeeefe6fe46fc3d389932bcac4988d9a253649f599
parentc0c1e90513f220ea9266a11f9e0ef46dee580667
dm cache: add data block size limits to code and Documentation

Place upper bound on the cache's data block size (1GB).

Inform users that the data block size can't be any arbitrary number,
i.e. its value must be between 32KB and 1GB.  Also, it should be a
multiple of 32KB.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair Kergon <agk@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
Documentation/device-mapper/cache.txt
drivers/md/dm-cache-target.c