[PATCH 0/4] fsfreeze: from uninterruptible to killable
From: Marco Stornelli
Date: Fri Apr 26 2013 - 04:55:22 EST
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(-)
--
1.7.3.4
---
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/