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
|