Well, that's the problem. The current sysfs interface was based on
osdblk's. That part didn't come up during review, and I wasn't aware that
the sysfs interface should get an explicit ack from you. After RBD was
merged in 2.6.37-rc1 I saw part of the SCST sysfs thread and realized the
current interface was problematic, and we've been trying to work out how
to fix it ever since.
As things stand, we can either
1- wait, get an osdblk-like interface in 2.6.37, and change it later (a
big fat no-no, as I understand things!)
2- get an improved sysfs interface sorted out and push to Linus ASAP (my
preference)
3- have Linus revert RBD altogether :(
I'm hoping for #2, but we may need a bit more help from you unfortunately!
Basically:
- We keep putting the <snaps> in a subdir because can be arbitrarily
named, and we don't want them to collide with the other attributes. It's
that or prefixing them with something like "snap_", but that seems uglier.
- They are only there to expose some information to the user.
Thanks!
sage
--