ceph: print r_direct_hash in hex in __choose_mds() dout
authorXiubo Li <xiubli@redhat.com>
Thu, 2 Jan 2020 03:09:37 +0000 (22:09 -0500)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 27 Jan 2020 15:53:40 +0000 (16:53 +0100)
commit3c802092dab69351b1c2e52a2250f47d5bf60253
treebb0e64eb6cfe5d7a11d70619c085f9d1d4ffc7e5
parent78beb0ff2feceb1d7568333f93195e1a4d95a49a
ceph: print r_direct_hash in hex in __choose_mds() dout

It's hard to read, especially when it is:

  ceph:  __choose_mds 00000000b7bc9c15 is_hash=1 (-271041095) mode 0

At the same time, switch to __func__ to get rid of the checkpatch
warning.

Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/mds_client.c