diff options
| author | Brian Behlendorf <behlendorf1@llnl.gov> | 2014-05-02 19:26:47 +0000 |
|---|---|---|
| committer | Brian Behlendorf <behlendorf1@llnl.gov> | 2014-05-05 20:56:59 +0000 |
| commit | cc79a5c263802b58de62b190e264c7f61b6235c9 (patch) | |
| tree | 0017858a7f09f0cbea79e245ea508556b3e06679 | |
| parent | 51268f31a8a5d5c7a48a449437001f77591587f2 (diff) | |
| -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 c8a52617178e..4f1750650831 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; |
