kernel - Add B_TTC flag (buffer cache try-to-cache flag)
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 12 Feb 2020 20:46:06 +0000 (12:46 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 12 Feb 2020 20:46:06 +0000 (12:46 -0800)
commita5f042263517718d1d651559db6f60b08244954a
treec27f4a2f34b0e5fd121aed86f0f040cccc290c42
parentdf9266a10be6cd0b01e4a6c9476af18c4350ded3
kernel - Add B_TTC flag (buffer cache try-to-cache flag)

* This allows filesystems to set a flag, B_TTC, that causes the
  kernel to attempt to cycle the underlying pages into PQ_CACHE
  when the buffer is disposed of.
sys/kern/vfs_bio.c
sys/sys/buf.h