]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
blk: add upper bound of bluestore_deferred_batch_ops* options 38709/head
authorhzwuhongsong <hzwuhongsong@corp.netease.com>
Tue, 29 Dec 2020 06:24:01 +0000 (14:24 +0800)
committerhzwuhongsong <hzwuhongsong@corp.netease.com>
Tue, 29 Dec 2020 08:32:57 +0000 (16:32 +0800)
commite81400b8c287b5c5a61ddf946c188c2b9e66dd2f
treea433f29e82b9073153716b0abfb75a7b2cc76c83
parentd5a2611106ac6d60cae0fbad06d74ef820acec52
blk: add upper bound of bluestore_deferred_batch_ops* options

so the number of pending io does not overflow when being passed to submit_batch().

Signed-off-by: hzwuhongsong <hzwuhongsong@corp.netease.com>
src/blk/kernel/KernelDevice.cc
src/common/options.cc