Skip to contentSkip to conversation

fsfreeze: from uninterruptible to killable

PATCH In review Marco Stornelli 1 participant 1 message Apr 26, 2013 VFS

lore
Share & tools
lore
#0 lore raw

cover 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
---