Changes needed in buffercache(9) for WAPBL
- All changes needed in vfs_bio.c
- Adding WAPBL headers
- Introducing buf_adjcnt to inform wapbl when a buffer has changed its size (get
it from Bitrig)
Hi guys, with this diff I'm trying to introduce WAPBL to OpenBSD a
little more splitted than befor
to start separating this out myself and
> > theo distracted me :)
> >
> > I'll take a look at this right away.
> >
> >
> > On Wed, Nov 25, 2015 at 8:27 AM, Walter Neto wrote:
> >> Changes needed in buffercache(9) for WAPBL
> >>
> &g
Introducing buf_adjcnt() from Bitrig.
It is needed to notify WAPBL that the buffer has size changes.
--
Walter Neto
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 9bf9b36..459b4fa 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -1206,6 +1206,14 @@ bcstats_print
Sorry guys, my bad.
It will not compile, there is a warning.
Here is the correct diff.
--
Walter Neto
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index 2ce876a..63bd7ca 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -1206,6 +1206,13 @@ bcstats_print(
}
#endif
+void
On Thu, Nov 26, 2015 at 11:01:58AM -0700, Bob Beck wrote:
> Duhh.. my bad walter. it's early.. as of yet undercaffinated.
>
No problem buddy!! :)
This diff adds B_CONTIG and B_METAONLY low-level allocation flags, and
the code to FFS allocate contiguously files.
This will be used to alloc WAPBL log file.
--
Walter Neto
diff --git a/sys/sys/buf.h b/sys/sys/buf.h
index c47f3f9..fd38c28 100644
--- a/sys/sys/buf.h
+++ b/sys/sys/buf.h
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
After mpi@ review
--
Walter Neto
diff --git a/sys/sys/buf.h b/sys/sys/buf.h
index c47f3f9..fd38c28 100644
--- a/sys/sys/buf.h
+++ b/sys/sys/buf.h
@@ -254,6 +254,8 @@ struct cluster_save {
/* Flags to low-level allocation routines. */
#define B_CLRBUF 0x01/* Request allocated buffer
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
On Sat, Nov 28, 2015 at 03:49:21PM -0700, Bob Beck wrote:
> On Fri, Nov 27, 2015 at 02:50:57PM -0200, Walter Neto wrote:
>
> You have a number of places here where you introduce a line of 8 spaces
> after your #endif - please clean up the trailing spaces, they shouldn't b
Fixed diff
Ok beck@ and tedu@
--
Walter Neto
diff --git a/sys/sys/buf.h b/sys/sys/buf.h
index c47f3f9..fd38c28 100644
--- a/sys/sys/buf.h
+++ b/sys/sys/buf.h
@@ -254,6 +254,8 @@ struct cluster_save {
/* Flags to low-level allocation routines. */
#define B_CLRBUF 0x01/* Request
, but I am
fully focused on making it work, and I hope to receive help from expert
developers.
Walter Neto
Index: sys/sys/mount.h
===
RCS file: /Volumes/CSP/cvs/src/sys/sys/mount.h,v
retrieving revision 1.121
diff -u -u -r1.121
>
> You're welcome to try, but I anticipate heartbraak ;)
>
> If you're going to try I'd rather see a diff you got *working* rather
> than just the structure definitions for
> something that might never be brought to fruition.
>
>
> On Tue, Sep 1, 2015 at 3:1
Like recommended from other developers I started developing WAPBL support for
OpenBSD.
Looking at NetBSD and Bitrig I mage a first funcional patch.
Index: sbin/mount/mntopts.h
===
RCS file: /Volumes/CSP/cvs/src/sbin/mount/mntopts.h,v
Adding WAPBL support for dumpfs(8)
next diffs:
- tunefs(8) showing log information and setting log size
- fsck_ffs(8) WAPBL support
ok jasper@
Index: sbin/dumpfs/dumpfs.c
===
RCS file: /Volumes/CSP/cvs/src/sbin/dumpfs/dumpfs.c,v
re
On Wed, Oct 28, 2015 at 12:50:24PM +0100, Jasper Lievisse Adriaanse wrote:
> On Wed, Oct 28, 2015 at 09:06:54AM -0200, Walter Neto wrote:
> > Adding WAPBL support for dumpfs(8)
> >
> > next diffs:
> > - tunefs(8) showing log information and setting log size
>
Hy..
I want to help OpenBSD developing a journaling system for UFS.
Someone can give me a tip?
Thanks.
ystem for UFS*... You can rest assured
> they're already aware that OpenBSD doesn't support journaling.
>
> | On Tue, Jun 2, 2015, 2:31 PM Walter Neto wrote:
> | > Hy..
> | >
> | > I want to help OpenBSD developing a journaling system for UFS.
> | >
>
Thanks guys..
I will read all the tips, and start to code..
Once I have a diff I share..
> On Jun 2, 2015, at 9:06 PM, Walter Neto wrote:
>
>
>> On Jun 2, 2015, at 5:03 PM, Paul de Weerd wrote:
>>
>> On Tue, Jun 02, 2015 at 07:33:58PM +, Stefan wrote:
>
Analising the tips, I decided to implement one given by Paul, It is less
dramatic, and solves the problem.
ok?
> On Jun 3, 2015, at 2:37 AM, Ville Valkonen wrote:
>
> Hi,
>
> On Jun 3, 2015 3:17 AM, "Walter Neto" wrote:
> >
> > Thanks guys..
> >
> On Jun 3, 2015, at 12:52 PM, Walter Neto wrote:
>
> Analising the tips, I decided to implement one given by Paul, It is less
> dramatic, and solves the problem.
Analysing*
sorry the english.. I’ll improve!
>
> ok?
>
>> On Jun 3, 2015, at 2:37 AM, Ville
21 matches
Mail list logo