ceph: avoid counting the same request twice or more
authorXiubo Li <xiubli@redhat.com>
Mon, 22 Mar 2021 12:28:51 +0000 (20:28 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 27 Apr 2021 21:52:23 +0000 (23:52 +0200)
commitfbd47ddc5e887571ee39f0d6b47c6155f2257f55
treeacd5ad2f49f97b78c24d6d592f318a2fa71da6b5
parent8ae99ae2b40766a73026d5793942b4fea6d9ed31
ceph: avoid counting the same request twice or more

If the request will retry, skip updating the latency metric.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/file.c