]> 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>
Wed, 16 Nov 2011 11:56:10 +0000 (19:56 +0800)
commit751c5fe272eb14f33ab96dddf1edfaf6dc8e97bd
tree1000e0052791c2cfaa7f410cdc1249c5893b6d4c
parent499d05ecf990a7a7bbf9e0a273f9969f8ec69efc
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