OSDN Git Service

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)
commit054730446315d2a9a41f4232ebf1d5034244d054
treeeefe6fe46fc3d389932bcac4988d9a253649f599
parent66bb2644cac8b5cc1cc477959aa37dcfe6317a23
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