Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1519430
| From | Miklos Szeredi <mszeredi@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: commit d7afaec0b564f0609e116f5: fuse: add FUSE_NO_OPEN_SUPPORT flag to INIT |
| Date | 2016-11-11 00:20 +0100 |
| Message-ID | <sC6Ns-4Ca-11@gated-at.bofh.it> (permalink) |
| References | <sC6aJ-494-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Nov 10, 2016 at 11:31 PM, Nikolaus Rath <Nikolaus@rath.org> wrote: > Hi Andrew, > > In commit d7afaec0b564f0609e116f5 you added a new FUSE_NO_OPEN_SUPPORT > flag. But as far as I can tell, the flag is simply accepted without > having any effect (including in libfuse). > > I tried to find related later commits, but did not find anything either. > > Am I missing something? Hmm, if fuse fs detects this flag, then it can return ENOSYS from open resulting in this and subsequent opens succeeding without further calls to userspace. If fuse fs doesn't detect this flag, it should not return -ENOSYS, as that will result in the open failing, it should instead implement a no-op open method. Could handle this in libfuse and that would make things easier for filesystem implementors that would want to use this feature. But I guess its use is relatively rare and so it doesn't really matter. Thanks, Miklos
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
commit d7afaec0b564f0609e116f5: fuse: add FUSE_NO_OPEN_SUPPORT flag to INIT Nikolaus Rath <Nikolaus@rath.org> - 2016-11-10 23:40 +0100
Re: commit d7afaec0b564f0609e116f5: fuse: add FUSE_NO_OPEN_SUPPORT flag to INIT Miklos Szeredi <mszeredi@redhat.com> - 2016-11-11 00:20 +0100
Re: commit d7afaec0b564f0609e116f5: fuse: add FUSE_NO_OPEN_SUPPORT flag to INIT Nikolaus Rath <Nikolaus@rath.org> - 2016-11-11 06:00 +0100
Re: commit d7afaec0b564f0609e116f5: fuse: add FUSE_NO_OPEN_SUPPORT flag to INIT Miklos Szeredi <mszeredi@redhat.com> - 2016-11-11 09:50 +0100
Re: commit d7afaec0b564f0609e116f5: fuse: add FUSE_NO_OPEN_SUPPORT flag to INIT Nikolaus Rath <Nikolaus@rath.org> - 2016-11-11 17:30 +0100
Re: commit d7afaec0b564f0609e116f5: fuse: add FUSE_NO_OPEN_SUPPORT flag to INIT Mike Marshall <hubcap@omnibond.com> - 2016-11-11 18:00 +0100
Re: commit d7afaec0b564f0609e116f5: fuse: add FUSE_NO_OPEN_SUPPORT flag to INIT Nikolaus Rath <Nikolaus@rath.org> - 2016-11-11 18:30 +0100
Re: commit d7afaec0b564f0609e116f5: fuse: add FUSE_NO_OPEN_SUPPORT flag to INIT Mike Marshall <hubcap@omnibond.com> - 2016-11-11 19:00 +0100
csiph-web