Re: [PATCH] rbd: replace the rbd sysfs interface

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Sage Weil
Date: Monday, November 22, 2010 - 5:45 pm

Hi Greg,

On Mon, 22 Nov 2010, Greg KH wrote:

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
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] rbd: replace the rbd sysfs interface, Yehuda Sadeh, (Tue Nov 16, 5:32 pm)
Re: [PATCH] rbd: replace the rbd sysfs interface, Greg KH, (Wed Nov 17, 10:19 am)
Re: [PATCH] rbd: replace the rbd sysfs interface, Yehuda Sadeh Weinraub, (Wed Nov 17, 4:00 pm)
Re: [PATCH] rbd: replace the rbd sysfs interface, Greg KH, (Wed Nov 17, 6:30 pm)
Re: [PATCH] rbd: replace the rbd sysfs interface, Yehuda Sadeh Weinraub, (Thu Nov 18, 3:53 pm)
Re: [PATCH] rbd: replace the rbd sysfs interface, Greg KH, (Thu Nov 18, 7:08 pm)
Re: [PATCH] rbd: replace the rbd sysfs interface, Yehuda Sadeh Weinraub, (Fri Nov 19, 1:42 pm)
Re: [PATCH] rbd: replace the rbd sysfs interface, Yehuda Sadeh, (Mon Nov 22, 4:33 pm)
Re: [PATCH] rbd: replace the rbd sysfs interface, Greg KH, (Mon Nov 22, 5:14 pm)
Re: [PATCH] rbd: replace the rbd sysfs interface, Greg KH, (Mon Nov 22, 5:14 pm)
Re: [PATCH] rbd: replace the rbd sysfs interface, Sage Weil, (Mon Nov 22, 5:45 pm)
Re: [PATCH] rbd: replace the rbd sysfs interface, Yehuda Sadeh Weinraub, (Mon Nov 22, 5:48 pm)
Re: [PATCH] rbd: replace the rbd sysfs interface, Greg KH, (Mon Nov 22, 5:56 pm)
Re: [PATCH] rbd: replace the rbd sysfs interface, Greg KH, (Mon Nov 22, 5:58 pm)
Re: [PATCH] rbd: replace the rbd sysfs interface, Yehuda Sadeh Weinraub, (Mon Nov 22, 6:19 pm)
Re: [PATCH] rbd: replace the rbd sysfs interface, Yehuda Sadeh, (Tue Nov 23, 5:23 pm)
Re: [PATCH] rbd: replace the rbd sysfs interface, Sage Weil, (Wed Dec 1, 12:25 pm)
Re: [PATCH] rbd: replace the rbd sysfs interface, Greg KH, (Wed Dec 1, 12:47 pm)
Re: [PATCH] rbd: replace the rbd sysfs interface, Sage Weil, (Wed Dec 1, 1:08 pm)
Re: [PATCH] rbd: replace the rbd sysfs interface, Sage Weil, (Wed Dec 1, 5:11 pm)