Bcache Journal
Hi,
In the wiki, it is mentioned that bcache can run either with or without a journal.
What I'd like to ask is which is the default bcache configuration (journal on|off?) and is there an option in the make-bcache tool to change this configuration?
Thanks,
Alex
Quoted 7 lines · Alex Pyrgiotis
Hi,
In the wiki, it is mentioned that bcache can run either with or without a journal.
What I'd like to ask is which is the default bcache configuration (journal on|off?) and is there an option in the make-bcache tool to change this configuration?
That's out of dat... What page did you find that on? Running without a journal hasn't been an option in ages...
(You wouldn't want to run without the journal, it's there to improve performance)
Quoted 10 lines · Kent Overstreet
Quoted 7 lines · Alex Pyrgiotis
Hi,
In the wiki, it is mentioned that bcache can run either with or without a journal.
What I'd like to ask is which is the default bcache configuration (journal on|off?) and is there an option in the make-bcache tool to change this configuration?That's out of dat... What page did you find that on? Running without a journal hasn't been an option in ages...
Hi Kent,
Here's the link: http://bcache.evilpiepirate.org/Design#Journal
The out-dated part is "It is possible to create cache devices..."
Quoted 3 lines
(You wouldn't want to run without the journal, it's there to improve performance)
Yeah, I know. Just wanted to have a look at bcache's knobs and switches... Thanks again. :-)
Quoted 14 lines · Alex Pyrgiotis
Quoted 10 lines · Kent Overstreet
Quoted 7 lines · Alex Pyrgiotis
Hi,
In the wiki, it is mentioned that bcache can run either with or without a journal.
What I'd like to ask is which is the default bcache configuration (journal on|off?) and is there an option in the make-bcache tool to change this configuration?That's out of dat... What page did you find that on? Running without a journal hasn't been an option in ages...
Hi Kent,
Quoted 8 lines
Here's the link: http://bcache.evilpiepirate.org/Design#Journal
The out-dated part is "It is possible to create cache devices..."Quoted 3 lines
(You wouldn't want to run without the journal, it's there to improve performance)
Yeah, I know. Just wanted to have a look at bcache's knobs and switches... Thanks again.
Hi Kent,
Out of interest - I am also having trouble with the docs and I am getting them from the same server as Alex.
http://evilpiepirate.org/git/linux-bcache.git/tree/Documentation/bcache.txt
Just wondering if we are both looking in the wrong place??
The docs seem to be outdated somewhat.
As an example there is a list of sysfs entries described at the bottom of the page. A lot of these either do not exist or have changed names, and a lot of new ones seem to be added that are not listed in the docs.
Is this site the wrong place to be looking or are the docs simply out of date?
(If the docs are out of date then maybe we can help you maintain them.)
Regards,
James
Quoted 33 lines · James Sefton
Quoted 14 lines · Alex Pyrgiotis
Quoted 10 lines · Kent Overstreet
Quoted 7 lines · Alex Pyrgiotis
Hi,
In the wiki, it is mentioned that bcache can run either with or without a journal.
What I'd like to ask is which is the default bcache configuration (journal on|off?) and is there an option in the make-bcache tool to change this configuration?That's out of dat... What page did you find that on? Running without a journal hasn't been an option in ages...
Hi Kent,
Quoted 8 lines
Here's the link: http://bcache.evilpiepirate.org/Design#Journal
The out-dated part is "It is possible to create cache devices..."Quoted 3 lines
(You wouldn't want to run without the journal, it's there to improve performance)
Yeah, I know. Just wanted to have a look at bcache's knobs and switches... Thanks again.
Hi Kent,
Out of interest - I am also having trouble with the docs and I am getting them from the same server as Alex.
http://evilpiepirate.org/git/linux-bcache.git/tree/Documentation/bcache.txt
Quoted 8 lines
Just wondering if we are both looking in the wrong place??
The docs seem to be outdated somewhat.
As an example there is a list of sysfs entries described at the bottom of the page. A lot of these either do not exist or have changed names, and a lot of new ones seem to be added that are not listed in the docs.Is this site the wrong place to be looking or are the docs simply out of date?
That's the right place, some of that is out of date though. I think it's _mostly_ the sysfs stuff.
Quoted 1 line
(If the docs are out of date then maybe we can help you maintain them.)
Please do! All the documentation should be in the kernel tree, so you can just send me patches for that. Any questions about what it should say, go ahead and ask.
Hi Kent,
Help with the docs is something I can do and I would be pleased to have the chance to contribute something back.
I would like to expand the document somewhat so that there is a short quickstart guide, your information on how it all works, detailed command reference, a howto section showing how to do things (such as shrink backing device!) and finally an updated list of sysfs structure.
I notice you are currently doing a lot of work on MD integration. Is this functional yet? Should the documentation show how to use MD with bCache?
I will work on it offline and email you the text file for review and you can include it when you are happy with it.
Would this be okay or would you prefer to keep it as it is and just fix the errors?
Also, are there any guidelines/requirements for documentation content/format or is it simply just that it has to be in one plain text file?
If you are happy with all this, I will get on it as soon as I can. Please tell me if I am overstepping the mark here and you just want the docs fixing rather than expanding.
Regards,
James Sefton
Phase 5 Communications Ltd.
Tel: 01226 285600
-----Original Message-----
From: Kent Overstreet [mailto:[email protected]]
Sent: 02 November 2012 15:16
To: James Sefton
Cc: [email protected]
Subject: Re: Bcache Journal
Quoted 33 lines · James Sefton
Quoted 14 lines · Alex Pyrgiotis
Quoted 10 lines · Kent Overstreet
Quoted 7 lines · Alex Pyrgiotis
Hi,
In the wiki, it is mentioned that bcache can run either with or without a journal.
What I'd like to ask is which is the default bcache configuration (journal on|off?) and is there an option in the make-bcache tool to change this configuration?That's out of dat... What page did you find that on? Running without a journal hasn't been an option in ages...
Hi Kent,
Quoted 8 lines
Here's the link: http://bcache.evilpiepirate.org/Design#Journal
The out-dated part is "It is possible to create cache devices..."Quoted 3 lines
(You wouldn't want to run without the journal, it's there to improve performance)
Yeah, I know. Just wanted to have a look at bcache's knobs and switches... Thanks again.
Hi Kent,
Out of interest - I am also having trouble with the docs and I am getting them from the same server as Alex.
http://evilpiepirate.org/git/linux-bcache.git/tree/Documentation/bcache.txt
Quoted 8 lines
Just wondering if we are both looking in the wrong place??
The docs seem to be outdated somewhat.
As an example there is a list of sysfs entries described at the bottom of the page. A lot of these either do not exist or have changed names, and a lot of new ones seem to be added that are not listed in the docs.Is this site the wrong place to be looking or are the docs simply out of date?
That's the right place, some of that is out of date though. I think it's _mostly_ the sysfs stuff.
Quoted 1 line
(If the docs are out of date then maybe we can help you maintain them.)
Please do! All the documentation should be in the kernel tree, so you can just send me patches for that. Any questions about what it should say, go ahead and ask.
Quoted 5 lines · James Sefton
Hi Kent,
Help with the docs is something I can do and I would be pleased to have the chance to contribute something back.
I would like to expand the document somewhat so that there is a short quickstart guide, your information on how it all works, detailed command reference, a howto section showing how to do things (such as shrink backing device!) and finally an updated list of sysfs structure.
That'd be great. It'd really be valuable to have someone other than me working on those docs too, from the perspective of someone who doesn't already know the code through and through.
Quoted 1 line
I notice you are currently doing a lot of work on MD integration. Is this functional yet? Should the documentation show how to use MD with bCache?
No, I wasn't doing any of that work and it seems to have dropped off. I may pick it up myself at some point, but I don't know when I'll have time.
I have been thinking a bit about md integration of a different kind though, since I finally got bcache set up on my home machine caching my raid 6 - if bcache was aware of the layout of the stripes and perhaps there was some sort of communication between bcache and md, there'd be (possibly significant) room for improvement with write performance... that's kind of off topic though since I haven't started on that either.
Quoted 3 lines
I will work on it offline and email you the text file for review and you can include it when you are happy with it.
Would this be okay or would you prefer to keep it as it is and just fix the errors?
That'd be fine.
Quoted 1 line
Also, are there any guidelines/requirements for documentation content/format or is it simply just that it has to be in one plain text file?
I do like keeping it with the rest of the kernel documentation (which does mean plain text), but there's really no hard and fast rules - I just try to keep the style consistent.
Quoted 1 line
If you are happy with all this, I will get on it as soon as I can. Please tell me if I am overstepping the mark here and you just want the docs fixing rather than expanding.
Not at all! Go for it :)
I don't think there's any gaping holes, as far as functionality that isn't mentioned in the documentation or whatever - but there is a lot that could be fleshed out.
Background writeback and the algorithms/heuristics it uses, and also the heuristics that control whethere bcache will cache a given io would probably be a good place to start.
I dunno what confuses people the most, though.
Thanks!
Quoted 66 lines
Regards,
James Sefton
Phase 5 Communications Ltd.Tel: 01226 285600
-----Original Message-----
From: Kent Overstreet [mailto:[email protected]]
Sent: 02 November 2012 15:16
To: James Sefton
Cc: [email protected]
Subject: Re: Bcache JournalQuoted 33 lines · James Sefton
Quoted 14 lines · Alex Pyrgiotis
Quoted 10 lines · Kent Overstreet
Quoted 7 lines · Alex Pyrgiotis
Hi,
In the wiki, it is mentioned that bcache can run either with or without a journal.
What I'd like to ask is which is the default bcache configuration (journal on|off?) and is there an option in the make-bcache tool to change this configuration?That's out of dat... What page did you find that on? Running without a journal hasn't been an option in ages...
Hi Kent,
Quoted 8 lines
Here's the link: http://bcache.evilpiepirate.org/Design#Journal
The out-dated part is "It is possible to create cache devices..."Quoted 3 lines
(You wouldn't want to run without the journal, it's there to improve performance)
Yeah, I know. Just wanted to have a look at bcache's knobs and switches... Thanks again.
Hi Kent,
Out of interest - I am also having trouble with the docs and I am getting them from the same server as Alex.
http://evilpiepirate.org/git/linux-bcache.git/tree/Documentation/bcache.txt
Quoted 8 lines
Just wondering if we are both looking in the wrong place??
The docs seem to be outdated somewhat.
As an example there is a list of sysfs entries described at the bottom of the page. A lot of these either do not exist or have changed names, and a lot of new ones seem to be added that are not listed in the docs.Is this site the wrong place to be looking or are the docs simply out of date?
That's the right place, some of that is out of date though. I think it's _mostly_ the sysfs stuff.
Quoted 1 line
(If the docs are out of date then maybe we can help you maintain them.)
Please do! All the documentation should be in the kernel tree, so you can just send me patches for that. Any questions about what it should say, go ahead and ask.