[DragonFlyBSD - Bug #3179] KKASSERT(bp->b_flags & B_VMIO);
bugtracker-admin at leaf.dragonflybsd.org
bugtracker-admin at leaf.dragonflybsd.org
Wed Feb 27 09:38:25 PST 2019
Issue #3179 has been updated by dillon.
The buffer cache used to have B_MALLOC buffers, but I recently removed those so it should now generally only be able to have B_VMIO buffers. There are specialized buffers that are not B_VMIO, but they are not attached to vnodes and do not use the brelse() mechanism.
I'm not sure if I want to remove that else clause yet (line 1520-1531), but it does warrant clarification in the code comment so I will adjust the comment for now.
-Matt
----------------------------------------
Bug #3179: KKASSERT(bp->b_flags & B_VMIO);
http://bugs.dragonflybsd.org/issues/3179#change-13617
* Author: tkusumi
* Status: New
* Priority: Normal
* Assignee:
* Category:
* Target version:
----------------------------------------
This call
https://github.com/DragonFlyBSD/DragonFlyBSD/blob/master/sys/kern/vfs_bio.c#L1526
looks to be incorrect given
https://github.com/DragonFlyBSD/DragonFlyBSD/blob/master/sys/kern/vfs_bio.c#L3050
Not really sure how this "else" case happen though, as filesystem buffers are all B_VMIO (if not IO_VMIO).
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Bugs
mailing list