Re: [OpenZFS Developer] l2arc compression buffers leak

2014-02-05 Thread Andriy Gapon
on 05/02/2014 00:33 Saso Kiselkov said the following: Ah, now I understand what's going on. The application is dirtying a dbuf who's backing ARC buffer is currently in-flight into the L2ARC, so it needs to be discarded. Instead of going through arc_evict, it calls arc_release directly to

[OpenZFS Developer] ds_unique_bytes and dd_used_bytes significance with snapshots

2014-02-05 Thread Gaurav Mahajan
Hi, I am trying to understand the space accounting done in dsl_dataset and snapshots. Usually whenever a block is allocate for a dataset we call dsl_dataset_block_born. And when we free the block we call dsl_dataset_block_kill. In both of these function we add the allocated/deletes space to/from

Re: [OpenZFS Developer] Shared Page Cache

2014-02-05 Thread Glauber Costa
On Wed, Feb 5, 2014 at 10:03 PM, Matthew Ahrens mahr...@delphix.com wrote: On Wed, Feb 5, 2014 at 2:31 AM, Glauber Costa glom...@cloudius-systems.com wrote: Hi I've been recently trying to devise some mechanism to reuse the ARC buffers directly into a file back mapping (created by mmap,