From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756639Ab2F0JK5 (ORCPT ); Wed, 27 Jun 2012 05:10:57 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]:35345 "EHLO acsinet15.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752201Ab2F0JKz (ORCPT ); Wed, 27 Jun 2012 05:10:55 -0400 From: Junxiao Bi To: ocfs2-devel@oss.oracle.com, linux-aio@kvack.org Cc: mfasheh@suse.com, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, joe.jin@oracle.com Subject: [V4]fix ocfs2 aio/dio writing process hang Date: Wed, 27 Jun 2012 17:09:53 +0800 Message-Id: <1340788195-20623-1-git-send-email-junxiao.bi@oracle.com> X-Mailer: git-send-email 1.7.9.5 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org V4 changes: add Acked-by: Joel Becker V3 changes: - add Cc: stable@vger.kernel.org in the patch header to align with stable rules - add Acked-by: Jeff Moyer V2 changes: - update the patch header of the first patch to make it more clear. This patch list fixes an issue about ocfs2 aio/dio write process hang. The call trace is like this: @ cat /proc/15913/stack @ [] ocfs2_aiodio_wait+0x85/0xc0 [ocfs2] @ [] ocfs2_file_aio_write+0x99/0xa0 [ocfs2] @ [] aio_rw_vect_retry+0x87/0x150 @ [] aio_run_iocb+0x71/0x170 @ [] io_submit_one+0x1ab/0x280 @ [] do_io_submit+0x10c/0x1c0 @ [] sys_io_submit+0x10/0x20 @ [] system_call_fastpath+0x16/0x1b @ [] 0xffffffffffffffff