Purges the specified block from the buffer cache.
#include <sys/types.h> #include <sys/errno.h> #include <sys/buf.h> void purblk (dev, blkno) dev_t dev; daddr_t blkno;
dev | Specifies the device containing the block to be purged. |
blkno | Specifies the block to be purged. |
The purblk kernel service purges (that is, makes unreclaimable by marking the block with a value of STALE) the specified block from the buffer cache.
The purblk kernel service can be called from the process environment only.
The purblk service has no return values.
The purblk kernel service is part of Base Operating System (BOS) Runtime.
The brelse kernel service, geteblk kernel service.
Block I/O Buffer Cache Kernel Services: Overview in AIX Kernel Extensions and Device Support Programming Concepts.
I/O Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.