Skip to contentSkip to conversation

Userspace tools and git repo

DISCUSSION Alex Pyrgiotis 2 participants 2 messages May 11, 2012 bcache (block layer cache)

lore
Share & tools
lore
#0 lore raw

Hi Kent,

I 've been following this project for quite a while (congrats for the v13 of bcache) and I'm glad that the wiki has been revamped with more details and current status.
Today, I've been skimming through some of the stuff written there and I saw this:

-------------------------------------
make-bcache -B -S <set-uuid> backing_device
The -B option to bcache indicates that a backing device is being created The -S option allows the UUID of the cache set to be indicated so that the attach process can be bypasses
<b>backing_device</b> is the path to the block device or partition that will be used as a backing device
---------------------------------------

As far as I can tell, the -S option is not implemented in the userspace tools.

Am I missing something? I've downloaded the sources for bcache-tools and linux-bache from this git repo:

git://evilpiepirate.org/~kent/

Is this repo up-to-date with your project?

I'm mainly asking since I can see that the latest changes were done about a month ago and the site was updated 2-3 days ago.

Thanks,
Alex

Signature · 8 lines
Alex Pyrgiotis, a.k.a 03107422
Undergrad Student

School of Electrical & Computer Engineering
National Technical University of Athens, Greece

Paper Street Soap Co.
work: (288) 555-0153
#1 lore raw
Quoted 23 lines · Alex Pyrgiotis

Hi Kent,

I 've been following this project for quite a while (congrats for the v13 of bcache) and I'm glad that the wiki has been revamped with more details and current status.
Today, I've been skimming through some of the stuff written there and I saw this:

-------------------------------------
make-bcache -B -S <set-uuid> backing_device
The -B option to bcache indicates that a backing device is being created The -S option allows the UUID of the cache set to be indicated so that the attach process can be bypasses
<b>backing_device</b> is the path to the block device or partition that will be used as a backing device
---------------------------------------

As far as I can tell, the -S option is not implemented in the userspace tools.

Am I missing something? I've downloaded the sources for bcache-tools and linux-bache from this git repo:

Quoted 6 lines

git://evilpiepirate.org/~kent/

Is this repo up-to-date with your project?

I'm mainly asking since I can see that the latest changes were done about a month ago and the site was updated 2-3 days ago.

No, you've got the latest code. If memory serves (it's hazy) -S was asked for but I didn't like the idea because of some potential for breaking things if it was misused.

What I did implement was the ability to format multiple devices at the same time (both caches and backing devices), and if you do that they'll all get the same set UUID.

Should probably take that out of the docs for now...

Quoted 21 lines

Thanks,
Alex

Signature · 16 lines
Alex Pyrgiotis, a.k.a 03107422
Undergrad Student

School of Electrical & Computer Engineering
National Technical University of Athens, Greece

Paper Street Soap Co.
work: (288) 555-0153




--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html