Hello, since the discussion has calmed down, here is a third iteration of the patches. Fengguang, can you put them into your tree and merge them with Linus? Thanks. Changes since v2: * removed return value of balance_dirty_pages() since it didn't seem that useful after all. * kept fatal_signal_pending() check in generic_perform_write() since I don't think possible partial writes when app receives SIGKILL are a problem. Changes since v1: * slightly moved the check in balance_dirty_pages() as Fengguang requested * made balance_dirty_pages() return EINTR if fatal signal was detected * changed check for signal to check for fatal signal in generic_perform_write() to avoid unexpected results for userspace applications. Honza -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html