dedup table, is it data or metadata?

Developer discussions.

dedup table, is it data or metadata?

Postby haer22 » Wed Jun 08, 2016 11:11 am

Is the dedup table regarded as "data" or "metadata", i.e. is it written once like data or twice like meta-data?
haer22
 
Posts: 123
Joined: Sun Mar 23, 2014 2:13 am

Re: dedup table, is it data or metadata?

Postby rottegift » Tue Jun 28, 2016 10:03 am

It's treated as metadata and additionally you can cause extra ditto copies with "zpool dedupditto=number" where number is >= 100 or is zero (the default); when the reference count for a table entry goes above number when number is nonzero, the (many-entry) record it's in will be ditto-copied (see zio_ddt_write() for details).

Don't do deduplication on ANY pool where ANY device in the pool has a nonzero seek time. You'll be sorry eventually.
rottegift
 
Posts: 26
Joined: Fri Apr 25, 2014 12:00 am


Return to OpenZFS on OS X Development

Who is online

Users browsing this forum: No registered users and 14 guests