From George Wilson's original bug report at Delphix:
The arc currently caches extra copies of the same block because when they are accessed from different datasets (i.e. from different clones of the same filesystem). We should evict these extra copies from the arc making the arc more efficient.
This is a simple solution to the problem and further improvements are possible. The approach taken is to request any dbuf which is in the processes of releasing its hold to check to see if it contains a duplicate arc_buf_t. If so, then instead of simply releasing the hold it will instead evict itself.
Updated by Christopher Siden about 9 years ago
- Status changed from In Progress to Resolved
- % Done changed from 90 to 100
user: George Wilson <firstname.lastname@example.org>
date: Thu Sep 27 21:55:09 2012 -0700
3145 single-copy arc
3212 ztest: race condition between vdev_online() and spa_vdev_remove()
Reviewed by: Matt Ahrens <email@example.com>
Reviewed by: Adam Leventhal <firstname.lastname@example.org>
Reviewed by: Eric Schrock <email@example.com>
Reviewed by: Justin T. Gibbs <firstname.lastname@example.org>
Approved by: Eric Schrock <email@example.com>