mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
bcache: increase max allowed bcache size
from 128MB to 512MB (the default remains 8MB)
This commit is contained in:
parent
987f2733c7
commit
61fce72a11
@ -808,8 +808,8 @@ out:
|
||||
* the metadata size.)
|
||||
*/
|
||||
|
||||
#define MIN_BCACHE_BLOCKS 32 /* 4MB */
|
||||
#define MAX_BCACHE_BLOCKS 1024
|
||||
#define MIN_BCACHE_BLOCKS 32 /* 4MB (32 * 128KB) */
|
||||
#define MAX_BCACHE_BLOCKS 4096 /* 512MB (4096 * 128KB) */
|
||||
|
||||
static int _setup_bcache(void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user