Re: mount error on cephv0.22.2

2010-11-22 Thread jeff
Hi , Are your OSDs disk file system btrfs ? or ext4 ,ext3 , or ?? i use ceph 0.23 , ubuntu 10.10 x86_64,2.6.35-22 ,mount btrfs osd is successful, but mount ext4 osd fail, with its logs , it seems that it should set "osd journal = /PATH/TO/JOURNAL" at ceph.conf and set "user_xattr" at /etc/fstab.

Re: potential null dereference in __dcache_readdir()

2010-11-22 Thread Sage Weil
Hi Dan, On Fri, 19 Nov 2010, Dan Carpenter wrote: > Hi hi! > > This is a smatch thing. We check if last is NULL and then dereference > it later with out checking. It might be worth looking at. I'm not > familiar enough with the code to know the fix. > > It comes from: > commit 2817b000b

Re: Degraded objects on brand new file system?

2010-11-22 Thread Sage Weil
Hi Jim, On Fri, 19 Nov 2010, Jim Schutt wrote: > I've just created a brand-new filesystem using current unstable > branch. > > ceph -w shows me this after I start it up and it settles down,: > > 2010-11-19 13:07:39.279045pg v247: 3432 pgs: 3432 active; 54 KB data, > 98200 KB used, 3032 GB /

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

2010-11-22 Thread Yehuda Sadeh Weinraub
On Mon, Nov 22, 2010 at 4:58 PM, Greg KH wrote: > On Mon, Nov 22, 2010 at 04:48:54PM -0800, Yehuda Sadeh Weinraub wrote: >> On Mon, Nov 22, 2010 at 4:14 PM, Greg KH wrote: >> > On Fri, Nov 19, 2010 at 12:42:51PM -0800, Yehuda Sadeh Weinraub wrote: >> >> On Thu, Nov 18, 2010 at 6:08 PM, Greg KH w

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

2010-11-22 Thread Greg KH
On Mon, Nov 22, 2010 at 04:48:54PM -0800, Yehuda Sadeh Weinraub wrote: > On Mon, Nov 22, 2010 at 4:14 PM, Greg KH wrote: > > On Fri, Nov 19, 2010 at 12:42:51PM -0800, Yehuda Sadeh Weinraub wrote: > >> On Thu, Nov 18, 2010 at 6:08 PM, Greg KH wrote: > >> > On Thu, Nov 18, 2010 at 02:53:35PM -0800,

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

2010-11-22 Thread Greg KH
On Mon, Nov 22, 2010 at 04:45:31PM -0800, Sage Weil wrote: > Hi Greg, > > On Mon, 22 Nov 2010, Greg KH wrote: > > On Mon, Nov 22, 2010 at 03:33:07PM -0800, Yehuda Sadeh wrote: > > > > > > > > > On Fri, Nov 19, 2010 at 12:42 PM, Yehuda Sadeh Weinraub > > > wrote: > > > > One solution would be t

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

2010-11-22 Thread Yehuda Sadeh Weinraub
On Mon, Nov 22, 2010 at 4:14 PM, Greg KH wrote: > On Fri, Nov 19, 2010 at 12:42:51PM -0800, Yehuda Sadeh Weinraub wrote: >> On Thu, Nov 18, 2010 at 6:08 PM, Greg KH wrote: >> > On Thu, Nov 18, 2010 at 02:53:35PM -0800, Yehuda Sadeh Weinraub wrote: >> >> Yes, pretty much. One problem that I do see

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

2010-11-22 Thread Sage Weil
Hi Greg, On Mon, 22 Nov 2010, Greg KH wrote: > On Mon, Nov 22, 2010 at 03:33:07PM -0800, Yehuda Sadeh wrote: > > > > > > On Fri, Nov 19, 2010 at 12:42 PM, Yehuda Sadeh Weinraub > > wrote: > > > One solution would be to create kobjects for (3) and for (4), without > > > using a group name. Anot

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

2010-11-22 Thread Greg KH
On Mon, Nov 22, 2010 at 03:33:07PM -0800, Yehuda Sadeh wrote: > > > On Fri, Nov 19, 2010 at 12:42 PM, Yehuda Sadeh Weinraub > wrote: > > One solution would be to create kobjects for (3) and for (4), without > > using a group name. Another way, we can create groups for (2), and (3) > > under (1)

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

2010-11-22 Thread Greg KH
On Fri, Nov 19, 2010 at 12:42:51PM -0800, Yehuda Sadeh Weinraub wrote: > On Thu, Nov 18, 2010 at 6:08 PM, Greg KH wrote: > > On Thu, Nov 18, 2010 at 02:53:35PM -0800, Yehuda Sadeh Weinraub wrote: > >> Yes, pretty much. One problem that I do see is that if we define the > >> snaps/ as a device (and

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

2010-11-22 Thread Yehuda Sadeh
On Fri, Nov 19, 2010 at 12:42 PM, Yehuda Sadeh Weinraub wrote: > One solution would be to create kobjects for (3) and for (4), without > using a group name. Another way, we can create groups for (2), and (3) > under (1), but that's about it, you can't create the snap specific > directory this w

Re: [PATCH 00/00] Remove deprecated items from Makefiles

2010-11-22 Thread David Miller
From: Tracey Dent Date: Sun, 21 Nov 2010 20:03:11 -0500 > I changed Makefiles to use -y instead of -objs because -objs > is deprecated and not even mentioned in Documentation/kbuild/makefiles.txt. > > Also, remove some if-conditional statments because I used the ccflags-$ flag > instead of EXTR