Skip to content

fsfreeze: from uninterruptible to killable

Marco Stornelli linux-fsdevel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4fsfreeze: wait in killable state in __sb_start_writefs/super.c include/linux/fs.h+31 -120 replies
2/4fsfreeze: added new file_start_write_killabledrivers/block/loop.c fs/aio.c fs/coda/file.c +3 more+48 -162 replies
3/4fsfreeze: use sb_start_write_killable instead of sb_start_writefs/open.c+6 -20 replies
4/4fsfreeze: return EINTR from mnt_want_write and mnt_want_write_filefs/namei.c fs/namespace.c ipc/mqueue.c+17 -32 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchJan Kara
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] fsfreeze: from uninterruptible to killable

Hi,

I re-send the patch series. The first three patches are not changed since the last review, but I add a fourth patch to manage the killable state in mnt_want_write/mnt_want_write_file. I did some tests and it seems ok to me. The hot points were do_last, kern_path_create and mq_open. At the moment the path not covered is the page_mkwrite, however it could be covered with a future patch. The work made until now is sufficient to give the user the possibility to do a "kill -9" in several cases.

Marco Stornelli (4):
fsfreeze: wait in killable state in __sb_start_write
fsfreeze: added new file_start_write_killable
fsfreeze: use sb_start_write_killable instead of sb_start_write
fsfreeze: return EINTR from mnt_want_write and mnt_want_write_file

 drivers/block/loop.c |    4 +++-
 fs/aio.c             |    7 +++++--
 fs/coda/file.c       |    4 +++-
 fs/namei.c           |    6 ++++++
 fs/namespace.c       |    8 ++++++--
 fs/open.c            |    8 ++++++--
 fs/read_write.c      |   28 +++++++++++++++++-----------
 fs/splice.c          |    4 +++-
 fs/super.c           |   24 ++++++++++++++++++------
 include/linux/fs.h   |   36 ++++++++++++++++++++++++++++++------
 ipc/mqueue.c         |    6 +++++-
 11 files changed, 102 insertions(+), 33 deletions(-)
Signature · 2 lines
1.7.3.4
---