sbin/hammer: Expand hammer show directive to lo:objid:rectype:key:tid
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sat, 21 Mar 2015 15:58:50 +0000 (00:58 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sun, 22 Mar 2015 17:21:07 +0000 (02:21 +0900)
commit913b6663ed6f24a309fd6afd3f19d1dc2c4b390b
tree1e7012db9e4ae6025116baff1aa6a73b67e15b9b
parent67232e0cbd52a5d6e2655b64a6a8b91ed203a103
sbin/hammer: Expand hammer show directive to lo:objid:rectype:key:tid

- Make hammer show command take rectype:key:tid as an optional part
  of the search directive in addition to the existing part lo:objid.

- Unspecified fields are handled as wildcard.

- rectype:key:tid all have lower priority than existing lo:objid
  (in actual filesystem's btree implementation) so these new fields
  give hammer show command extra conditions on btree search given
  that higher priority fields lo:objid do match.
sbin/hammer/cmd_show.c
sbin/hammer/hammer.c
sbin/hammer/hammer.h