mirror_zfs/scripts/zpool-config
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
..
dm0-raid0.sh Add build system 2010-08-31 13:41:27 -07:00
file-raid0.sh Add build system 2010-08-31 13:41:27 -07:00
file-raid10.sh Add build system 2010-08-31 13:41:27 -07:00
file-raidz2.sh Add build system 2010-08-31 13:41:27 -07:00
file-raidz.sh Add build system 2010-08-31 13:41:27 -07:00
hda-raid0.sh Add build system 2010-08-31 13:41:27 -07:00
lo-faulty-raid0.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
lo-faulty-raid10.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
lo-faulty-raidz2.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
lo-faulty-raidz3.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
lo-faulty-raidz.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
lo-raid0.sh Delay before destroying loopback devices 2011-06-03 14:38:25 -07:00
lo-raid10.sh Delay before destroying loopback devices 2011-06-03 14:38:25 -07:00
lo-raidz2.sh Delay before destroying loopback devices 2011-06-03 14:38:25 -07:00
lo-raidz.sh Delay before destroying loopback devices 2011-06-03 14:38:25 -07:00
Makefile.am Replace custom zpool configs with generic configs 2010-11-08 14:03:36 -08:00
Makefile.in Tear down and flush the mmap region 2011-06-27 09:59:19 -07:00
md0-raid5.sh Add build system 2010-08-31 13:41:27 -07:00
md0-raid10.sh Add build system 2010-08-31 13:41:27 -07:00
ram0-raid0.sh Add build system 2010-08-31 13:41:27 -07:00
scsi_debug-noraid.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
scsi_debug-raid0.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
scsi_debug-raid10.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
scsi_debug-raidz2.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
scsi_debug-raidz3.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
scsi_debug-raidz.sh Add zfault zpool configurations and tests 2010-10-12 15:20:03 -07:00
sda-raid0.sh Add build system 2010-08-31 13:41:27 -07:00
zpool-raid0.sh Replace custom zpool configs with generic configs 2010-11-08 14:03:36 -08:00
zpool-raid10.sh Replace custom zpool configs with generic configs 2010-11-08 14:03:36 -08:00
zpool-raidz.sh Replace custom zpool configs with generic configs 2010-11-08 14:03:36 -08:00