]> git.baikalelectronics.ru Git - kernel.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, 23 Aug 2013 13:02:13 +0000 (09:02 -0400)
commit39080646d0cfdf05a67469e9c0b3242009b371dd
treeeefe6fe46fc3d389932bcac4988d9a253649f599
parent1ffff6d46bd5a221e035289e515fffcc706aed5c
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 G Kergon <agk@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
Documentation/device-mapper/cache.txt
drivers/md/dm-cache-target.c