WAPBL: Introducing B_LOCKED buffer flag

2015-11-26 Thread Walter Neto
Introducing B_LOCKED buffer flag With this flag we can protect buffers that will be used by WAPBL while doing the log of transactions. -- Walter Neto diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 63bd7ca..aa0575f 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -743,6 +74

Re: WAPBL: Introducing B_LOCKED buffer flag

2015-11-27 Thread Walter Neto
After mpi@ review -- Walter Neto diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 63bd7ca..29ebc81 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -743,6 +743,12 @@ brelse(struct buf *bp) * Determine which queue the buffer should be on, then put it there. *