linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alex Richman <alex@richman.io>
To: Stef Bon <stefbon@gmail.com>, miklos@szeredi.hu
Cc: "linux-fsdevel@vger.kernel.org" <linux-fsdevel@vger.kernel.org>
Subject: Re: Fuse fgetattr() Not Being Called By fstat()
Date: Mon, 18 Jul 2016 17:15:17 +0100	[thread overview]
Message-ID: <CAKqgnx8A5e73quEswfXwKNu5io4eqmkt9ExXF2T8CiT=o+QdKA@mail.gmail.com> (raw)
In-Reply-To: <CANXojcx=nGwtGyRgs_cHgjKvYJhaT8=saKTEuy8AJsb+xAmnWQ@mail.gmail.com>

Hi Stef,

Thanks for the reply.

I think you might be right about it not being implemented - I did a
little googling and found some _old_ (2007) threads about adding it:
https://lwn.net/Articles/251228/
http://lkml.iu.edu/hypermail/linux/kernel/0710.3/0183.html
It looks like those patches never went anywhere for various reasons,
and fgetattr isn't in the kernel, but libfuse does have the interfaces
and the FUSE_GETATTR_FH flag is mentioned in both the kernel and
libfuse?

I've added Miklos, who was the creator of those threads and I believe
a maintainer of libfuse.  Hope you don't mind the email Miklos, maybe
you could shed some light on this? :)

Cheers,
- Alex.

On 18 July 2016 at 14:17, Stef Bon <stefbon@gmail.com> wrote:
> Hi,
>
> as far as I can see is that the fgetattr is not implemented yet.
> The flag FUSE_GETATTR_FH has to be set.
> I've been looking to the page you've written, and I do not know why
> this is not set, the file has to be set.
>
> I will look into this a bit deeper.
> Stef

      reply	other threads:[~2016-07-18 16:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-18 12:34 Fuse fgetattr() Not Being Called By fstat() Alex Richman
2016-07-18 13:17 ` Stef Bon
2016-07-18 16:15   ` Alex Richman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKqgnx8A5e73quEswfXwKNu5io4eqmkt9ExXF2T8CiT=o+QdKA@mail.gmail.com' \
    --to=alex@richman.io \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=miklos@szeredi.hu \
    --cc=stefbon@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).