Discussion:
[review request] zpool history -i goes into infinite loop
Matthew Ahrens via illumos-zfs
2014-08-24 04:39:11 UTC
Permalink
https://reviews.csiden.org/r/79/

5116 zpool history -i goes into infinite loop

After doing a "zfs destroy" that destroys many snapshots in one ioctl,
if you run "zpool history -i", itwill go into an infinite loop.

The problem is that there is a history record which is larger than the
buffer
that libzfs provides (128KB), and libzfs does not handle this error
gracefully.
We should make it expand the buffer as needed, or at least fail gracefully.
--matt



-------------------------------------------
illumos-zfs
Archives: https://www.listbox.com/member/archive/182191/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182191/23047029-187a0c8d
Modify Your Subscription: https://www.listbox.com/member/?member_id=23047029&id_secret=23047029-2e85923f
Powered by Listbox: http://www.listbox.com

Loading...