]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/FileStore: only adjust up op queue for btrfs
authorSage Weil <sage@inktank.com>
Thu, 24 Jan 2013 06:16:49 +0000 (22:16 -0800)
committerSage Weil <sage@inktank.com>
Sun, 27 Jan 2013 08:58:29 +0000 (00:58 -0800)
commit575a58666adbca83d15468899272e8c369e903e1
treea864512bf3914d16735901aee44dc7a6468996e5
parentc9eb1b0a99b0e55f7d7343176dad17d1a53589a1
os/FileStore: only adjust up op queue for btrfs

We only need to adjust up the op queue limits during commit for btrfs,
because the snapshot initiation (async create) is currently
high-latency and the op queue is quiesced during that period.

This lets us revert 44dca5c, which disabled the extra allowance because
it is generally bad for non-btrfs writeahead mode.

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 38871e27eca5a34de78db23aa3663f6cb045d461)
src/os/FileStore.cc