[sheepdog] [sheepdog/sheepdog] e882d7: Print object ID in '"%016" PRIx64'

Hitoshi Mitake mitake.hitoshi at gmail.com
Mon Jan 23 07:13:05 CET 2017


  Branch: refs/heads/master
  Home:   https://github.com/sheepdog/sheepdog
  Commit: e882d76dd632168f680dc31af81cfbdbc42225d9
      https://github.com/sheepdog/sheepdog/commit/e882d76dd632168f680dc31af81cfbdbc42225d9
  Author: Takashi Menjo <menjo.takashi at lab.ntt.co.jp>
  Date:   2017-01-23 (Mon, 23 Jan 2017)

  Changed paths:
    M dog/benchmark.c
    M dog/common.c
    M dog/farm/farm.c
    M dog/farm/object_tree.c
    M dog/vdi.c
    M lib/sd_inode.c
    M sheep/gateway.c
    M sheep/group.c
    M sheep/http/kv.c
    M sheep/http/oalloc.c
    M sheep/nfs/fs.c
    M sheep/nfs/nfs.c
    M sheep/object_list_cache.c
    M sheep/ops.c
    M sheep/recovery.c
    M sheep/request.c
    M sheep/store/common.c
    M sheep/store/plain_store.c
    M sheep/store/tree_store.c
    M sheep/vdi.c
    M sheepfs/volume.c
    M tests/functional/028.out
    M tests/functional/042.out
    M tests/functional/080.out

  Log Message:
  -----------
  Print object ID in '"%016" PRIx64'

This commit lets Sheepdog print object ID in 16-digit zero-padded
hexadecimal, that is, '"%016" PRIx64'.

I think this is operator-friendly because s/he can tell whether
that object is a data object (00...), an inode object (80...), a
ledger object (08...) and so on, simply by looking at the printed.

Fix #340

Signed-off-by: Takashi Menjo <menjo.takashi at lab.ntt.co.jp>


  Commit: a91100c6082964cdf8a19b1adf434df632423f92
      https://github.com/sheepdog/sheepdog/commit/a91100c6082964cdf8a19b1adf434df632423f92
  Author: Hitoshi Mitake <mitake.hitoshi at gmail.com>
  Date:   2017-01-23 (Mon, 23 Jan 2017)

  Changed paths:
    M dog/benchmark.c
    M dog/common.c
    M dog/farm/farm.c
    M dog/farm/object_tree.c
    M dog/vdi.c
    M lib/sd_inode.c
    M sheep/gateway.c
    M sheep/group.c
    M sheep/http/kv.c
    M sheep/http/oalloc.c
    M sheep/nfs/fs.c
    M sheep/nfs/nfs.c
    M sheep/object_list_cache.c
    M sheep/ops.c
    M sheep/recovery.c
    M sheep/request.c
    M sheep/store/common.c
    M sheep/store/plain_store.c
    M sheep/store/tree_store.c
    M sheep/vdi.c
    M sheepfs/volume.c
    M tests/functional/028.out
    M tests/functional/042.out
    M tests/functional/080.out

  Log Message:
  -----------
  Merge pull request #352 from tmenjo/print-oid-016-PRIx64

Print object ID in '"%016" PRIx64'


Compare: https://github.com/sheepdog/sheepdog/compare/810e4c6d921f...a91100c60829


More information about the sheepdog mailing list