mirror_zfs/include/sys
Brian Behlendorf e0b0ca983d Add visibility in to cached dbufs
Currently there is no mechanism to inspect which dbufs are being
cached by the system.  There are some coarse counters in arcstats
by they only give a rough idea of what's being cached.  This patch
aims to improve the current situation by adding a new dbufs kstat.

When read this new kstat will walk all cached dbufs linked in to
the dbuf_hash.  For each dbuf it will dump detailed information
about the buffer.  It will also dump additional information about
the referenced arc buffer and its related dnode.  This provides a
more complete view in to exactly what is being cached.

With this generic infrastructure in place utilities can be written
to post-process the data to understand exactly how the caching is
working.  For example, the data could be processed to show a list
of all cached dnodes and how much space they're consuming.  Or a
similar list could be generated based on dnode type.  Many other
ways to interpret the data exist based on what kinds of questions
you're trying to answer.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Prakash Surya <surya1@llnl.gov>
2013-10-25 13:59:40 -07:00
..
fm 3246 ZFS I/O deadman thread 2013-05-01 17:05:52 -07:00
fs Illumos #2882, #2883, #2900 2013-09-04 15:49:00 -07:00
arc.h Add visibility in to cached dbufs 2013-10-25 13:59:40 -07:00
avl_impl.h
avl.h
bplist.h
bpobj.h
bptree.h
dbuf.h Add visibility in to cached dbufs 2013-10-25 13:59:40 -07:00
ddt.h
dmu_impl.h
dmu_objset.h Illumos #3464 2013-09-04 16:01:24 -07:00
dmu_send.h Illumos #3464 2013-09-04 16:01:24 -07:00
dmu_traverse.h Illumos #3498 panic in arc_read() 2013-07-02 13:34:31 -07:00
dmu_tx.h Illumos #3464 2013-09-04 16:01:24 -07:00
dmu_zfetch.h
dmu.h Add visibility in to cached dbufs 2013-10-25 13:59:40 -07:00
dnode.h Illumos #3122 zfs destroy filesystem should prefetch blocks 2013-07-02 13:34:02 -07:00
dsl_dataset.h Illumos #3464 2013-09-04 16:01:24 -07:00
dsl_deadlist.h
dsl_deleg.h Illumos #2882, #2883, #2900 2013-09-04 15:49:00 -07:00
dsl_destroy.h Illumos #3464 2013-09-04 16:01:24 -07:00
dsl_dir.h Illumos #3464 2013-09-04 16:01:24 -07:00
dsl_pool.h Revert "Add txgs-<pool> kstat file" 2013-10-25 13:57:25 -07:00
dsl_prop.h Illumos #3464 2013-09-04 16:01:24 -07:00
dsl_scan.h
dsl_synctask.h Illumos #3464 2013-09-04 16:01:24 -07:00
dsl_userhold.h Illumos #3464 2013-09-04 16:01:24 -07:00
efi_partition.h
Makefile.am Illumos #3464 2013-09-04 16:01:24 -07:00
metaslab_impl.h Illumos #3552, #3564 2013-06-19 16:22:39 -07:00
metaslab.h Illumos #3464 2013-09-04 16:01:24 -07:00
nvpair_impl.h
nvpair.h Illumos #3464 2013-09-04 16:01:24 -07:00
refcount.h Illumos #3464 2013-09-04 16:01:24 -07:00
rrwlock.h Illumos #3464 2013-09-04 16:01:24 -07:00
sa_impl.h
sa.h
spa_boot.h
spa_impl.h Add visibility in to arc_read 2013-10-25 13:57:25 -07:00
spa.h Add visibility in to dmu_tx_assign times 2013-10-25 13:57:25 -07:00
space_map.h Illumos #3464 2013-09-04 16:01:24 -07:00
txg_impl.h
txg.h Illumos #3464 2013-09-04 16:01:24 -07:00
u8_textprep_data.h
u8_textprep.h
uberblock_impl.h
uberblock.h
uio_impl.h
unique.h
uuid.h
vdev_disk.h
vdev_file.h
vdev_impl.h Illumos #3618 ::zio dcmd does not show timestamp data 2013-08-12 16:46:50 -07:00
vdev.h 3246 ZFS I/O deadman thread 2013-05-01 17:05:52 -07:00
xvattr.h
zap_impl.h
zap_leaf.h
zap.h
zfeature.h Illumos #3464 2013-09-04 16:01:24 -07:00
zfs_acl.h
zfs_context.h Add visibility in to arc_read 2013-10-25 13:57:25 -07:00
zfs_ctldir.h
zfs_debug.h Illumos #3464 2013-09-04 16:01:24 -07:00
zfs_dir.h
zfs_fuid.h
zfs_ioctl.h Illumos #3464 2013-09-04 16:01:24 -07:00
zfs_onexit.h
zfs_rlock.h
zfs_sa.h
zfs_stat.h
zfs_vfsops.h Fix 'zfs rollback' on mounted file systems 2013-01-17 09:51:20 -08:00
zfs_vnops.h Linux 3.11 compat: fops->iterate() 2013-08-15 16:19:07 -07:00
zfs_znode.h Illumos #3464 2013-09-04 16:01:24 -07:00
zil_impl.h
zil.h Illumos #3464 2013-09-04 16:01:24 -07:00
zio_checksum.h Constify structures containing function pointers 2013-03-04 08:49:32 -08:00
zio_compress.h Linux 3.11 compat: Rename LZ4 symbols 2013-10-22 10:12:39 -07:00
zio_impl.h Illumos #3329, #3330, #3331, #3335 2013-05-06 12:39:34 -07:00
zio.h Add visibility in to arc_read 2013-10-25 13:57:25 -07:00
zpl.h Linux 3.11 compat: fops->iterate() 2013-08-15 16:19:07 -07:00
zrlock.h
zvol.h Illumos #3464 2013-09-04 16:01:24 -07:00