Merge pull request #6939 from snitm/thinp-blocksize-fix
devmapper: revert the default dm-thin-pool blocksize back to 64K
This commit is contained in:
commit
840ed5ace2
2 changed files with 3 additions and 3 deletions
|
@ -129,11 +129,11 @@ Here is the list of supported options:
|
|||
* `dm.blocksize`
|
||||
|
||||
Specifies a custom blocksize to use for the thin pool. The default
|
||||
blocksize is 512K.
|
||||
blocksize is 64K.
|
||||
|
||||
Example use:
|
||||
|
||||
``docker -d --storage-opt dm.blocksize=64K``
|
||||
``docker -d --storage-opt dm.blocksize=512K``
|
||||
|
||||
* `dm.blkdiscard`
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ var (
|
|||
DefaultDataLoopbackSize int64 = 100 * 1024 * 1024 * 1024
|
||||
DefaultMetaDataLoopbackSize int64 = 2 * 1024 * 1024 * 1024
|
||||
DefaultBaseFsSize uint64 = 10 * 1024 * 1024 * 1024
|
||||
DefaultThinpBlockSize uint32 = 1024 // 512K = 1024 512b sectors
|
||||
DefaultThinpBlockSize uint32 = 128 // 64K = 128 512b sectors
|
||||
)
|
||||
|
||||
type DevInfo struct {
|
||||
|
|
Loading…
Reference in a new issue