zdb: enhancement - Display SA xattrs.
authorTim Chase <tim@chase2k.com>
Tue, 9 Jul 2013 12:15:26 +0000 (07:15 -0500)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 9 Jul 2013 20:52:28 +0000 (13:52 -0700)
commit50210587563bb37c48d2624d11e158ab3ad30715
tree180be0733c6071af8d871e868f0d130f804f3423
parent5d3dc3fb72518a4c191e3a014622b74365eb3a74
zdb: enhancement - Display SA xattrs.

If the znode has SA xattrs, display them following the other
standard attributes.  The format used is similar to that used
when listing the contents of a ZAP.  It is as follows:

$ zdb -vvv <pool>/<dataset> <object>
...
SA xattrs: <size> bytes, <number> entries
<name1> = <value1>
<name2> = <value2>
...

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1581
cmd/zdb/zdb.c