commit 913b6663ed6f24a309fd6afd3f19d1dc2c4b390b Author: Tomohiro Kusumi <kusumi.tomoh...@gmail.com> Date: Sun Mar 22 00:58:50 2015 +0900
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. Summary of changes: sbin/hammer/cmd_show.c | 176 +++++++++++++++++++++++++++++++++++++++---------- sbin/hammer/hammer.c | 7 +- sbin/hammer/hammer.h | 4 +- 3 files changed, 147 insertions(+), 40 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/913b6663ed6f24a309fd6afd3f19d1dc2c4b390b -- DragonFly BSD source repository