Camelia, the Perl 6 bug

IRC log for #gluster-dev, 2013-08-27

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

All times shown according to UTC.

Time Nick Message
00:50 awheeler joined #gluster-dev
01:12 badone joined #gluster-dev
01:43 awheeler joined #gluster-dev
02:02 awheeler joined #gluster-dev
02:19 bala joined #gluster-dev
02:25 MarcinEF joined #gluster-dev
02:26 awheeler joined #gluster-dev
02:26 awheeler joined #gluster-dev
02:45 asias joined #gluster-dev
03:09 awheeler joined #gluster-dev
03:21 shubhendu joined #gluster-dev
03:21 bharata-rao joined #gluster-dev
03:38 asias joined #gluster-dev
03:50 bulde joined #gluster-dev
04:04 ppai joined #gluster-dev
04:23 mohankumar__ joined #gluster-dev
04:29 bulde joined #gluster-dev
04:35 ndarshan joined #gluster-dev
04:41 ajha joined #gluster-dev
04:50 spandit joined #gluster-dev
04:50 aravindavk joined #gluster-dev
05:33 lalatenduM joined #gluster-dev
05:34 lalatenduM joined #gluster-dev
05:35 hagarth joined #gluster-dev
05:43 raghu joined #gluster-dev
05:45 bulde joined #gluster-dev
05:45 sgowda joined #gluster-dev
05:46 mohankumar__ guys, i am looking for help in fuse lookup
05:46 mohankumar__ for one of my bd xlator operation, i need to resolve a path by myself ie the path is sent as part of setxattr value
05:47 mohankumar__ any FUSE (bridge) expert here?
05:49 rjoseph joined #gluster-dev
05:50 sgowda mohankumar: what seems to be issue there? bd xlator is on the server side right? so why the resolution issue @ fuse
05:50 vshankar joined #gluster-dev
05:51 sgowda mohankumar: it would help if you explain the problem a bit more
05:51 mohankumar sgowda: its used for offloaded file cloning/snapshot.
05:52 mohankumar i already have required changes in glfs_[f]setxattr which resolves the destination path and clones
05:53 mohankumar now i want this support in FUSE layer so end user can use this feature
05:53 mohankumar scenario is, there is a file "fedora" i want to clone that into a file named "fedora_clone" (that exists)
05:53 mohankumar user will pass this setfattr command
05:53 mohankumar setfattr /media/fedora -n "clone" -v "fedora_clone"
05:54 mohankumar fuse will not resolve "fedora_clone" since its xattr value
05:55 mohankumar sgowda: ^^
05:55 sgowda mohankumar: thats correct
05:55 sgowda mohankumar: what you would have to do is handle the setxattr based on ur key "clone"
05:56 sgowda mohankumar: branch out if setxattr name is "clone", and treat the value "fedora_clone" as a path, and do resolve on it
05:58 mohankumar sgowda: yeah, thats how i started
05:58 mohankumar sgowda: so from fuse_setxattr i should call fuse_lookup ?
05:59 mohankumar i need to construct fuse_in_header_t and pass to fuse_lookup, before starting working on that
05:59 mohankumar i wanted to check if its really *doable* or not
05:59 sgowda mohankumar: if "fedora_clone" existed, then call fuse_resolve
05:59 mohankumar so seeking FUSE experts suggestions
06:00 mohankumar sgowda: at that point of time, how i will know fedora_clone exists or not, so fuse_lookup is needed!?
06:00 sgowda mohankumar: you claimed it already existed..
06:01 sgowda mohankumar: else fuse_resolve_entry does look you
06:01 mohankumar sgowda: requirement is it should exist
06:01 mohankumar but user can pass an non-existent file
06:01 sgowda mohankumar: in case it does not exist, do you intend to  create it?
06:02 mohankumar sgowda: no, it should err out
06:02 sgowda mohankumar: then calling a  resolve and handling it should be sufficient
06:03 mohankumar after lookup and resolve, the code will send gfid of the destination file dictionary and bd xlator uses that gfid to open
06:03 mohankumar ie sets gfid of the destination in dict, and bd xlator uses that
06:05 mohankumar sgowda: so construct a fuse_state in fuse_setxattr with destination file path and invoke fuse_resolve
06:05 mohankumar that should take care of resolving right?
06:09 bala joined #gluster-dev
06:21 rgustafs joined #gluster-dev
06:23 bala joined #gluster-dev
06:37 sgowda mohankumar:should be sufficient
06:38 aravindavk joined #gluster-dev
06:41 kanagaraj joined #gluster-dev
06:51 badone joined #gluster-dev
07:05 ndarshan joined #gluster-dev
07:18 kanagaraj joined #gluster-dev
07:36 hagarth @channelstats
07:36 glusterbot hagarth: On #gluster-dev there have been 27152 messages, containing 696595 characters, 119441 words, 657 smileys, and 70 frowns; 247 of those messages were ACTIONs. There have been 15603 joins, 193 parts, 15361 quits, 0 kicks, 10 mode changes, and 1 topic change. There are currently 45 users and the channel has peaked at 49 users.
08:43 mohankumar joined #gluster-dev
08:57 edward1 joined #gluster-dev
09:53 bharata-rao joined #gluster-dev
10:22 bharata-rao joined #gluster-dev
10:40 kkeithley1 joined #gluster-dev
10:51 hagarth joined #gluster-dev
11:36 ndarshan joined #gluster-dev
11:37 aravindavk joined #gluster-dev
12:03 hagarth joined #gluster-dev
12:07 jclift joined #gluster-dev
12:27 bulde joined #gluster-dev
12:53 awheeler joined #gluster-dev
12:54 awheeler joined #gluster-dev
13:12 aravindavk joined #gluster-dev
13:15 badone joined #gluster-dev
13:25 bala joined #gluster-dev
13:27 bala joined #gluster-dev
13:35 [o__o] left #gluster-dev
13:37 [o__o] joined #gluster-dev
13:38 [o__o] left #gluster-dev
13:40 [o__o] joined #gluster-dev
13:45 rgustafs joined #gluster-dev
13:47 jclift joined #gluster-dev
14:19 wushudoin joined #gluster-dev
15:22 bala joined #gluster-dev
15:57 spandit joined #gluster-dev
16:30 bulde joined #gluster-dev
16:39 bulde joined #gluster-dev
16:48 hagarth joined #gluster-dev
16:51 hagarth joined #gluster-dev
17:10 hagarth joined #gluster-dev
17:28 hagarth joined #gluster-dev
17:41 bala1 joined #gluster-dev
18:38 bulde joined #gluster-dev
18:46 wushudoin joined #gluster-dev
18:59 Technicool joined #gluster-dev
19:51 wushudoin joined #gluster-dev
19:51 wushudoin joined #gluster-dev
21:02 badone joined #gluster-dev
21:10 avati joined #gluster-dev
21:10 raghaven1rabhat joined #gluster-dev
21:10 hagarth_ joined #gluster-dev
21:27 avati joined #gluster-dev
21:27 raghaven1rabhat joined #gluster-dev
21:27 hagarth_ joined #gluster-dev
22:14 badone joined #gluster-dev
22:22 awheele__ joined #gluster-dev
22:54 bala joined #gluster-dev
22:57 bala1 joined #gluster-dev
23:14 awheeler joined #gluster-dev

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