gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gluster-devel] Suggested statedump sample strings for Bug 915629 (I


From: Vijay Bellur
Subject: Re: [Gluster-devel] Suggested statedump sample strings for Bug 915629 (Improve debuggability of inode/entry locks)
Date: Fri, 20 Sep 2013 15:19:32 +0530
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7

On 09/12/2013 06:02 PM, Anuradha Talur wrote:
Hi all,

The sample strings related to FOP to be printed in statedump to improve the 
debuggability of inode/entrylks are :

Sample statedump for WRITE is as follows:

inodelk.inodelk[0](ACTIVE)=type=WRITE, fop=WRITE, from offset=some-offset, for 
len-of-data=some-len, whence=0, start=0, len=0, pid = 0, 
owner=9c7fb90100000000, transport=0x221ef70, 
connection-id=atalur-4117-2013/09/12-06:30:12:765987-apv-client-0-0, granted at 
Thu Sep 12 12:02:06 2013

The FOPs and corresponding info that will be added to their statedump are given 
below.

1) "FALLOCATE | DISCARD" : FOP , len and offset

2) "CREATE | MKNOD | MKDIR" : FOP, loc and mode?

flags in case of CREATE would be useful.


3) "RMDIR | UNLINK" : FOP and loc

4) "LINK | SYMLINK | RENAME" : FOP , newloc and oldloc

5) "TRUNCATE | WRITEV" : FOP, offset and length_of_data

6) " FSETATTR | SETATTR" : FOP, loc, last_access_time and last_modification_time

valid would be useful. Arguments based on valid flags would be useful to have.


7) "REMOVEXATTR" : FOP, name and loc

8) "SETXATTR" : FOP and loc
>

9) "FSETXATTR" : FOP and flags?


Printing keys/names for setxattr would be useful. Avoidable if there are a lot of key-value pairs in the dict.

-Vijay




reply via email to

[Prev in Thread] Current Thread [Next in Thread]