From: Michał B. <mic...@ge...> - 2010-08-13 09:31:12
|
The whole communication with the master is on the level of i-nodes not paths. So the system has to have possibility to remap path on the i-node number. Generally most regular file systems under unix work this way. CUTOMA_FUSE_LOOKUP finds i-node number which is a descendant of i-node number N and name Y (N, Y)->M. For example to find i-node number of object “foo/has/bar” you need to make three LOOKUP operations: 1. LOOKUP(1, “foo”)->X 2. LOOKUP(X, “has”)->Y 3. LOOKUP(Y, “bar”)->Z And we know that object “foo/has/bar” has i-node number Z. Kind regards Michał Borychowski MooseFS Support Manager _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Gemius S.A. ul. Wołoska 7, 02-672 Warszawa Budynek MARS, klatka D Tel.: +4822 874-41-00 Fax : +4822 874-41-01 From: 夏亮 [mailto:xia...@zh...] Sent: Thursday, August 12, 2010 5:33 AM To: 'Michał Borychowski' Subject: 答复: [Moosefs-users] help Hi! I want to know when client CUTOMA_FUSE_LOOKUP data to master, what should be inode seted. thanks _____ 发件人: Michał Borychowski [mailto:mic...@ge...] 发送时间: 2010年8月10日 15:47 收件人: '夏亮' 抄送: moo...@li... 主题: RE: [Moosefs-users] help Hi! Please share with us where you would see the usage of such an interface? We already have a mini-library for this but it is not very efficient. It would need some additional mechanisms as read-ahead, etc. On the other hand FUSE works nicely and smoothly, we are not sure there is really need for the additional c library. If you would like to contribute to the project probably there would some other issues you could take care of :) Kind regards Michał Borychowski MooseFS Support Manager _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Gemius S.A. ul. Wołoska 7, 02-672 Warszawa Budynek MARS, klatka D Tel.: +4822 874-41-00 Fax : +4822 874-41-01 From: 夏亮 [mailto:xia...@zh...] Sent: Friday, August 06, 2010 4:41 AM To: moo...@li... Subject: [Moosefs-users] help Hi : I am programmer used c language. I want to add c interface in moosefs , which used like lidhdfs of hadoop. Could you give me some advice? thanks |