Add a B_KEEPGIANT flag so non-SMPng code can get preferential treatment.

This commit is contained in:
Poul-Henning Kamp 2003-08-05 06:43:12 +00:00
parent b6499378e7
commit 8f25d34f31
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118462

View File

@ -222,7 +222,7 @@ struct buf {
#define B_MALLOC 0x00010000 /* malloced b_data */
#define B_CLUSTEROK 0x00020000 /* Pagein op, so swap() can count it. */
#define B_PHYS 0x00040000 /* I/O to user memory. */
#define B_00080000 0x00080000 /* Available flag. */
#define B_KEEPGIANT 0x00080000 /* Do not drop Giant in strategy() */
#define B_00100000 0x00100000 /* Available flag. */
#define B_DIRTY 0x00200000 /* Needs writing later (in EXT2FS). */
#define B_RELBUF 0x00400000 /* Release VMIO buffer. */