Re: [PATCH REPOST] rbd: separate layout init

2013-01-16 Thread Josh Durgin
On 01/03/2013 02:55 PM, Alex Elder wrote: Pull a block of code that initializes the layout structure in an osd request into its own function so it can be reused. Signed-off-by: Alex Elder el...@inktank.com --- Reviewed-by: Josh Durgin josh.dur...@inktank.com drivers/block/rbd.c | 23

[PATCH REPOST] rbd: separate layout init

2013-01-03 Thread Alex Elder
Pull a block of code that initializes the layout structure in an osd request into its own function so it can be reused. Signed-off-by: Alex Elder el...@inktank.com --- drivers/block/rbd.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git

Re: [PATCH REPOST] rbd: separate layout init

2013-01-03 Thread Dan Mick
...and implementing a bit of new safety about pool_id. Reviewed-by: Dan Mick dan.m...@inktank.com On 01/03/2013 02:55 PM, Alex Elder wrote: Pull a block of code that initializes the layout structure in an osd request into its own function so it can be reused. Signed-off-by: Alex Elder