History log of /haiku/src/add-ons/kernel/file_systems/nfs4/NFS4Object.cpp
Revision Date Author Comments
# 6e375b85 20-Jun-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Remove assertion against NFS4ERR_NOFILEHANDLE

According to the NFS4 specification NFS4ERR_NOFILEHANDLE is returned only
when the clients sends malformed request. FreeBSD nfsd implementation chooses
to ignore that fact and returns this error code also for correctly formed
requests that it can not service due to the restrictions in the server
configuration.


# 51fb5593 13-Jun-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix CID #1032257: ERR_DENIED is expected only when a cookie is given


# 04fa44c3 13-Jun-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix CID #1032280: Prevent integer overflow

* Do not increase delay after tenth attempt
* Cast 1 to bigtime_t before shifting it left


# 968cf7c8 08-Apr-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: make sure retry delay won't get out of bigtime_t range


# 75ff6e99 08-Apr-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: silent "suggest parentheses" GCC warning


# 9ac4430c 08-Apr-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: fix incrementing owner sequence id in some cases

If in a compound request an error occurs before the operation that takes
sequence id is executed (e.g. OPEN or LOCK) do not increment sequence id
regardless of the error code.


# fa1ca5e2 08-Apr-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: use exponential backoff when the server ask to wait


# 6136b82b 02-Jan-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix handling of retried CLOSE requests


# fee08ed6 02-Jan-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix typo: NFS4ERR_LOCKS_HELD instead of NFS4ERR_LOCK_HELD


# aa5a8cb3 24-Dec-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Add assertions for unexpected error codes

There are some NFS4 error codes we should not get if the client is operating
correctly.
CLID_INUSE may be caused only by incorrectly generated SETCLIENTID request.
NOFILEHANDLE, RESTOREFH and OP_ILLEGAL indicate that the client has sent
an incorrectly build request.
BAD_STATEID and BAD_SEQID indicate a bug in handling {open,lock}_owners.
LOCK_HELD happens when the client incorrectly cleans up after accessing a file.


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

nfs4: Add numerous assertion checks


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

nfs4: Fix node removal


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

nfs4: Make the client more configurable


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

nfs4: Check for semaphore creation errors in ConnectionBase classes


# 376eef4a 15-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Add node to inode to file handle map before notifying


# b6d5fa92 13-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Make sure that request are properly sequenced


# 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


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

nfs4: Reclaim delegations after server reboot


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

nfs4: Use one open state per inode


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

nfs4: Use global open owner, check whether delegation was granted


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

nfs4: NFS4Object::HandleErrors needs OpenState or OpenFileCookie object


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

nfs4: Do not open too much files on server


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

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


# 6e375b85bd650a528fe4f5e52791aeedbf23f5c6 20-Jun-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Remove assertion against NFS4ERR_NOFILEHANDLE

According to the NFS4 specification NFS4ERR_NOFILEHANDLE is returned only
when the clients sends malformed request. FreeBSD nfsd implementation chooses
to ignore that fact and returns this error code also for correctly formed
requests that it can not service due to the restrictions in the server
configuration.


# 51fb55934856c1a58b536632297a4aeed38e85ca 13-Jun-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix CID #1032257: ERR_DENIED is expected only when a cookie is given


# 04fa44c37e39953c1bc7b3e488cc9a7663dde56f 13-Jun-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix CID #1032280: Prevent integer overflow

* Do not increase delay after tenth attempt
* Cast 1 to bigtime_t before shifting it left


# 968cf7c83d9e4031b28bd6a22f901ff9d95a1383 08-Apr-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: make sure retry delay won't get out of bigtime_t range


# 75ff6e996f55c864cb6b303180dbd7efca580707 08-Apr-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: silent "suggest parentheses" GCC warning


# 9ac4430cd6c9a0e3928835387c4660f167ad1e73 08-Apr-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: fix incrementing owner sequence id in some cases

If in a compound request an error occurs before the operation that takes
sequence id is executed (e.g. OPEN or LOCK) do not increment sequence id
regardless of the error code.


# fa1ca5e20c4aefee918ed52799fb2c99fbe846e3 08-Apr-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: use exponential backoff when the server ask to wait


# 6136b82b1e04cc9c016268154502584fd01f8a7d 02-Jan-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix handling of retried CLOSE requests


# fee08ed6ad16a266c5dbfc70af16d17f18c6ff5d 02-Jan-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix typo: NFS4ERR_LOCKS_HELD instead of NFS4ERR_LOCK_HELD


# aa5a8cb346abcd13bd7c401f2e82153b661235e3 24-Dec-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Add assertions for unexpected error codes

There are some NFS4 error codes we should not get if the client is operating
correctly.
CLID_INUSE may be caused only by incorrectly generated SETCLIENTID request.
NOFILEHANDLE, RESTOREFH and OP_ILLEGAL indicate that the client has sent
an incorrectly build request.
BAD_STATEID and BAD_SEQID indicate a bug in handling {open,lock}_owners.
LOCK_HELD happens when the client incorrectly cleans up after accessing a file.


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

nfs4: Add numerous assertion checks


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

nfs4: Fix node removal


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

nfs4: Make the client more configurable


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

nfs4: Check for semaphore creation errors in ConnectionBase classes


# 376eef4a9b32abb57a38238a7e9eed5268f3079a 15-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Add node to inode to file handle map before notifying


# b6d5fa9204f9e7e12f557544770d7040382664e1 13-Aug-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Make sure that request are properly sequenced


# 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


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

nfs4: Reclaim delegations after server reboot


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

nfs4: Use one open state per inode


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

nfs4: Use global open owner, check whether delegation was granted


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

nfs4: NFS4Object::HandleErrors needs OpenState or OpenFileCookie object


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

nfs4: Do not open too much files on server


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

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