From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Stornelli Subject: [PATCH 0/4] fsfreeze: from uninterruptible to killable Date: Fri, 26 Apr 2013 10:48:00 +0200 Message-ID: <517A3F40.1030707@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: Linux Kernel , Jan Kara , Al Viro To: Linux FS Devel Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org 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 ---