linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2 v2][RFC] fsfreeze: from uninterruptible to killable
@ 2013-04-08 16:20 Marco Stornelli
  0 siblings, 0 replies; only message in thread
From: Marco Stornelli @ 2013-04-08 16:20 UTC (permalink / raw)
  To: Linux FS Devel; +Cc: Jan Kara, Al Viro

Hi,

after some comments, I changed the scope of the patch series. As Al
said the call of freezing are too deep in the call chain and to avoid
several headaches it's better to manage an interruption by sigkill only
when the call are enough "near" to the user space.
About the pagefault: actually the return VM_FAULT_RETRY from
page_mkwrite it seems possible but it can create some problem to the callers. Inside
page_mkwrite we should check if the caller has set FAULT_FLAG_ALLOW_RETRY
but this flag is not passed to the page_mkwrite callback, any tips about this point?

Marco Stornelli (2):
  fsfreeze: add new internal __sb_start_write_wait
  fsfreeze: replace sb_start_write with sb_start_write_killable

 fs/btrfs/file.c    |    4 +++-
 fs/cifs/file.c     |    4 +++-
 fs/fuse/file.c     |    4 +++-
 fs/ntfs/file.c     |    4 +++-
 fs/ocfs2/file.c    |    4 +++-
 fs/open.c          |    8 ++++++--
 fs/splice.c        |    4 +++-
 fs/super.c         |   47 ++++++++++++++++++++++++++++++++++++++++-------
 fs/xfs/xfs_file.c  |    4 +++-
 include/linux/fs.h |   23 ++++++++++++++++++-----
 mm/filemap.c       |    4 +++-
 mm/filemap_xip.c   |    4 +++-
 12 files changed, 91 insertions(+), 23 deletions(-)

-- 
1.7.3.4
---


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-04-08 16:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-08 16:20 [PATCH 0/2 v2][RFC] fsfreeze: from uninterruptible to killable Marco Stornelli

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).