Remove l2ad_evict from zfs_l2arc_evict_class
Illumos 5701 (zpool list reports incorrect "alloc" value for cache devices) removed l2ad_evict from l2arc_dev_t. It should also be removed from the zfs_l2arc_evict_class event class. Signed-off-by: Tim Chase <tim@chase2k.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #3534
This commit is contained in:
parent
a254ecfc8b
commit
84045c2ddf
|
@ -372,7 +372,6 @@ DECLARE_EVENT_CLASS(zfs_l2arc_evict_class,
|
|||
__field(uint64_t, l2ad_hand)
|
||||
__field(uint64_t, l2ad_start)
|
||||
__field(uint64_t, l2ad_end)
|
||||
__field(uint64_t, l2ad_evict)
|
||||
__field(boolean_t, l2ad_first)
|
||||
__field(boolean_t, l2ad_writing)
|
||||
|
||||
|
@ -387,7 +386,6 @@ DECLARE_EVENT_CLASS(zfs_l2arc_evict_class,
|
|||
__entry->l2ad_hand = dev->l2ad_hand;
|
||||
__entry->l2ad_start = dev->l2ad_start;
|
||||
__entry->l2ad_end = dev->l2ad_end;
|
||||
__entry->l2ad_evict = dev->l2ad_evict;
|
||||
__entry->l2ad_first = dev->l2ad_first;
|
||||
__entry->l2ad_writing = dev->l2ad_writing;
|
||||
|
||||
|
@ -395,12 +393,11 @@ DECLARE_EVENT_CLASS(zfs_l2arc_evict_class,
|
|||
__entry->all = all;
|
||||
),
|
||||
TP_printk("l2ad { vdev { id %llu guid %llu state %llu } "
|
||||
"hand %llu start %llu end %llu evict %llu "
|
||||
"hand %llu start %llu end %llu "
|
||||
"first %d writing %d } taddr %llu all %d",
|
||||
__entry->vdev_id, __entry->vdev_guid, __entry->vdev_state,
|
||||
__entry->l2ad_hand, __entry->l2ad_start,
|
||||
__entry->l2ad_end, __entry->l2ad_evict,
|
||||
__entry->l2ad_first, __entry->l2ad_writing,
|
||||
__entry->l2ad_end, __entry->l2ad_first, __entry->l2ad_writing,
|
||||
__entry->taddr, __entry->all)
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue