Re: [Gluster-devel] The state of lock heal and inodelk/entrylk heal ?

2019-03-21 Thread Kinglong Mee
On 2019/3/21 14:59, Pranith Kumar Karampuri wrote:> On Thu, Mar 21, 2019 at 11:50 AM Pranith Kumar Karampuri mailto:pkara...@redhat.com>> wrote: On Thu, Mar 21, 2019 at 9:15 AM Kinglong Mee <mailto:kinglong...@gmail.com>> wrote: Hello folks, Lock self

[Gluster-devel] The state of lock heal and inodelk/entrylk heal ?

2019-03-20 Thread Kinglong Mee
download the glusterfs source but cannot find any code about lock heal. I wanna know the state of lock heal, and inodelk/entrylk heal. Can someone show me some information about it? thanks, Kinglong Mee ___ Gluster-devel mailing list Gluster-devel

Re: [Gluster-devel] [NFS-Ganesha-Devel] Re: Problems about cache virtual glusterfs ACLs for ganesha in md-cache

2018-10-12 Thread Kinglong Mee
On 2018/10/12 14:34, Soumya Koduri wrote:> On 10/12/18 7:22 AM, Kinglong Mee wrote: >> On 2018/10/11 19:09, Soumya Koduri wrote: >>> NFS-Ganesha's md-cache layer already does extensive caching of attributes >>> and ACLs of each file looked upon. Do you

Re: [Gluster-devel] Problems about cache virtual glusterfs ACLs for ganesha in md-cache

2018-10-11 Thread Kinglong Mee
l is different between md-cache and ganesha's cache, Ganesha caches xattr data depends on timeout, if timeout, ganesha get it from back-end glusterfs; Md-cache caches depneds on timeout too, but md-cache can delay the timeout for some cases. > > On 10/11/18 7:47 AM, Kinglong Mee

Re: [Gluster-devel] Problems about cache virtual glusterfs ACLs for ganesha in md-cache

2018-10-11 Thread Kinglong Mee
On 2018/10/11 12:10, Jiffin Tony Thottan wrote:> On Thursday 11 October 2018 08:10 AM, Raghavendra Gowdappa wrote: >> On Thu, Oct 11, 2018 at 7:47 AM Kinglong Mee > <mailto:kinglong...@gmail.com>> wrote: >> >> Cc nfs-ganesha, >> >> Md-cac

[Gluster-devel] Problems about cache virtual glusterfs ACLs for ganesha in md-cache

2018-10-10 Thread Kinglong Mee
y posix ACL exist or not. So, I'd prefer #2. Any comments are welcome. thanks, Kinglong Mee ___ Gluster-devel mailing list Gluster-devel@gluster.org https://lists.gluster.org/mailman/listinfo/gluster-devel

[Gluster-devel] Problems about cache virtual glusterfs ACLs for ganesha in md-cache

2018-10-09 Thread Kinglong Mee
che lookup according posix ACL at cache, if exist, make the virtual glusterfs ACL locally and return to gfapi; otherwise, send the request to glusterfsd. Virtual glusterfs ACLs are another format of posix ACLs, there are larger than posix ACLs, and always exist no matter the really posix ACL exist o

Re: [Gluster-devel] Problems about acl_get_file used in posix_pacl_get

2018-08-17 Thread Kinglong Mee
Hi Niels, On 2018/8/17 18:14, Niels de Vos wrote: > On Fri, Aug 17, 2018 at 05:22:17PM +0800, Kinglong Mee wrote: >> Hi Niels, >> >> On 2018/8/17 17:13, Niels de Vos wrote: >>> On Fri, Aug 17, 2018 at 03:04:43PM +0800, Kinglong Mee wrote: >>>> Hello

Re: [Gluster-devel] Problems about acl_get_file used in posix_pacl_get

2018-08-17 Thread Kinglong Mee
Hi Niels, On 2018/8/17 17:13, Niels de Vos wrote: > On Fri, Aug 17, 2018 at 03:04:43PM +0800, Kinglong Mee wrote: >> Hello folks, >> >> nfs-ganesha using the new gfapi named glfs_h_acl_set/glfs_h_acl_get, >> at xlator posix, glusterfsd calls acl_get_file/acl_set_fil

[Gluster-devel] Problems about acl_get_file used in posix_pacl_get

2018-08-17 Thread Kinglong Mee
return -1; } } ext_acl_p = __acl_to_xattr(acl_obj_p, &size); if (!ext_acl_p) return -1; error = setxattr(path_p, name, (char *)ext_acl_p, size, 0); free(ext_acl_p); return

Re: [Gluster-devel] trash.t failure

2018-04-18 Thread Kinglong Mee
if (is_fresh_file (&stat)) { return -ENOENT; } } .. } thanks, Kinglong Mee On 2018/4/18 14:49, Atin Mukherjee wrote: > > On Wed, 18 Apr 2018 at 10:43, Nigel Babu <mailto:nig...@redhat.com>> wrote: > > I'

Re: [Gluster-devel] [Nfs-ganesha-devel] nfsv3 client writing file gets Invalid argument on glusterfs with quota on

2018-03-11 Thread Kinglong Mee
On Thu, Mar 8, 2018 at 10:17 PM Daniel Gryniewicz wrote: > On 03/07/2018 10:21 PM, Kinglong Mee wrote: > > On 2018/3/7 21:10, Daniel Gryniewicz wrote: > >> On 03/06/2018 10:10 PM, Kinglong Mee wrote: > >>> On 2018/3/7 10:59, Kinglong Mee wrote: > >>>&g

Re: [Gluster-devel] [Nfs-ganesha-devel] nfsv3 client writing file gets Invalid argument on glusterfs with quota on

2018-03-07 Thread Kinglong Mee
On 2018/3/7 21:10, Daniel Gryniewicz wrote: > On 03/06/2018 10:10 PM, Kinglong Mee wrote: >> On 2018/3/7 10:59, Kinglong Mee wrote: >>> When using nfsv3 on glusterfs-3.13.1-1.el7.x86_64 and >>> nfs-ganesha-2.6.0-0.2rc3.el7.centos.x86_64, >>> I gets strange

Re: [Gluster-devel] nfsv3 client writing file gets Invalid argument on glusterfs with quota on

2018-03-06 Thread Kinglong Mee
On 2018/3/7 10:59, Kinglong Mee wrote: > When using nfsv3 on glusterfs-3.13.1-1.el7.x86_64 and > nfs-ganesha-2.6.0-0.2rc3.el7.centos.x86_64, > I gets strange "Invalid argument" when writing file. > > 1. With quota disabled; > nfs client mount nfs-ganesha share

[Gluster-devel] nfsv3 client writing file gets Invalid argument on glusterfs with quota on

2018-03-06 Thread Kinglong Mee
When using nfsv3 on glusterfs-3.13.1-1.el7.x86_64 and nfs-ganesha-2.6.0-0.2rc3.el7.centos.x86_64, I gets strange "Invalid argument" when writing file. 1. With quota disabled; nfs client mount nfs-ganesha share, and do 'll' in the testing directory. 2. Enable quota; # getfattr -d -m . -e hex /roo

[Gluster-devel] Ganesha caches bad directory entries when other glusterfs client(ganesha) creating files

2018-02-10 Thread Kinglong Mee
t entries from the same name directory; 6. GaneshaB gets the brick2's mtime as the directory's mtime; 7. At bad case, ganeshaB caches those entries (without the file created at #4). Is it a known issue? Maybe we should update the directory&#x

Re: [Gluster-devel] mem-pool: New macro GF_CALLOC2/GF_MALLOC2 supports assign release function

2017-08-31 Thread Kinglong Mee
pdate this change as adding a separate memory header for gfapi. I will push the new version this day or tomorrow. Maybe we should abandon those two patches, and start a new review for the new patch? thanks, Kinglong Mee ___ Gluster-devel mailing li

[Gluster-devel] High memory cost of glusterfsd when enable quota

2017-06-28 Thread Kinglong Mee
a fsname enable Sometime, needs disable quota and re-enable again, the high memory cost will appear. But, I can't find the high memory cost when debugging by valgrind, the memory cost will increase slowly to 10%. Any comments are welcome. thanks,

Re: [Gluster-devel] glusterfsd crash when using quota without io-threads

2017-06-28 Thread Kinglong Mee
Hi Sanoj, Do you testing with changing the 16K to 2M (default stack size)? If also overflowing, there must be an important issue exist; not overflowing, only the issue of 16K is small for marker without io-threads? thanks, Kinglong Mee On 6/28/2017 19:48, Sanoj Unnikrishnan wrote: >

Re: [Gluster-devel] glusterfsd crash when using quota without io-threads

2017-06-12 Thread Kinglong Mee
Hi Sanoj, What's your opinion about this problem? thanks, Kinglong Mee On 6/9/2017 17:20, Kinglong Mee wrote: > Hi Sanoj, > > On 6/9/2017 15:48, Sanoj Unnikrishnan wrote: >> I have not used valgrind before, so I may be wrong here. >> >> I think the valgrind_s

[Gluster-devel] glusterfsd crash when using quota without io-threads

2017-06-07 Thread Kinglong Mee
After deleting io-threads from the vols, quota operates (list/set/modify) lets glusterfsd crash. I use it at CentOS 7 (CentOS Linux release 7.3.1611) with glusterfs 3.8.12. It seems the stack corrupt, when testing with the following diff, glusterfsd runs correctly. There are two questions as, 1.

Re: [Gluster-devel] [Nfs-ganesha-devel] Device or resource busy when runltp cleanup test-files

2017-04-20 Thread Kinglong Mee
Sorry for the late reply. On 4/16/2017 22:31, Vijay Bellur wrote: > > > On Wed, Apr 12, 2017 at 10:37 PM, Kinglong Mee <mailto:mijinl...@open-fs.com>> wrote: > > Yes, this one is silly rename, > > >>> rm: cannot remove > ‘/mnt/nfs/ltp-JEYAuk

Re: [Gluster-devel] [Nfs-ganesha-devel] Device or resource busy when runltp cleanup test-files

2017-04-13 Thread Kinglong Mee
ent-0 gvtest-client-1 end-volume volume gvtest type debug/io-stats option count-fop-hits off option latency-measurement off option log-level INFO subvolumes gvtest-dht end-volume thanks, Kinglong Mee On 4/13/2017 10:17, Malahal Naineni wrote: > Sorry, I missed your not

Re: [Gluster-devel] [Nfs-ganesha-devel] Device or resource busy when runltp cleanup test-files

2017-04-13 Thread Kinglong Mee
e. > > On Apr 12, 2017 8:06 PM, "Kinglong Mee" <mailto:mijinl...@open-fs.com>> wrote: > > When I testing ganesha nfs bases on glusterfs, the runltp always warning > as, > > rm: cannot remove ‘/mnt/nfs/ltp-JEYAuky2dz/.nfsaa46457a6a72f8ea14f5’: &

[Gluster-devel] Device or resource busy when runltp cleanup test-files

2017-04-13 Thread Kinglong Mee
When I testing ganesha nfs bases on glusterfs, the runltp always warning as, rm: cannot remove ‘/mnt/nfs/ltp-JEYAuky2dz/.nfsaa46457a6a72f8ea14f5’: Device or resource busy rm: cannot remove ‘/mnt/nfs/ltp-JEYAuky2dz/rmderQsjV’: Directory not empty and, "rmderQsjV" also contains files at the b