History log of /haiku/src/add-ons/kernel/file_systems/nfs4/FileSystem.cpp
Revision Date Author Comments
# 0319710e 18-Nov-2020 Alexander von Gluck IV <kallisti5@unixzen.com>

nfs4: Improve tracing when DEBUG. Always show NFS errors

Change-Id: Idd6904258c479dc3d188bf245b1bae0d3849820b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3397
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# f87dd6dc 29-Oct-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: FileSystem::~FileSystem() make sure fServer is valid


# 2b66a08a 24-Sep-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Ignore superfluous slashes and get proper NFS4 share name


# b56330de 10-Apr-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: let nfs4 use kernel utils for random numbers


# 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.


# c65f77dc 13-Feb-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Make TRACE format strings 32/64 bit independent


# a0d5a922 04-Feb-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Try connecting to all getaddrinfo() results before giving up


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

nfs4: Fix few Inode::fOpenState related race conditions


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

nfs4: Avoid using empty string for RootInode name


# 332621d1 04-Jan-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Use DoublyLinkedList instead of custom FileSystem list implementation


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

nfs4: FileSystem may be destroyed before setting RPCServer private data


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

nfs4: Expect file system root path to be NULL


# b352cbf6 03-Dec-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Introduce VnodeToInode mapping

VnodeToInode is another abstraction layer between VFS vnodes and NFS nodes.
It simplifies dealing with race conditions as well as faking some guarantees
VFS expects but NFS does not provide.


# 81f2b971 01-Nov-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix race condition between inode creation and removal

If the underlying file system reuses inode numbers it is possible that
an entry of inode with reused id in InodeIdMap will be removed.
This patch should also improve behavior when one of many hard links
is removed.


# 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


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

nfs4: Fix file handle recovery


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

nfs4: Make the client more configurable


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

nfs4: Fix gcc4 warnings


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

nfs4: Let GenerateClientID take advantage of PeerAddress methods


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

nfs4: Do not repeat OPENATTR requests if not supported


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

nfs4: Fix server reboot recovery


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

nfs4: Recall all delegations when callback path is down


# 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


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

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


# c3b57e8e 11-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Use IPPROTO_* instead of enum Transport


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

nfs4: Rename Filehandle to FileHandle and Filesystem to FileSystem


# f87dd6dceb506ad3c779cd5c095270abf1c051e0 29-Oct-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: FileSystem::~FileSystem() make sure fServer is valid


# 2b66a08acb5ff1e603fc47b0c54fb5cfe8f1066c 24-Sep-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Ignore superfluous slashes and get proper NFS4 share name


# b56330de8eb15dd34fb002d1236f948c9922d6bb 10-Apr-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: let nfs4 use kernel utils for random numbers


# 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.


# c65f77dc10eed76812e0e605030970c29a8cde34 13-Feb-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Make TRACE format strings 32/64 bit independent


# a0d5a922d6440c2d4df51536fab9ef5057e021f5 04-Feb-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Try connecting to all getaddrinfo() results before giving up


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

nfs4: Fix few Inode::fOpenState related race conditions


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

nfs4: Avoid using empty string for RootInode name


# 332621d196b32ed04abf0e317ca0870d278a6c1c 04-Jan-2013 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Use DoublyLinkedList instead of custom FileSystem list implementation


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

nfs4: FileSystem may be destroyed before setting RPCServer private data


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

nfs4: Expect file system root path to be NULL


# b352cbf6ca8ed101ac83e0f87747b8be47dda1df 03-Dec-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Introduce VnodeToInode mapping

VnodeToInode is another abstraction layer between VFS vnodes and NFS nodes.
It simplifies dealing with race conditions as well as faking some guarantees
VFS expects but NFS does not provide.


# 81f2b97177995973754f099b35a0cdb66762508d 01-Nov-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Fix race condition between inode creation and removal

If the underlying file system reuses inode numbers it is possible that
an entry of inode with reused id in InodeIdMap will be removed.
This patch should also improve behavior when one of many hard links
is removed.


# 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


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

nfs4: Fix file handle recovery


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

nfs4: Make the client more configurable


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

nfs4: Fix gcc4 warnings


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

nfs4: Let GenerateClientID take advantage of PeerAddress methods


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

nfs4: Do not repeat OPENATTR requests if not supported


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

nfs4: Fix server reboot recovery


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

nfs4: Recall all delegations when callback path is down


# 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


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

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


# c3b57e8e834b942e3df0b77199b66640e3c3cf67 11-Jul-2012 Pawel Dziepak <pdziepak@quarnos.org>

nfs4: Use IPPROTO_* instead of enum Transport


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

nfs4: Rename Filehandle to FileHandle and Filesystem to FileSystem