From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Junxiao Bi To: ocfs2-devel@oss.oracle.com, linux-aio@kvack.org Cc: jmoyer@redhat.com, mfasheh@suse.com, jlbec@evilplan.org, bcrl@kvack.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, joe.jin@oracle.com, dave.kleikamp@oracle.com Subject: [V2]fix ocfs2 aio/dio writing process hang Date: Tue, 5 Jun 2012 15:26:48 +0800 Message-Id: <1338881210-14863-1-git-send-email-junxiao.bi@oracle.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: 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