All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem writing to ovl with CIFS as lower dir
@ 2016-02-04 16:02 Nikolay Borisov
  2016-02-04 16:11 ` David Howells
  0 siblings, 1 reply; 3+ messages in thread
From: Nikolay Borisov @ 2016-02-04 16:02 UTC (permalink / raw)
  To: Miklos Szeredi; +Cc: SiteGround Operations, linux-unionfs

Hello,

[I'm not subscribed to the list please CC me when replying]

I'm testing overlayfs on 3.12 (own-made port) and on 4.4 (to confirm
behavior) and what I observe is that when I try to write to a file in
the merge directory e.g:

echo "test" > merged/test-file1

I get -EINVAL on 3.12 and -ENXIO on 4.4. However, when I try to touch a
file in the merged directory I have no issues. This happens only when
the lower mount is either CIFS/NFS. When it's another ext4 directory I
have no problems whatsoever. Is this behavior expected, I'm willing to
assume I've screwed up the 3.12 port but given that I see this on 4.4
(no custom modifications) I'm beginning to think this is innate into the
the design?

Regards,
Nikolay

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem writing to ovl with CIFS as lower dir
  2016-02-04 16:02 Problem writing to ovl with CIFS as lower dir Nikolay Borisov
@ 2016-02-04 16:11 ` David Howells
  2016-02-04 17:28   ` Nikolay Borisov
  0 siblings, 1 reply; 3+ messages in thread
From: David Howells @ 2016-02-04 16:11 UTC (permalink / raw)
  To: Nikolay Borisov
  Cc: dhowells, Miklos Szeredi, SiteGround Operations, linux-unionfs

Ummm...  I wouldn't've thought that CIFS was allowed as the lower dir since it
supports case-independent filenames.

David

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Problem writing to ovl with CIFS as lower dir
  2016-02-04 16:11 ` David Howells
@ 2016-02-04 17:28   ` Nikolay Borisov
  0 siblings, 0 replies; 3+ messages in thread
From: Nikolay Borisov @ 2016-02-04 17:28 UTC (permalink / raw)
  To: David Howells
  Cc: Nikolay Borisov, Miklos Szeredi, SiteGround Operations,
	linux-unionfs

On Thu, Feb 4, 2016 at 6:11 PM, David Howells <dhowells@redhat.com> wrote:
> Ummm...  I wouldn't've thought that CIFS was allowed as the lower dir since it
> supports case-independent filenames.

Well, since the ovl_is_allowed_fs_type was removed I guess there is no
limitation as to what networked fs you could mount. But in any case, that's why
I also tested with NFS and also got the same result.

>
> David

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-04 17:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-04 16:02 Problem writing to ovl with CIFS as lower dir Nikolay Borisov
2016-02-04 16:11 ` David Howells
2016-02-04 17:28   ` Nikolay Borisov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.