mirror_zfs/lib/libspl/include
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
..
ia32 Tear down and flush the mmap region 2011-06-27 09:59:19 -07:00
rpc Tear down and flush the mmap region 2011-06-27 09:59:19 -07:00
sys Tear down and flush the mmap region 2011-06-27 09:59:19 -07:00
util Tear down and flush the mmap region 2011-06-27 09:59:19 -07:00
assert.h Add linux libspl support 2010-08-31 13:41:59 -07:00
atomic.h Add linux libspl support 2010-08-31 13:41:59 -07:00
attr.h Add linux libspl support 2010-08-31 13:41:59 -07:00
devid.h Add linux libspl support 2010-08-31 13:41:59 -07:00
libdevinfo.h Add linux libspl support 2010-08-31 13:41:59 -07:00
libgen.h Add missing mkdirp prototype 2010-12-14 10:06:44 -08:00
libshare.h Minimal libshare infrastructure 2011-02-04 16:14:29 -08:00
limits.h Add linux libspl support 2010-08-31 13:41:59 -07:00
locale.h Add linux libspl support 2010-08-31 13:41:59 -07:00
Makefile.am Support custom build directories and move includes 2010-09-08 12:38:56 -07:00
Makefile.in Tear down and flush the mmap region 2011-06-27 09:59:19 -07:00
note.h Add linux libspl support 2010-08-31 13:41:59 -07:00
priv.h Add linux libspl support 2010-08-31 13:41:59 -07:00
statcommon.h Add linux libspl support 2010-08-31 13:41:59 -07:00
stdio.h Add linux libspl support 2010-08-31 13:41:59 -07:00
stdlib.h Add linux libspl support 2010-08-31 13:41:59 -07:00
string.h Add linux libspl support 2010-08-31 13:41:59 -07:00
strings.h Add linux libspl support 2010-08-31 13:41:59 -07:00
stropts.h Add linux libspl support 2010-08-31 13:41:59 -07:00
synch.h Add linux libspl support 2010-08-31 13:41:59 -07:00
thread.h Add linux libspl support 2010-08-31 13:41:59 -07:00
tzfile.h Add linux libspl support 2010-08-31 13:41:59 -07:00
ucred.h Add linux libspl support 2010-08-31 13:41:59 -07:00
umem.h Add linux libspl support 2010-08-31 13:41:59 -07:00
unistd.h Use gethostid in the Linux convention. 2011-04-25 10:36:17 -05:00
zone.h Add linux libspl support 2010-08-31 13:41:59 -07:00