xfs
[Top] [All Lists]

TAKE - fix possible log pauses

To: linux-xfs@xxxxxxxxxxx
Subject: TAKE - fix possible log pauses
From: Steve Lord <lord@xxxxxxxx>
Date: Fri, 26 May 2000 13:14:29 -0500 (CDT)
Sender: owner-linux-xfs@xxxxxxxxxxx
Fixes a case where we ended up replying some other thread to come along
and push iclogs out to disk to wake us up again.

Modid:  2.3.99pre2-xfs:slinx:62921a
Date:  Fri May 26 11:12:55 PDT 2000
Workarea:  clink.americas.sgi.com:/data/clink/io/lord/xfs-linux
Author:  lord

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

linux/fs/xfs/xfs_log.c - 1.218
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/xfs_log.c.diff?r1=text&tr1=1.218&r2=text&tr2=1.217&f=h
        - When flushing the xfs log to disk and we find the iclog we are
          interested in, but a previous log record has not yet started out
          to disk, we sleep. However, we sleep on our iclog rather than
          the one which must go to disk first. Change this to sleep on
          the previous iclog, this way we do not rely on some other thread
          coming along and pushing the log for us.


<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - fix possible log pauses, Steve Lord <=