HomeFreeBSD

zdb: enhancement - Display SA xattrs.

Description

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

Details

Provenance
Tim Chase <tim@chase2k.com>Authored on Jul 9 2013, 12:15 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jul 9 2013, 8:52 PM
Parents
rG5d3dc3fb7251: Avoid abort() in vn_rdwr(): libzpool/kernel.c
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG50210587563b: zdb: enhancement - Display SA xattrs. (authored by Tim Chase <tim@chase2k.com>).Jul 9 2013, 8:52 PM