]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fs: Make write(2) interruptible by SIGKILL
authorJan Kara <jack@suse.cz>
Wed, 16 Nov 2011 11:55:24 +0000 (19:55 +0800)
committerWu Fengguang <fengguang.wu@intel.com>
Thu, 17 Nov 2011 12:49:33 +0000 (20:49 +0800)
commitc37a78e51afb104a27e26291408c853002a575b8
tree00feed987ec2c3ce82bf69d535fd008f009521c8
parent468e6a20afaccb67e2a7d7f60d301f90e1c6f301
fs: Make write(2) interruptible by SIGKILL

Currently write(2) to a file is not interruptible by a signal. Sometimes this
is desirable (e.g. when you want to quickly kill a process hogging your disk or
when some process gets blocked in balance_dirty_pages() indefinitely due to a
filesystem being in an error condition).

Reported-by: Kazuya Mio <k-mio@sx.jp.nec.com>
Tested-by: Kazuya Mio <k-mio@sx.jp.nec.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
mm/filemap.c