xfs
[Top] [All Lists]

TAKE - deal with stale pagebufs

Subject: TAKE - deal with stale pagebufs
From: Steve Lord <lord@xxxxxxx>
Date: Mon, 11 Feb 2002 12:47:35 -0600
Sender: owner-linux-xfs@xxxxxxxxxxx
There was never any code in pagebuf to deal with finding a stale
buffer in cache - finding one could lead to returning a null pointer
to the caller. In theory this should not happen - but a bug elsewhere
exposed the problem for me, possibly other people who have seen
crashes where a null pointer was dereferenced were victims of the
same thing

Date:  Mon Feb 11 10:42:29 PST 2002
Workarea:  jen.americas.sgi.com:/src/lord/xfs-linux.back

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


Modid:  2.4.x-xfs:slinx:111500a
linux/fs/xfs/xfs_buf.h - 1.80
        - use PBF_STALE to stale a buffer

linux/fs/xfs/pagebuf/page_buf_locking.c - 1.3
        - Deal with finding stale buffers in the cache

linux/fs/xfs/pagebuf/page_buf.c - 1.6
        - fix pagebuf tracing

linux/fs/xfs/pagebuf/page_buf.h - 1.3
        - Define PBF_STALE



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