summaryrefslogtreecommitdiffstats
path: root/include/sys/zfs_rlock.h
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-03-08 11:04:51 -0800
committerBrian Behlendorf <[email protected]>2011-03-08 11:04:51 -0800
commit126400a1ca656d41dea9d2ad88afbec3ed32d391 (patch)
treedb02ef882240eb9c51511e4a45155ce634c265ec /include/sys/zfs_rlock.h
parent53cf50e0816a89749b3ea4d51d5d9c9605bcc3e8 (diff)
Add zfs_open()/zfs_close()
In the original implementation the zfs_open()/zfs_close() hooks were dropped for simplicity. This was functional but not 100% correct with the expected ZFS sematics. Updating and re-adding the zfs_open()/zfs_close() hooks resolves the following issues. 1) The ZFS_APPENDONLY file attribute is once again honored. While there are still no Linux tools to set/clear these attributes once there are it should behave correctly. 2) Minimal virus scan file attribute hooks were added. Once again this support in disabled but the infrastructure is back in place. 3) Most importantly correctly handle assigning files which were opened syncronously to the intent log. Without this change O_SYNC modifications could be lost during a system crash even though they were marked synchronous.
Diffstat (limited to 'include/sys/zfs_rlock.h')
0 files changed, 0 insertions, 0 deletions