xfs
[Top] [All Lists]

Re: fix 2.4-xfs pagebuf request

To: ASANO Masahiro <masano@xxxxxxxxxxxxxx>
Subject: Re: fix 2.4-xfs pagebuf request
From: Stephen Lord <lord@xxxxxxx>
Date: 27 Oct 2002 07:02:29 -0600
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20021027161351Z.masano@tnes.nec.co.jp>
References: <20021027161351Z.masano@tnes.nec.co.jp>
Sender: linux-xfs-bounce@xxxxxxxxxxx
On Sun, 2002-10-27 at 01:13, ASANO Masahiro wrote:
> Hi,
> 
> I found a bug at current 2.4 CVS about `struct pagesync_t'.
> Some driver top-half may call buffer_head.b_end_io() on process
> context (not interrupt context). So _end_pagebuf_page_io_multi() may
> be called several times with remain==1.

Ah, I see the problem, we may get I/O completion callbacks before we
have submitted all the parts of the I/O. Which does indeed mean we
can get I/O completion calls more than expected.

Thank you.

Steve



<Prev in Thread] Current Thread [Next in Thread>