xfs
[Top] [All Lists]

TAKE - Rework pagebuf_delwri_flush to be list safe

Subject: TAKE - Rework pagebuf_delwri_flush to be list safe
From: Russell Cattelan <cattelan@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 12 Aug 2003 17:38:42 -0500
Sender: linux-xfs-bounce@xxxxxxxxxxx
Date:  Tue Aug 12 15:38:26 PDT 2003
Workarea:  chuckle.americas.sgi.com:/go/xfs2/XFS/xfs-linux

The following file(s) were checked into:
  bonnie.engr.sgi.com:/isms/slinx/xfs-linux


Modid:  xfs-linux:slinx:155660a
pagebuf/page_buf.c - 1.129
        - Rework the global list handling of pbd_delwrite_queue.
          We were dropping the list lock while scanning the list    
          while starting pagebuf IO, which could lead to an inconsistent list.  
   
          Change the code to scan the list looking for all pagebuf's that can
          be flushed placing them on a local temporary list.                    
    
          Then walk the temporary list NOT under the global lock firing off IO 
          and subsequently waiting for IO to finish if told to so.



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - Rework pagebuf_delwri_flush to be list safe, Russell Cattelan <=