Change in ffilz/nfs-ganesha[next]: FSAL_VFS, FreeBSD: disable dummy handles for now
by GerritHub
From <fatih(a)gandi.net>:
fatih(a)gandi.net has uploaded this change for review. ( https://review.gerrithub.io/418820
Change subject: FSAL_VFS, FreeBSD: disable dummy handles for now
......................................................................
FSAL_VFS, FreeBSD: disable dummy handles for now
since we are using the internal fhandle structure from the kernel,
we cannot use it to flag dummy handles as it is done in PanFS
otherwise this causes issues when ganesha is restarted,
files already opened by clients are considered dummy
disable dummy handles on vanilla kernel until a proper fix is found
Change-Id: Ic9275741cd1264559eb49400dca16dff1191deaf
Signed-off-by: Fatih Acar <fatih.acar(a)gandi.net>
---
M src/FSAL/FSAL_VFS/os/freebsd/handle_syscalls.c
1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/20/418820/1
--
To view, visit https://review.gerrithub.io/418820
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic9275741cd1264559eb49400dca16dff1191deaf
Gerrit-Change-Number: 418820
Gerrit-PatchSet: 1
Gerrit-Owner: fatih(a)gandi.net
6 years, 5 months
Change in ffilz/nfs-ganesha[next]: FSAL_VFS, FreeBSD: use kernel default MAXFIDSIZE if required
by GerritHub
From <fatih(a)gandi.net>:
fatih(a)gandi.net has uploaded this change for review. ( https://review.gerrithub.io/418819
Change subject: FSAL_VFS, FreeBSD: use kernel default MAXFIDSIZE if required
......................................................................
FSAL_VFS, FreeBSD: use kernel default MAXFIDSIZE if required
PanFS uses a different value of MAXFIDSIZE
Change-Id: I7c1c02fe7f34b4139ef07dc11a965894532a65b2
Signed-off-by: Fatih Acar <fatih.acar(a)gandi.net>
---
M src/FSAL/FSAL_VFS/os/freebsd/handle_syscalls.c
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/19/418819/1
--
To view, visit https://review.gerrithub.io/418819
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7c1c02fe7f34b4139ef07dc11a965894532a65b2
Gerrit-Change-Number: 418819
Gerrit-PatchSet: 1
Gerrit-Owner: fatih(a)gandi.net
6 years, 5 months
Change in ffilz/nfs-ganesha[next]: FSAL_VFS: do not make use of fid_reserved on vanilla FreeBSD
by GerritHub
From <fatih(a)gandi.net>:
fatih(a)gandi.net has uploaded this change for review. ( https://review.gerrithub.io/418818
Change subject: FSAL_VFS: do not make use of fid_reserved on vanilla FreeBSD
......................................................................
FSAL_VFS: do not make use of fid_reserved on vanilla FreeBSD
this part is used in PanFS in order to have multiple types of FSIDs
in FreeBSD FSIDs are always two uint32 and fid_reserved is used for other purposes internally
detect if we are compiling for PanFS and add an exception to avoid this
Change-Id: I842f188daefbbcf3b582512510eab3ac545a2aad
Signed-off-by: Fatih Acar <fatih.acar(a)gandi.net>
---
M src/FSAL/FSAL_VFS/os/CMakeLists.txt
M src/FSAL/FSAL_VFS/os/freebsd/handle_syscalls.c
2 files changed, 8 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/18/418818/1
--
To view, visit https://review.gerrithub.io/418818
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I842f188daefbbcf3b582512510eab3ac545a2aad
Gerrit-Change-Number: 418818
Gerrit-PatchSet: 1
Gerrit-Owner: fatih(a)gandi.net
6 years, 5 months
Change in ffilz/nfs-ganesha[next]: FSAL_VFS: make lock_op2 FreeBSD compatible
by GerritHub
From <fatih(a)gandi.net>:
fatih(a)gandi.net has uploaded this change for review. ( https://review.gerrithub.io/418817
Change subject: FSAL_VFS: make lock_op2 FreeBSD compatible
......................................................................
FSAL_VFS: make lock_op2 FreeBSD compatible
OFD locks are not available on FreeBSD, make use POSIX locks instead
although lock_op2 should not be called since lock support will be disabled,
previous code prevents compiling correctly because lock_op2 would not be defined
Change-Id: If80118591bb55192863d25e354c1528c1cbb92e3
Signed-off-by: Fatih Acar <fatih.acar(a)gandi.net>
---
M src/FSAL/FSAL_VFS/file.c
1 file changed, 12 insertions(+), 3 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/17/418817/1
--
To view, visit https://review.gerrithub.io/418817
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: If80118591bb55192863d25e354c1528c1cbb92e3
Gerrit-Change-Number: 418817
Gerrit-PatchSet: 1
Gerrit-Owner: fatih(a)gandi.net
6 years, 5 months
Change in ffilz/nfs-ganesha[next]: cmake: link libntirpc first
by GerritHub
From <fatih(a)gandi.net>:
fatih(a)gandi.net has uploaded this change for review. ( https://review.gerrithub.io/418816
Change subject: cmake: link libntirpc first
......................................................................
cmake: link libntirpc first
otherwise it causes conflicts with FreeBSD libc's svc/rpc interfaces
Change-Id: I6060ec3d729698cd032708b593b1ad566070f97b
Signed-off-by: Fatih Acar <fatih.acar(a)gandi.net>
---
M src/CMakeLists.txt
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/16/418816/1
--
To view, visit https://review.gerrithub.io/418816
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6060ec3d729698cd032708b593b1ad566070f97b
Gerrit-Change-Number: 418816
Gerrit-PatchSet: 1
Gerrit-Owner: fatih(a)gandi.net
6 years, 5 months
Change in ffilz/nfs-ganesha[next]: config: fix ip addr parsing on FreeBSD
by GerritHub
From <fatih(a)gandi.net>:
fatih(a)gandi.net has uploaded this change for review. ( https://review.gerrithub.io/418815
Change subject: config: fix ip addr parsing on FreeBSD
......................................................................
config: fix ip addr parsing on FreeBSD
according to man getaddrinfo(3):
"All other elements of the addrinfo structure passed via hints must be
zero or the null pointer."
also fix error reporting by using gai_strerror
Change-Id: I470b79c1194f99fbc368047d702fa47a8a75823e
Signed-off-by: Fatih Acar <fatih.acar(a)gandi.net>
---
M src/config_parsing/config_parsing.c
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/15/418815/1
--
To view, visit https://review.gerrithub.io/418815
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I470b79c1194f99fbc368047d702fa47a8a75823e
Gerrit-Change-Number: 418815
Gerrit-PatchSet: 1
Gerrit-Owner: fatih(a)gandi.net
6 years, 5 months
Change in ffilz/nfs-ganesha[next]: SAL, recovery: add missing include
by GerritHub
From <fatih(a)gandi.net>:
fatih(a)gandi.net has uploaded this change for review. ( https://review.gerrithub.io/418814
Change subject: SAL, recovery: add missing include
......................................................................
SAL, recovery: add missing include
required for basename() function on FreeBSD
Change-Id: I6d9587e24f2901f7a6bd9f20ea9e68af9fdf54b6
Signed-off-by: Fatih Acar <fatih.acar(a)gandi.net>
---
M src/SAL/recovery/recovery_fs_ng.c
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/14/418814/1
--
To view, visit https://review.gerrithub.io/418814
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6d9587e24f2901f7a6bd9f20ea9e68af9fdf54b6
Gerrit-Change-Number: 418814
Gerrit-PatchSet: 1
Gerrit-Owner: fatih(a)gandi.net
6 years, 5 months
Change in ffilz/nfs-ganesha[next]: cmake: fix epoll check on FreeBSD
by GerritHub
From <fatih(a)gandi.net>:
fatih(a)gandi.net has uploaded this change for review. ( https://review.gerrithub.io/418813
Change subject: cmake: fix epoll check on FreeBSD
......................................................................
cmake: fix epoll check on FreeBSD
epoll is emulated on FreeBSD
Change-Id: Ic941f15e54a72e934b094711183a5c46e931f440
Signed-off-by: Fatih Acar <fatih.acar(a)gandi.net>
---
M src/cmake/modules/FindEPOLL.cmake
1 file changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/13/418813/1
--
To view, visit https://review.gerrithub.io/418813
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic941f15e54a72e934b094711183a5c46e931f440
Gerrit-Change-Number: 418813
Gerrit-PatchSet: 1
Gerrit-Owner: fatih(a)gandi.net
6 years, 5 months
Announce Push of V2.7-dev.19
by Frank Filz
Branch next
Tag:V2.7-dev.19
Release Highlights
* Delegation fixes
* posix_acls: fix use after freed of acl mask
* rpm: remove unneeded %defattr from %files sections
* Add client description in dbus DisplayExport command
* gtest/fsal_api: Changes in read2, write2 and close.
Signed-off-by: Frank S. Filz <ffilzlnx(a)mindspring.com>
Contents:
dd4c68a Frank S. Filz V2.7-dev.19
23ad18a grajoria gtest/fsal_api: Changes in read2, write2 and close.
f689c9b grajoria Add client description in dbus DisplayExport command
cbf56b2 Niels de Vos rpm: remove unneeded %defattr from %files sections
663ba1e Kinglong Mee posix_acls: fix use after freed of acl mask
6a40d17 Jeff Layton FSAL_UP: fix op_ctx handling in delegrecall_task
01935e6 Jeff Layton NFS: handle recalled CLAIM_PREVIOUS delegations
correctly
fdcb681 Jeff Layton SAL: remove unneeded else blocks in get_delegation
a253ffc Jeff Layton SAL: update_delegation_stats doesn't need a state_t
pointer
6 years, 5 months
Re: [Nfs-ganesha-devel] How to disable MDCACHE FSAL
by Daniel Gryniewicz
Hi.
The short answer is that you can't. MDCACHE provides the handle cache,
which ensures that obj_handle pointers are stable across calls, and
implements refcounting. Without it, Ganesha would crash immediately.
If you really want to, you can implement stable handle caching in your
FSAL, and then make a local modification to Ganesha to not stack, but
then you'll have to handle all the refcounting issues yourself.
Daniel
On 07/06/2018 11:35 AM, Tushar Shinde wrote:
> This list has been deprecated. Please subscribe to the new devel list at lists.nfs-ganesha.org.
> Hi,
>
> How can I disable default stacking of mdcache on V2.6-stable branch.
>
> Tushar.
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Nfs-ganesha-devel mailing list
> Nfs-ganesha-devel(a)lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
>
6 years, 5 months