When we use pagebuf_find to get hold of an incore buffer it adds a
reference count. Since these buffers are usually on the delwri queue
there was already a reference. We need to remove them from the
delwri queue (which drops that reference) in the case where we
decide to push them out ourselves. Without this we end up with
a bunch of pagebufs which cannot go away until unmount.
Date: Fri Jul 21 05:49:14 PDT 2000
Workarea: 192.82.201.160:/usr/src/lord/2.4.0-test1
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.0-test1-xfs
Modid: 2.4.0-test1-xfs:slinx:67278a
linux/fs/xfs/xfs_extfree_item.c - 1.42
- Fix a cast
linux/fs/xfs/xfs_inode_item.c - 1.91
- When a buffer is grabbed via xfs_incore and we decide to write it
directly, it must be removed from the delwri queue and the reference
count fixed up.
linux/fs/xfs/xfs_dquot.c - 1.49
- When a buffer is grabbed via xfs_incore and we decide to write it
directly, it must be removed from the delwri queue and the reference
count fixed up.
|