]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cls/rbd: silence the log of get metadata error 25436/head
authorsongweibin <song.weibin@zte.com.cn>
Fri, 7 Dec 2018 07:48:49 +0000 (15:48 +0800)
committersongweibin <song.weibin@zte.com.cn>
Sat, 8 Dec 2018 07:08:22 +0000 (15:08 +0800)
commitd2c1541d024d3c862e84bf1ff4b3d25634a08042
tree2180b104c09dffad4f1f632f09d4cb745ca0f28a
parent6fd2b15f4e73848176cdc45a4776dc6bbbe43137
cls/rbd: silence the log of get metadata error

When getting the qos of an image without qos set,
there is a lot of printing in the OSD log file.
```
2018-12-07 15:23:51.122 7f01de695700  0 <cls> /home/swb/ceph/ceph-dev/src/cls/rbd/cls_rbd.cc:3728: error get metadata: (2) No such file or directory
```

Signed-off-by: songweibin <song.weibin@zte.com.cn>
src/cls/rbd/cls_rbd.cc