mirror_zfs/lib
Prasad Joshi b312979252 Tear down and flush the mmap region
The inode eviction should unmap the pages associated with the inode.
These pages should also be flushed to disk to avoid the data loss.
Therefore, use truncate_setsize() in evict_inode() to release the
pagecache.

The API truncate_setsize() was added in 2.6.35 kernel. To ensure
compatibility with the old kernel, the patch defines its own
truncate_setsize function.

Signed-off-by: Prasad Joshi <pjoshi@stec-inc.com>
Closes #255
2011-06-27 09:59:19 -07:00
..
libavl Tear down and flush the mmap region 2011-06-27 09:59:19 -07:00
libefi Tear down and flush the mmap region 2011-06-27 09:59:19 -07:00
libnvpair Tear down and flush the mmap region 2011-06-27 09:59:19 -07:00
libspl Tear down and flush the mmap region 2011-06-27 09:59:19 -07:00
libunicode Tear down and flush the mmap region 2011-06-27 09:59:19 -07:00
libuutil Tear down and flush the mmap region 2011-06-27 09:59:19 -07:00
libzfs Tear down and flush the mmap region 2011-06-27 09:59:19 -07:00
libzpool Tear down and flush the mmap region 2011-06-27 09:59:19 -07:00
Makefile.am Add missing libspl+libzpool libs to libzfs 2011-03-03 15:48:57 -08:00
Makefile.in Tear down and flush the mmap region 2011-06-27 09:59:19 -07:00