#
711e2dc0 |
|
01-Dec-2021 |
Augustin Cavalier <waddlesplash@gmail.com> |
Adjust all struct dirent creations (again), this time to use offsetof(). The dirent struct is not packed, so offsetof(dirent, d_name) != sizeof(dirent). Thus in order not to waste the alignment bytes (which are significant, on x86_64 at least, sizeof(dirent)==32, but offsetof(...)=26.) This is also the most portable way to handle things, and should work just fine in cross-platform code that has a non-zero-sized d_name.
|
#
1192182c |
|
12-Jun-2013 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Fix CID #991617: Set cookie file system at its creation
|
#
fa1ca5e2 |
|
08-Apr-2013 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: use exponential backoff when the server ask to wait
|
#
c689b9f5 |
|
18-Mar-2013 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Fix CID 990984 and 991173: missing assignment in error check
|
#
65edbee7 |
|
16-Jan-2013 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: DirectoryCache::GetSnapshot may return NULL
|
#
4d120407 |
|
04-Jan-2013 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Remove CacheRevalidator There is no point in periodically revalidating all existing directory caches. Directory snapshot can be revalidated when readdir is invoked.
|
#
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
|
#
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.
|
#
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
|
#
da950cb2 |
|
16-Aug-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Fix several problems with emulated attributes
|
#
060a4636 |
|
16-Aug-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Make the client more configurable
|
#
70472e11 |
|
14-Aug-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Add basic emulation of named attributes
|
#
a5ae9b47 |
|
14-Aug-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Do not repeat OPENATTR requests if not supported
|
#
20d1b02e |
|
09-Aug-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Add basic support for extended attributes
|
#
2314d073 |
|
09-Aug-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Inode::GetDirSnapshot should not require OpenDirCookie
|
#
8afd81ba |
|
09-Aug-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Fix mounting server's root directory
|
#
f7c35cf4 |
|
08-Aug-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Add attribute directory related hooks
|
#
0dbff361 |
|
03-Aug-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Move low level NFS4 code to Inode's base class
|
#
df6a5eae |
|
24-Jul-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Fix several issues introduced in previous commits
|
#
7cac2f6e |
|
19-Jul-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Local creation of node should not invalidate the cache
|
#
6b9a91eb |
|
19-Jul-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: ReadDir sholud not including '..' and '.'
|
#
09dbdd36 |
|
19-Jul-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Add full directory cache implementation
|
#
7b6f80fe |
|
18-Jul-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Do not let local changes invalidate cache
|
#
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
|
#
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
|
#
2a73e4c5 |
|
28-Jun-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Put file and dir specific code in separate files
|
#
1192182c891fc8001653472ab0e143c80b24e745 |
|
12-Jun-2013 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Fix CID #991617: Set cookie file system at its creation
|
#
fa1ca5e20c4aefee918ed52799fb2c99fbe846e3 |
|
08-Apr-2013 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: use exponential backoff when the server ask to wait
|
#
c689b9f5f144eb53acbea56b83af1e99274d48e4 |
|
18-Mar-2013 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Fix CID 990984 and 991173: missing assignment in error check
|
#
65edbee7c8940db313544516950b88bb5381fa70 |
|
16-Jan-2013 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: DirectoryCache::GetSnapshot may return NULL
|
#
4d120407378d6ec21783c076cdbb753e81a62eba |
|
04-Jan-2013 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Remove CacheRevalidator There is no point in periodically revalidating all existing directory caches. Directory snapshot can be revalidated when readdir is invoked.
|
#
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
|
#
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.
|
#
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
|
#
da950cb2ef76ecc309a833bcf9cc748b16f78bc1 |
|
16-Aug-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Fix several problems with emulated attributes
|
#
060a4636e4a286dd70b9cbf335d12ddc10924937 |
|
16-Aug-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Make the client more configurable
|
#
70472e11d37500a8cb434906f20254046bef0f5e |
|
14-Aug-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Add basic emulation of named attributes
|
#
a5ae9b4752c300bcc39d9531581cbfae2525aec3 |
|
14-Aug-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Do not repeat OPENATTR requests if not supported
|
#
20d1b02eefc137b62fac748323e6747c7f9e6ef3 |
|
09-Aug-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Add basic support for extended attributes
|
#
2314d073afc14b7a0e5a1eb27925658b9f2cc212 |
|
09-Aug-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Inode::GetDirSnapshot should not require OpenDirCookie
|
#
8afd81bae22fa09e14593b6fd5dd07695604a77c |
|
09-Aug-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Fix mounting server's root directory
|
#
f7c35cf464752e44ce966c9a12d61882f5387611 |
|
08-Aug-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Add attribute directory related hooks
|
#
0dbff361721c31a831a7adda62f198b6e6960b23 |
|
03-Aug-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Move low level NFS4 code to Inode's base class
|
#
df6a5eaefa0e549032f0a58e9191679f2c1eb60c |
|
24-Jul-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Fix several issues introduced in previous commits
|
#
7cac2f6e50588ad130d2770ada1b1981569a1602 |
|
19-Jul-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Local creation of node should not invalidate the cache
|
#
6b9a91eb660bb88915f900678e3f3609b71135d1 |
|
19-Jul-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: ReadDir sholud not including '..' and '.'
|
#
09dbdd3644142673a8df63ae77ff8ccd4524c835 |
|
19-Jul-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Add full directory cache implementation
|
#
7b6f80fee2eee9724b8146cc480c0ffe87b25c32 |
|
18-Jul-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Do not let local changes invalidate cache
|
#
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
|
#
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
|
#
2a73e4c578d91aa936a012a930d543154a94a1c0 |
|
28-Jun-2012 |
Pawel Dziepak <pdziepak@quarnos.org> |
nfs4: Put file and dir specific code in separate files
|