]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ceph: never send metrics if disable_send_metrics is set
authorXiubo Li <xiubli@redhat.com>
Thu, 20 Jul 2023 03:33:55 +0000 (11:33 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Aug 2023 08:22:46 +0000 (10:22 +0200)
commit7c9b8cca49176232f155ddbd78bb8066defec551
tree4bbfc075b1b0d71a582276b7003da3562b687613
parente443b3a508b0bb228e4f5291442dbffbb18ce786
ceph: never send metrics if disable_send_metrics is set

commit 50164507f6b7b7ed85d8c3ac0266849fbd908db7 upstream.

Even the 'disable_send_metrics' is true so when the session is
being opened it will always trigger to send the metric for the
first time.

Cc: stable@vger.kernel.org
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ceph/metric.c