From: Jose L. <jab...@go...> - 2016-06-28 15:56:02
|
I didn't know about the low-level interface until you mentioned it. In any case, it would require a major rewrite of our system. On the other hand, the change to pass the fuse_file_info does not seem difficult because FUSE already has this data structure internally, it is simply not passing it to the user code. This change would also make the interface more consistent, namely, it goes in the direction of the the handler pairs getattr/fgetattr and truncate/ftruncate. On Tue, Jun 28, 2016 at 5:23 PM Nikolaus Rath <Nik...@ra...> wrote: > On Jun 28 2016, Jose Lopes < > jab...@pu...> wrote: > > Hi, > > > > I would like to continue the discussion on #58 as suggested by Nikratio. > > > > At Google, we would like to receive the file handle, specified in > > open, in the calls to chown, chgrp, utimensat, etc. > > > > In order to preserve backwards compatibility, there could be new > > handlers, such as, fchown, fchgrp, futimensat, or alternatively, a > > fsetattr handler, which by default forward the calls to the existing > > handlers, but if given they would allow clients to get the > > fuse_file_info in addition to the parameters that chown, chgrp, etc, > > already receive. > > > > What do you think? > > As I said in the bugtracker, if your file system is primarily > inode-based, why don't you use the low-level interface? > > Best, > -Nikolaus > > -- > GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F > Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F > > »Time flies like an arrow, fruit flies like a Banana.« > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > -- > fuse-devel mailing list > To unsubscribe or subscribe, visit > https://lists.sourceforge.net/lists/listinfo/fuse-devel > -- Jose Lopes Software Engineer jab...@go... Google Germany GmbH Erika-Mann-Straße 33 80636 München Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg Diese E-Mail ist vertraulich. Falls sie diese fälschlicherweise erhalten haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, dass die E-Mail an die falsche Person gesendet wurde. This e-mail is confidential. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person. |