Fix xio to work with commit 626360aa
"msg, ceph_osd: Support feature bits for all message type's local connection"
Signed-off-by: Vu Pham <vu@mellanox.com>
fix xio to work with the merge of pull request
" Removed unnecessary inclusion of iostream in several files #4707"
Signed-off-by: Vu Pham <vu@mellanox.com>
Wip writeback throttling for cache tiering
This patch is to do write back throttling for cache tiering, which is similar to what the Linux kernel does for page cache write back. A paramter 'cache_target_dirty_high_ratio' (default 0.6) is introduced as the high speed flushing threshold, while leave the 'cache_target_dirty_ratio' (default 0.4) to represent the low speed threshold. The flush speed is controlled by limiting the parallelism of flushing. The maximum parallelism under low speed is half of the parallelism under high speed. If there is at least one PG such that the dirty ratio beyond the high threshold, full speed mode is entered; If there is no PG such that dirty ratio beyond the low threshold, idle mode is entered; In other cases, slow speed mode is entered.
Signed-off-by: Mingxin Liu <mingxinliu@ubuntukylin.com>
Reviewed-by: Li Wang <liwang@ubuntukylin.com>
Suggested-by: Nick Fisk <nick@fisk.me.uk>
Tested-by: Kefu Chai <kchai@redhat.com>
osd: Improve feature bit handling and remove ancient checking including CHUNKY_SCRUB
Reviewed-by: Sage Weil <sweil@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
The test run for RBD_FEATURES=13 is fully covered by
RBD_FEATURES=45 and the pre deep-flatten cases are covered
by RBD_FEATURES=0 and 1.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
It is expensive to collect backtraces every time a lock is
checked in order to provide cycle backtraces. The backtraces
can be forced on for specific locks or globally via the new
config option "lockdep_force_backtrace".
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
This test can take up to 20 minutes to execute, which is an order of
magnitude longer than other unit tests. This is slowing down the
build bots.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Feature present since at least the Dumpling release.
A later commit will add it to the osd_required mask
Signed-off-by: David Zafman <dzafman@redhat.com>
Feature present since at least the Dumpling release.
A later commit will add it to the osd_required mask
Signed-off-by: David Zafman <dzafman@redhat.com>
Feature present since at least the Dumpling release.
A later commit will add it to the osd_required mask
Signed-off-by: David Zafman <dzafman@redhat.com>
Feature present since at least the Dumpling release.
A later commit will add it to the osd_required mask
Signed-off-by: David Zafman <dzafman@redhat.com>
Feature present since at least the Dumpling release.
A later commit will add it to the osd_required mask
Fixes: #11661
Signed-off-by: David Zafman <dzafman@redhat.com>
This should have no practical effect unless we could have
features getting turned off in a later release, since we
can assume any features being checked for are supported locally.
Signed-off-by: David Zafman <dzafman@redhat.com>
SUSE builds on OBS are failing with the missing dir entries:
/usr/share/ceph
/usr/lib/ceph
On suse these correspond to:
%dir %{_datarootdir}/ceph/
%dir %{_libexecdir}/ceph/
Signed-off-by: Owen Synge <osynge@suse.com>