diff options
-rw-r--r-- | module/zfs/dbuf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/module/zfs/dbuf.c b/module/zfs/dbuf.c index c8a526171..4f1750650 100644 --- a/module/zfs/dbuf.c +++ b/module/zfs/dbuf.c @@ -263,7 +263,10 @@ dbuf_evict_user(dmu_buf_impl_t *db) boolean_t dbuf_is_metadata(dmu_buf_impl_t *db) { - if (db->db_level > 0) { + /* + * Consider indirect blocks and spill blocks to be meta data. + */ + if (db->db_level > 0 || db->db_blkid == DMU_SPILL_BLKID) { return (B_TRUE); } else { boolean_t is_metadata; |