Perl 6 - the future is here, just unevenly distributed

IRC log for #gluster-dev, 2015-10-12

| Channels | #gluster-dev index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
01:00 vimal joined #gluster-dev
01:03 EinstCrazy joined #gluster-dev
01:05 zhangjn joined #gluster-dev
01:25 zhangjn_ joined #gluster-dev
01:47 ilbot3 joined #gluster-dev
01:47 Topic for #gluster-dev is now Gluster Development Channel - http://gluster.org | For general chat go to #gluster | Patches - http://review.gluster.org/ | Channel Logs - https://botbot.me/freenode/gluster-dev/ & http://irclog.perlgeek.de/gluster-dev/
01:59 zhangjn joined #gluster-dev
02:01 baojg joined #gluster-dev
02:13 zhangjn joined #gluster-dev
02:20 zhangjn joined #gluster-dev
02:23 dlambrig_ joined #gluster-dev
02:23 dlambrig_ left #gluster-dev
02:46 zhangjn joined #gluster-dev
02:51 baojg joined #gluster-dev
02:51 nishanth joined #gluster-dev
02:51 kshlm joined #gluster-dev
03:00 zhangjn joined #gluster-dev
03:08 nishanth joined #gluster-dev
03:09 rafi joined #gluster-dev
03:23 zhangjn joined #gluster-dev
03:30 zhangjn joined #gluster-dev
03:30 atinm joined #gluster-dev
03:42 ppai joined #gluster-dev
03:43 shubhendu joined #gluster-dev
03:47 baojg joined #gluster-dev
03:56 itisravi joined #gluster-dev
03:57 kotreshhr joined #gluster-dev
04:00 Byreddy joined #gluster-dev
04:02 kdhananjay joined #gluster-dev
04:05 hagarth joined #gluster-dev
04:05 kotreshhr left #gluster-dev
04:08 zhangjn joined #gluster-dev
04:09 zhangjn joined #gluster-dev
04:10 nbalacha joined #gluster-dev
04:15 gem joined #gluster-dev
04:23 hagarth joined #gluster-dev
04:26 rafi joined #gluster-dev
04:33 itisravi joined #gluster-dev
04:34 sakshi joined #gluster-dev
04:34 ppai joined #gluster-dev
04:38 pppp joined #gluster-dev
04:43 kotreshhr joined #gluster-dev
04:48 Bhaskarakiran joined #gluster-dev
04:50 Bhaskarakiran joined #gluster-dev
04:58 hchiramm_home joined #gluster-dev
04:59 aspandey joined #gluster-dev
05:00 skoduri|afk joined #gluster-dev
05:02 pranithk joined #gluster-dev
05:03 maveric_amitc_ joined #gluster-dev
05:03 kanagaraj joined #gluster-dev
05:04 shubhendu joined #gluster-dev
05:06 ndarshan joined #gluster-dev
05:13 rafi joined #gluster-dev
05:14 aravindavk joined #gluster-dev
05:16 nbalacha joined #gluster-dev
05:20 asengupt joined #gluster-dev
05:30 hgowtham joined #gluster-dev
05:31 Bhaskarakiran joined #gluster-dev
05:35 atalur joined #gluster-dev
05:48 deepakcs joined #gluster-dev
05:53 jiffin joined #gluster-dev
05:56 rjoseph joined #gluster-dev
06:08 anekkunt joined #gluster-dev
06:17 Manikandan joined #gluster-dev
06:18 ashiq joined #gluster-dev
06:20 poornimag joined #gluster-dev
06:21 itisravi joined #gluster-dev
06:22 msvbhat joined #gluster-dev
06:24 Gaurav__ joined #gluster-dev
06:24 raghu joined #gluster-dev
06:28 josferna joined #gluster-dev
06:30 vmallika joined #gluster-dev
06:40 spalai joined #gluster-dev
06:43 ashiq Manikandan++ thanks :)
06:43 glusterbot ashiq: Manikandan's karma is now 30
06:48 gem ashiq++
06:48 glusterbot gem: ashiq's karma is now 13
06:58 kdhananjay joined #gluster-dev
07:00 Humble joined #gluster-dev
07:11 ashiq joined #gluster-dev
07:14 josferna joined #gluster-dev
07:30 kdhananjay joined #gluster-dev
07:34 kdhananjay joined #gluster-dev
08:17 hgowtham joined #gluster-dev
08:20 mjrosenb Is there anyone around who can answer a few questions about the internals of DHT?
08:33 atalur_ joined #gluster-dev
08:34 byreddy_ joined #gluster-dev
08:39 mjrosenb :-(
08:42 jiffin spalai sakshi nbalacha: ^^
08:42 nbalacha mjrosenb, Hi. What would you like to knoe about DHT
08:43 mjrosenb so, I've modified the posix xlator to handle the .glusterfs directory slightly differnetly, and now on clients, chmod is saying "IO Error"
08:44 mjrosenb but as far as I can tell, the brick is doing everything the same for the chmod call.
08:44 mjrosenb I was able to understand that code, but the dht code is much less scrutable.
08:45 nbalacha mjrosenb, what changes have you made? Do the log files indicate where the error happened?
08:45 mjrosenb so, what does STACK_WIND do? it looks kind of like it is setting up for an rpc callback.
08:46 mjrosenb http://paste.pound-python.org/show/h9eZcdCWMMvcvCATZ4dp/
08:47 mjrosenb I ran the mount command with the argument --debug
08:47 mjrosenb also, what is this fresh_lookup thing?
08:49 nbalacha DHT does a fresh lookup when it determines that the file/dir has not been looked up before
08:49 asengupt joined #gluster-dev
08:50 nbalacha it does that by checking the inode ctx
08:50 mjrosenb what exactly does a lookup entail? is it basically stating the file?
08:52 zhangjn joined #gluster-dev
08:55 nbalacha It tries to find the file
08:56 nbalacha in the dht layer
08:57 mjrosenb ok, so it hashes the name, asks the apropriate brick, and possibly follows the linkto?
08:58 nbalacha yes
08:58 nbalacha if it doesn't find the file or the linkto on the hashed brick, it sends the request to all bricks
09:02 mjrosenb ok, so is there a special rpc to get the linkto, or does it just ask for the extended attributes?
09:03 nbalacha it sets a key in the extended attributes
09:03 spalai mjrosenb, you can browse the code to get all the details
09:03 spalai mjrosenb: so this linkto information is stored as a xattr on the file
09:04 mjrosenb spalai: I am browsing the code.
09:04 mjrosenb right, I know how it is stored, I just don't know how the client gets that information.
09:05 spalai mjrosenb: for any fop if client wants any extra info, it populates the dict structure with all the xattr key
09:05 spalai mjrosenb: server checks for these keys and responds back
09:09 mjrosenb so, it looks like when I call chmod +x beta on the client, it is doing a lookup, then calling setattr on the server, this would seem to indicate that the lookup succeeded.  Is it possible that the lookup did something that causes the entire operation to later get flagged as having an IO error?
09:11 jiffin1 joined #gluster-dev
09:11 spalai lookup seems to have succeded from DHT pov. As a result of your change, it might have errored out
09:15 mjrosenb but if it succeeded on the client, why would the client then say that an IO error occurred?
09:15 mjrosenb there isn't anything else in the client's log.
09:19 spalai Most likely it's your change which is give error here. You should check brick logs also as I guess you made changes in POSIX
09:21 maveric_amitc_ joined #gluster-dev
09:21 poornimag joined #gluster-dev
09:21 sakshi mjrosenb does an plain ls from the client also returning IO error?
09:22 rjoseph joined #gluster-dev
09:23 spalai left #gluster-dev
09:24 mjrosenb it doesn't say anything about an error
09:25 mjrosenb nor does ls --color=auto.
09:26 sakshi mjrosenb which means atleast the lookup is successful. Are there any error in the brick logs?
09:26 mjrosenb not for the ls.
09:27 sakshi yes, since ls is successful, what about for chmod?
09:27 mjrosenb oh, it looks like there is a superfluous error in posix_handle_hard for the chmod case.
09:27 spalai joined #gluster-dev
09:28 * mjrosenb tries to fix it.
09:30 hchiramm_home joined #gluster-dev
09:31 hgowtham joined #gluster-dev
09:37 mjrosenb blast, fixed it, but there's still an IO error on the client.
09:37 Guest41563 joined #gluster-dev
09:39 sakshi mjrosenb, can you check the brick and client logs again for error
09:39 Guest41563 hi. my name is Willy. I would like to ask if there is any resource (books) to learn about GlusterFS architecture/implementation in depth. My final project is about Gluster FS, and I would like to extend the functionality if possible. Thanks.
09:41 zhangjn joined #gluster-dev
09:44 mjrosenb ooh, new symptom, now the client can't see the file 'beta'
09:45 mjrosenb nope, just ran that before the server was up.
09:46 mjrosenb [2015-10-12 09:42:54.868616] E [dict.c:1418:dict_copy_with_ref] (-->0x806c3079f <server_resolve+143> at /usr/local/gluster-3.7.3/lib/glusterfs/3.7.3/xlator/protocol/server.so -->0x806c30365 <server_resolve_inode+101> at /usr/local/gluster-3.7.3/lib/glusterfs/3.7.3/xlator/protocol/server.so -->0x806c2fb7d <resolve_gfid+253> at /usr/local/gluster-3.7.3/lib/glusterfs/3.7.3/xlator/protocol/server.so ) 0-
09:46 glusterbot mjrosenb: ('s karma is now -9
09:46 mjrosenb dict: invalid argument: dict [Invalid argument]
09:46 mjrosenb no clue what that error means :-/
09:47 hagarth Guest41563: https://github.com/gluster/glusterfs/tree/master/doc/developer-guide is a good place to start with
09:51 maveric_amitc_ joined #gluster-dev
09:54 sakshi mjrosenb what exactly are the changes you made?
09:56 mjrosenb sakshi: I'm in the process of modifying it so that it accepts symlinks to files with a special xattr set to be more or less equivalent to hardlinks.
09:57 hagarth Guest41563: feel free to let us know if you require additional help
10:03 Bhaskarakiran joined #gluster-dev
10:04 Humble Guest41563, https://github.com/gluster/glusterfs/tree/master/doc/developer-guide
10:05 Humble ah.. sorry.. its already shared with you :)
10:12 mjrosenb ok, so where does dht actually do the rpc to the server to do the setattr?
10:15 * mjrosenb will check back tomorrow, and possibly start running the client under gdb to track this down :-(
10:20 Bhaskarakiran_ joined #gluster-dev
10:20 hagarth mjrosenb: are you on freebsd?
10:41 maveric_amitc_ joined #gluster-dev
10:47 ashiq could anyone look into these patchs   http://review.gluster.org/12087   http://review.gluster.org/11663
10:53 maveric_amitc_ joined #gluster-dev
10:57 zhangjn joined #gluster-dev
10:58 EinstCrazy joined #gluster-dev
11:00 EinstCrazy joined #gluster-dev
11:06 gem joined #gluster-dev
11:11 byreddy_ joined #gluster-dev
11:21 anekkunt joined #gluster-dev
11:24 jiffin1 joined #gluster-dev
11:28 Manikandan joined #gluster-dev
11:31 kdhananjay joined #gluster-dev
11:39 _iwc joined #gluster-dev
11:42 skoduri joined #gluster-dev
11:44 Bhaskarakiran_ joined #gluster-dev
11:44 jiffin1 joined #gluster-dev
11:49 Manikandan joined #gluster-dev
11:50 atalur_ joined #gluster-dev
11:50 rjoseph joined #gluster-dev
11:52 hchiramm_home joined #gluster-dev
12:01 jiffin1 joined #gluster-dev
12:05 shubhendu joined #gluster-dev
12:16 ppai joined #gluster-dev
12:19 shubhendu joined #gluster-dev
12:35 kotreshhr left #gluster-dev
12:49 ppai joined #gluster-dev
12:50 Guest41563 hargath: thanks
12:51 Guest41563 @Humble thanks
12:54 rafi1 joined #gluster-dev
13:01 lpabon joined #gluster-dev
13:12 shubhendu joined #gluster-dev
13:21 ira joined #gluster-dev
13:26 rjoseph joined #gluster-dev
13:42 dlambrig_ joined #gluster-dev
13:50 hagarth joined #gluster-dev
13:54 nbalacha joined #gluster-dev
14:09 asengupt joined #gluster-dev
14:14 josferna joined #gluster-dev
14:22 shyam joined #gluster-dev
14:32 atinm joined #gluster-dev
14:41 spalai left #gluster-dev
14:46 jobewan joined #gluster-dev
14:48 aravindavk joined #gluster-dev
14:49 atinm joined #gluster-dev
14:52 ggarg joined #gluster-dev
14:52 wushudoin joined #gluster-dev
15:00 poornimag joined #gluster-dev
15:00 ira joined #gluster-dev
15:04 shaunm joined #gluster-dev
15:21 skoduri joined #gluster-dev
15:52 atinm joined #gluster-dev
16:02 shubhendu joined #gluster-dev
16:09 hagarth joined #gluster-dev
16:17 nbalacha joined #gluster-dev
16:32 skoduri joined #gluster-dev
16:40 RedW joined #gluster-dev
17:03 maveric_amitc_ joined #gluster-dev
17:15 maveric_amitc_ joined #gluster-dev
17:38 hchiramm_home joined #gluster-dev
17:41 rafi joined #gluster-dev
18:28 shaunm joined #gluster-dev
18:41 spalai joined #gluster-dev
19:17 mikedep333 joined #gluster-dev
20:20 ira joined #gluster-dev
21:58 ira joined #gluster-dev
22:12 _Bryan_ joined #gluster-dev
23:01 lpabon joined #gluster-dev
23:15 zhangjn joined #gluster-dev
23:50 zhangjn joined #gluster-dev

| Channels | #gluster-dev index | Today | | Search | Google Search | Plain-Text | summary