xfs
[Top] [All Lists]

TAKE - Fix assorted pagebuf problems

To: unlisted-recipients:; (no To-header on input)
Subject: TAKE - Fix assorted pagebuf problems
From: lord@xxxxxxx
Date: Mon, 5 Jun 2000 15:00:44 -0500
Sender: owner-linux-xfs@xxxxxxxxxxx
Fixes an SMP deadlock where one cpu is looking up a pagebuf and another
one is tearing it down.

Fixes some bmap calculations in the delalloc path which caused rpm builds
of libc to fall over - the rpm build is still failing for me, but later,
the ar which failed before now works.

Fixes a corruption problem where we zeroed a page rather than reading it
from disk.

Changes how much data the pagebuf daemon will flush on each run, and 
how it is started and stopped.

Date:  Mon Jun  5 12:59:04 PDT 2000
Workarea:  jen.cray.com:/src/lord/xfs-linux

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


Modid:  2.3.99pre2-xfs:slinx:63345a
linux/fs/Makefile - 1.16
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/Makefile.diff?r1=text&tr1=1.16&r2=text&tr2=1.15&f=h
        - Add -g3 to pagebuf compilation to help with debugging

linux/fs/page_buf_locking.c - 1.25
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/page_buf_locking.c.diff?r1=text&tr1=1.25&r2=text&tr2=1.24&f=h
        - Fixes SMP locking issue with tearing down a pagebuf

linux/fs/page_buf.c - 1.106
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/page_buf.c.diff?r1=text&tr1=1.106&r2=text&tr2=1.105&f=h
        - Fixes for invalid bmap calculations in delalloc case, SMP locking 
issues
          with tearing down a pagebuf, doing delalloc writes into pages which 
have
          been purged from cache. Also changes the pagebuf_deamon to be timer 
driven
          cleans up the daemon termination code, and makes it less agressive 
about
          flushing delwri data to disk.

linux/fs/xfs/linux/xfs_lrw.c - 1.47
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/linux/xfs_lrw.c.diff?r1=text&tr1=1.47&r2=text&tr2=1.46&f=h
        - Fixes for invalid bmap calculations in delalloc case.

linux/fs/xfs/linux/xfs_super.c - 1.73
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/fs/xfs/linux/xfs_super.c.diff?r1=text&tr1=1.73&r2=text&tr2=1.72&f=h
        - Simplified interface to pagebuf daemon startup, remove debug messages.

linux/include/linux/page_buf.h - 1.45
http://oss.sgi.com/cgi-bin/cvsweb.cgi/linux-2.4-xfs/linux/include/linux/page_buf.h.diff?r1=text&tr1=1.45&r2=text&tr2=1.44&f=h
        - Simplified interface to pagebuf daemon.



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - Fix assorted pagebuf problems, lord <=