History log of /haiku/src/add-ons/kernel/file_systems/nfs4/InodeRegular.cpp
Revision Date Author Comments
# d072da23 20-Feb-2014 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Don't flush cache when closing read only share reservation

NFS4 specification requires that modified data has to be flushed before
sending CLOSE request. Our original implementation was stricter than that
by flushing all modified data at each file close. That caused problems
with e.g. Tracker, which likes to periodically open files for read only,
in a situation when there were still asynchronous writes pending
(e.g. large file copied).


# 1192182c 12-Jun-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix CID #991617: Set cookie file system at its creation


# 56efe80f 29-Apr-2013 Jérôme Duval <jerome.duval@gmail.com>

nfs4: fixed two warnings.

* warnings about comparison between signed and unsigned integer expressions.
* the use of max_c() was superflous anyway as the result is only used for a comparison
with the left value.


# 3ef8e34c 16-Apr-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: fix few issues related with file caches
* update metadata cache when writing to cache
* do not limit size of a io request
* minor checks in Inode::Write


# 469f13fd 25-Mar-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: support hard links properly

The main purpose of this patch is to prevent VFS from removing a vnode to early
what might have happened if the NFS client knew it had more than one name but
then one of them was deleted. Moreover, all discovered and still valid names
are stored what may be useful in proper file handle recovery when they are
volatile.

This patch fixes both #9558 and #9561.


# 80f94193 18-Mar-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix error handling issues in Inode::Open() and Inode::Create()

This fixes CID 991498.


# 15a18a6b 16-Jan-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix write commit race condition


# ce851e2b 16-Jan-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix few Inode::fOpenState related race conditions


# fea92e7b 08-Jan-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Save open mode in case of open reclaimation


# eed5b716 19-Dec-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix problems with reading directory entries
* Inode::ReadDir missed an entry when given buffer was too small
* Each OpenDirCookie now has its own copy of directory snapshot what
would prevent Inode::ReadDir from accessing freed memory when removing
files and reading directory entries simultaneously
* Several minor issues fixed


# 1e67a2cd 31-Oct-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Add numerous assertion checks


# bcb18a9b 31-Oct-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4, dns_resolver: fix numerous style violations


# cae470f9 14-Sep-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix some cache revalidator problems


# dee0fd83 16-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Update FileInfo at rename


# da950cb2 16-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix several problems with emulated attributes


# 45cd64ef 15-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix amount of data written when using AIO


# 70472e11 14-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Add basic emulation of named attributes


# b1fd656d 09-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix server reboot recovery


# 20d1b02e 09-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Add basic support for extended attributes


# 3ae5e813 07-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Implement node monitoring


# 49935f9b 06-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Check if user is allowed to use open state


# 224d6022 06-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Add support for CB_GETATTR


# f1fe25e5 06-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Repair O_TRUNC support


# cde3994e 06-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Return delegation before open upgrade


# 2c36184f 06-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Support delegations of created files


# e2e5f06d 05-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Do not sync too often if delegation is held


# bfa20379 05-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Reclaim delegations after server reboot


# 4a153753 05-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Return delegations when asked to


# e743e243 05-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Move cache management inside Inode class


# 52aaad17 05-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Use one open state per inode


# eeabdab1 03-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Do not open too much files on server


# 7efb4c9b 03-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Add ACCESS cache


# 0dbff361 03-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Move low level NFS4 code to Inode's base class


# d4a75b9c 03-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Use existing write cookie, do not send COMMIT if not necessary


# 36577ed5 26-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Use unstable writes and commit before close


# be4499d1 26-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Change write policy from write through to write back


# 0bc98afd 26-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Basic data cache implementation


# df6a5eae 24-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix several issues introduced in previous commits


# 78fc85a6 10-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Cache file attributes and filesystem info


# 00a8558c 08-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Rename Filehandle to FileHandle and Filesystem to FileSystem


# b664395b 04-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Remove several superfluous 'else'


# 8f57d30e 03-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Abandon owner and owner_group when id mapping causes problems


# ed097dd0 03-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Do not attempt to set owner, owner_group when not supported


# b2cea80c 03-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Add id mapper


# a28e8732 02-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Use FileInfo instead of filehandle to identify a file


# 0f4dcd8b 02-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: OpenConfirm used wrong filehandle


# 2a73e4c5 28-Jun-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Put file and dir specific code in separate files


# d072da23441ac6843722b30a8d2df68cbee16b5e 20-Feb-2014 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Don't flush cache when closing read only share reservation

NFS4 specification requires that modified data has to be flushed before
sending CLOSE request. Our original implementation was stricter than that
by flushing all modified data at each file close. That caused problems
with e.g. Tracker, which likes to periodically open files for read only,
in a situation when there were still asynchronous writes pending
(e.g. large file copied).


# 1192182c891fc8001653472ab0e143c80b24e745 12-Jun-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix CID #991617: Set cookie file system at its creation


# 56efe80f8580cc91055ab5a0ada2a86237baad2c 29-Apr-2013 Jérôme Duval <jerome.duval@gmail.com>

nfs4: fixed two warnings.

* warnings about comparison between signed and unsigned integer expressions.
* the use of max_c() was superflous anyway as the result is only used for a comparison
with the left value.


# 3ef8e34c0adbe5d9cd72a2dc526a8d4e7340d82d 16-Apr-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: fix few issues related with file caches
* update metadata cache when writing to cache
* do not limit size of a io request
* minor checks in Inode::Write


# 469f13fdfe886f0eca9cc9204ad2e3da7377f7ba 25-Mar-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: support hard links properly

The main purpose of this patch is to prevent VFS from removing a vnode to early
what might have happened if the NFS client knew it had more than one name but
then one of them was deleted. Moreover, all discovered and still valid names
are stored what may be useful in proper file handle recovery when they are
volatile.

This patch fixes both #9558 and #9561.


# 80f94193c43c146ed235405c3bb8ae20082c76f4 18-Mar-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix error handling issues in Inode::Open() and Inode::Create()

This fixes CID 991498.


# 15a18a6b891de5945e958b4de54c0fbb462bc5fa 16-Jan-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix write commit race condition


# ce851e2bac9dba986b6e4243e4cccd6f4e59380c 16-Jan-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix few Inode::fOpenState related race conditions


# fea92e7bb3529b87f2cdce45448892644b1fa2fc 08-Jan-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Save open mode in case of open reclaimation


# eed5b716d0d47b766659295406c54f910dc1a092 19-Dec-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix problems with reading directory entries
* Inode::ReadDir missed an entry when given buffer was too small
* Each OpenDirCookie now has its own copy of directory snapshot what
would prevent Inode::ReadDir from accessing freed memory when removing
files and reading directory entries simultaneously
* Several minor issues fixed


# 1e67a2cdd9414d6f699f253161d19d4aa8fe35e6 31-Oct-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Add numerous assertion checks


# bcb18a9b361caf5ec949023dce39b831709a917d 31-Oct-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4, dns_resolver: fix numerous style violations


# cae470f9229eab46fe7e8dd8a8091f626504b394 14-Sep-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix some cache revalidator problems


# dee0fd8348ec064654517af747c9554c993eed4f 16-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Update FileInfo at rename


# da950cb2ef76ecc309a833bcf9cc748b16f78bc1 16-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix several problems with emulated attributes


# 45cd64efd9124013b28ce9c232f4d9c42df6cd56 15-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix amount of data written when using AIO


# 70472e11d37500a8cb434906f20254046bef0f5e 14-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Add basic emulation of named attributes


# b1fd656d454ab89fbfdac09fda1b6aafd81bbe89 09-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix server reboot recovery


# 20d1b02eefc137b62fac748323e6747c7f9e6ef3 09-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Add basic support for extended attributes


# 3ae5e813c43fe9602bbc5a06ee3821887f9e17cb 07-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Implement node monitoring


# 49935f9b4f55bfad77098bf6e2652c8163760bd6 06-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Check if user is allowed to use open state


# 224d602294491975618b856227b84120a5e1e0fc 06-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Add support for CB_GETATTR


# f1fe25e50864bd85cf8443b891d29dfa190b8c32 06-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Repair O_TRUNC support


# cde3994e6907eaa3324ce4918b259b65da290c84 06-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Return delegation before open upgrade


# 2c36184f198a0511e54da85e20b5bf1379503660 06-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Support delegations of created files


# e2e5f06d6e736c019ed37c475ff4f68e3c4f401c 05-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Do not sync too often if delegation is held


# bfa20379a3d5756dda6f3ebab0dcf52b6f4ca749 05-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Reclaim delegations after server reboot


# 4a153753100503cf374d01079fb29ca83d3ac44b 05-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Return delegations when asked to


# e743e243206509ccb41281a1aab140597bfb40b7 05-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Move cache management inside Inode class


# 52aaad172fd93ba9b286d237dd299746e6458e1b 05-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Use one open state per inode


# eeabdab19f7fe5d1a704d21cf0dbb67c0c80c8a7 03-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Do not open too much files on server


# 7efb4c9b493ccd82c277f013238cfc78aa8ab62d 03-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Add ACCESS cache


# 0dbff361721c31a831a7adda62f198b6e6960b23 03-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Move low level NFS4 code to Inode's base class


# d4a75b9c9f2d3d77613ee8f0acb66cabf2238377 03-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Use existing write cookie, do not send COMMIT if not necessary


# 36577ed54ba11c2e9b1a61f66cc2a704e2af7697 26-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Use unstable writes and commit before close


# be4499d19e0c76b87912cd497d945374dc84e294 26-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Change write policy from write through to write back


# 0bc98afd433d6b193773d937c06048b4ade01cd6 26-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Basic data cache implementation


# df6a5eaefa0e549032f0a58e9191679f2c1eb60c 24-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix several issues introduced in previous commits


# 78fc85a6ba25da91d4a0a591d53e0fad073f50d9 10-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Cache file attributes and filesystem info


# 00a8558cc75d9aee84f6d9b34c28d6706952558c 08-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Rename Filehandle to FileHandle and Filesystem to FileSystem


# b664395b9e9243f5d2de962913803bad6e3e4751 04-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Remove several superfluous 'else'


# 8f57d30ea4934abc215ae850fa3612474087d7a3 03-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Abandon owner and owner_group when id mapping causes problems


# ed097dd0a27587d885a777401a519bf03991d62e 03-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Do not attempt to set owner, owner_group when not supported


# b2cea80ce5328c07e9f5c42c72213c186737aea5 03-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Add id mapper


# a28e873222fd2e506c495feede6fcf7a5425e143 02-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Use FileInfo instead of filehandle to identify a file


# 0f4dcd8bb3017dc29db8bf6de88ebe65c3167ed7 02-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: OpenConfirm used wrong filehandle


# 2a73e4c578d91aa936a012a930d543154a94a1c0 28-Jun-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Put file and dir specific code in separate files