All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] overlayfs: support freeze/thaw/syncfs
@ 2017-01-19 12:13 Amir Goldstein
  2017-01-19 12:13 ` [PATCH 1/2] ovl: support freeze/thaw super Amir Goldstein
                   ` (4 more replies)
  0 siblings, 5 replies; 19+ messages in thread
From: Amir Goldstein @ 2017-01-19 12:13 UTC (permalink / raw)
  To: Miklos Szeredi; +Cc: Jan Kara, Al Viro, linux-unionfs, linux-fsdevel

Miklos,

I implemented freeze/thaw of overlayfs, because I need it for
overlay snapshots (CoW decision is made before mnt_wat_write(upper)
and I need to serialize it with snapshot take).

Not sure if there are other use cases for overlayfs freeze??

Tested freeze stress with xfstest generic/068 generic/390.

While staring at the code, I realized that syncfs(2) for overlayfs
seems broken.  It looks like only inodes are synced and upper fs
metadata is not being flushed, but I could be wrong.

Tested sync sanity with -g quick (although no test calls syncfs directly).
Tested the usual unionmount sanity over xfs and over tmpfs.

I am not sure exactly how to write a test case to verify this alleged
breakage?

Jan,

Can you please have a look?

Thanks,

Amir.

Amir Goldstein (2):
  ovl: support freeze/thaw super
  ovl: properly implement sync_filesystem()

 fs/overlayfs/super.c | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

-- 
2.7.4


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

end of thread, other threads:[~2017-04-04 19:07 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-19 12:13 [PATCH 0/2] overlayfs: support freeze/thaw/syncfs Amir Goldstein
2017-01-19 12:13 ` [PATCH 1/2] ovl: support freeze/thaw super Amir Goldstein
2017-01-23  8:47   ` Amir Goldstein
2017-01-23 13:23     ` Pavel Emelyanov
2017-01-23 13:23       ` Pavel Emelyanov
2017-04-03 11:27       ` Amir Goldstein
2017-04-04 17:47         ` Serge E. Hallyn
2017-04-04 18:01           ` Tycho Andersen
2017-04-04 18:59             ` Amir Goldstein
2017-04-04 19:07               ` Tycho Andersen
2017-01-19 12:13 ` [PATCH 2/2] ovl: properly implement sync_filesystem() Amir Goldstein
2017-01-24 17:14   ` Christoph Hellwig
2017-01-25 17:51     ` Amir Goldstein
2017-01-19 19:03 ` [PATCH 0/2] overlayfs: support freeze/thaw/syncfs Amir Goldstein
2017-01-20  8:27   ` Jan Kara
2017-01-20  8:41     ` Amir Goldstein
2017-01-20  8:49 ` Amir Goldstein
2017-01-20 12:03   ` Eryu Guan
2017-01-20  8:50 ` Jan Kara

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.