[Cluster-devel] Fix for configure and kernel trees

2007-09-27 Thread Joel Becker
) { $gfskincdir=${pwd}/gfs-kernel/src/gfs; -- Viro's Razor: Any race condition, no matter how unlikely, will occur just often enough to bite you. Joel Becker Principal Software Developer Oracle E-mail: [EMAIL PROTECTED] Phone: (650) 506-8127

Re: [Cluster-devel] [PATCH] dlm_controld: add multi-home

2007-12-10 Thread Joel Becker
only run one cluster at a time? :-) Joel -- The nice thing about egotists is that they don't talk about other people. - Lucille S. Harper Joel Becker Principal Software Developer Oracle E-mail: [EMAIL PROTECTED] Phone: (650) 506-8127

[Cluster-devel] libdlm: Don't pass LKF_WAIT to the kernel

2008-03-19 Thread Joel Becker
libdlm is passing LKF_WAIT to the kernel. In the kernel, the unlock path strictly audits flags, and errors on this unknown (to the kernel) flag. The correct answer is to keep the flag in userspace. Signed-off-by: Joel Becker [EMAIL PROTECTED] --- a/dlm/lib/libdlm.c 2008-01-16 09:25

[Cluster-devel] libdlm dlm_ls_lock_wait() doesn't.

2008-03-19 Thread Joel Becker
the time to nail it yet, so if you get there first, excellent. Joel -- We'd better get back, `cause it'll be dark soon, and they mostly come at night. Mostly. Joel Becker Principal Software Developer Oracle E-mail: [EMAIL PROTECTED] Phone: (650) 506-8127

Re: [Cluster-devel] libdlm dlm_ls_lock_wait() doesn't.

2008-03-20 Thread Joel Becker
On Thu, Mar 20, 2008 at 09:39:02AM -0500, David Teigland wrote: On Wed, Mar 19, 2008 at 03:35:11PM -0700, Joel Becker wrote: Folks, Another problem I've run into with libdlm - call dlm_ls_lock_wait() on a lock that another node holds, and it returns instead of blocking

Re: [Cluster-devel] libdlm dlm_ls_lock_wait() doesn't.

2008-03-20 Thread Joel Becker
On Thu, Mar 20, 2008 at 02:45:50PM -0700, Joel Becker wrote: libo2dlm is not threaded, so we use libdlm_lt. I'm getting EAGAIN returned from dlm_ls_lock_wait() - and this is not a trylock. I can reproduce with o2dlm_test. I was about to give you the instructions on doing so, but I

Re: [Cluster-devel] Cluster Project branch, master, updated. cluster-2.99.03-3-ge879971

2008-06-03 Thread Joel Becker
? The recovery ordering problem is not specific to filesystems. Joel -- Hey mister if you're gonna walk on water, Could you drop a line my way? Joel Becker Principal Software Developer Oracle E-mail: [EMAIL PROTECTED] Phone: (650) 506-8127

[Cluster-devel] [RFC] configfs: Allow -make_item() and -make_group() to return detailed errors.

2008-06-12 Thread Joel Becker
fail. This patch adds that ability by changing the -make_item/group() ops to return an int. Also updated are the in-kernel users of configfs. Signed-off-by: Joel Becker [EMAIL PROTECTED] --- Documentation/filesystems/configfs/configfs.txt| 10 +++-- .../filesystems/configfs

[Cluster-devel] Re: [Ocfs2-devel] [RFC] configfs: Pin configfs subsystems separately from new config_items.

2008-06-18 Thread Joel Becker
On Wed, Jun 18, 2008 at 02:31:34PM +0200, Louis Rilling wrote: On Tue, Jun 17, 2008 at 03:41:00PM -0700, Joel Becker wrote: However, if the subsystem is made up of multiple modules, this may not pin the subsystem. Thus, it would be possible to unload the toplevel subsystem module while

[Cluster-devel] Re: [Ocfs2-devel] [RFC] configfs: Pin configfs subsystems separately from new config_items.

2008-06-18 Thread Joel Becker
On Wed, Jun 18, 2008 at 06:51:01PM +0200, Louis Rilling wrote: On Wed, Jun 18, 2008 at 09:12:15AM -0700, Joel Becker wrote: I suspect the common case to not need to pin the new item: if we assume that the parent is already pinned, it will remain pinned until the new item is dropped

[Cluster-devel] Re: [Ocfs2-devel] [RFC] configfs: Pin configfs subsystems separately from new config_items.

2008-06-19 Thread Joel Becker
On Thu, Jun 19, 2008 at 01:13:57PM +0200, Louis Rilling wrote: On Wed, Jun 18, 2008 at 01:07:13PM -0700, Joel Becker wrote: 4/ make_item()/make_group() pins the module of the new item/group if it differs from the current one, and at least until drop_item() (must check in-tree

[Cluster-devel] Re: [Ocfs2-devel] [RFC] configfs: Pin configfs subsystems separately from new config_items.

2008-06-23 Thread Joel Becker
has an attribute file open - it has a reference to the item. You can still rmdir() the item - doing stuff to the attribute after drop_item() will just get ignored. But you can't free it in drop_item(). Joel -- Vote early and vote often. - Al Capone Joel Becker Principal Software

Re: [Cluster-devel] logsys in fenced

2008-06-27 Thread Joel Becker
Little Instruction Book #94 Make it a habit to do nice things for people who will never find out. Joel Becker Principal Software Developer Oracle E-mail: [EMAIL PROTECTED] Phone: (650) 506-8127

Re: [Cluster-devel] [PATCH/RFC] Standardize on /etc/sysconfig/cluster for init script

2008-07-30 Thread Joel Becker
' on debian/ubuntu, so be aware of that in your scripts :-) Joel -- Life's Little Instruction Book #335 Every so often, push your luck. Joel Becker Principal Software Developer Oracle E-mail: [EMAIL PROTECTED] Phone: (650) 506-8127

[Cluster-devel] [BUG] /etc/init.d/cman unmounts configfs unconditionally

2008-07-31 Thread Joel Becker
$(ls -1 $(configfs_path)) ] then unmount_filesystem configfs $(configfs_path) if_fail $? fi Joel -- Life's Little Instruction Book #207 Swing for the fence. Joel Becker Principal Software Developer Oracle E-mail: [EMAIL PROTECTED] Phone: (650) 506-8127

Re: [Cluster-devel] Upcoming change to the build system.

2008-07-31 Thread Joel Becker
dead. Joel Becker Principal Software Developer Oracle E-mail: [EMAIL PROTECTED] Phone: (650) 506-8127

[Cluster-devel] Cluster Summit 2008 Group Photo

2008-10-30 Thread Joel Becker
Hey Folks, I've put up the group picture from the summit. Sorry it took so long ;-) http://oss.oracle.com/~jlbec/cluster-summit-2008-group.jpg Joel -- Only a life lived for others is a life worth while. -Albert Einstein Joel

[Cluster-devel] Re: configfs, dlm_controld lockdep

2008-12-11 Thread Joel Becker
on your back and look at the stars. Joel Becker Principal Software Developer Oracle E-mail: joel.bec...@oracle.com Phone: (650) 506-8127

[Cluster-devel] Re: [PATCH] configfs: Silence lockdep on mkdir(), rmdir() and configfs_depend_item()

2008-12-17 Thread Joel Becker
? I'd love to see it work within lockdep, but it seems rather hard, so that's why I recommended Louis cook up this version. I see you picked it up in -mm. Do you want me to push it through ocfs2.git? Joel -- Life's Little Instruction Book #157 Take time to smell the roses. Joel Becker

[Cluster-devel] Re: [PATCH] configfs: Silence lockdep on mkdir(), rmdir() and configfs_depend_item()

2008-12-18 Thread Joel Becker
working lockdep analysis. Whether that means we find a way for lockdep to describe what's happening here, or we find another way to keep folks out of the tree we're removing, I don't care. Joel -- Life's Little Instruction Book #109 Know how to drive a stick shift. Joel Becker Principal

[Cluster-devel] Re: [PATCH] configfs: Silence lockdep on mkdir(), rmdir() and configfs_depend_item()

2008-12-18 Thread Joel Becker
Joel Becker Principal Software Developer Oracle E-mail: joel.bec...@oracle.com Phone: (650) 506-8127

[Cluster-devel] Re: [PATCH] configfs: Silence lockdep on mkdir(), rmdir() and configfs_depend_item()

2009-01-27 Thread Joel Becker
of injuring yourself. It is much the same with JavaScript. - Chris Heilmann Joel Becker Principal Software Developer Oracle E-mail: joel.bec...@oracle.com Phone: (650) 506-8127

[Cluster-devel] Re: [PATCH] configfs: Silence lockdep on mkdir(), rmdir() and configfs_depend_item()

2009-01-27 Thread Joel Becker
. -- Life's Little Instruction Book #252 Take good care of those you love. Joel Becker Principal Software Developer Oracle E-mail: joel.bec...@oracle.com Phone: (650) 506-8127

[Cluster-devel] Re: Make lockdep happy with configfs

2009-01-27 Thread Joel Becker
may have even better fruit, so I'm going to hold of on including these just yet. Joel -- Life's Little Instruction Book #510 Count your blessings. Joel Becker Principal Software Developer Oracle E-mail: joel.bec...@oracle.com Phone: (650) 506-8127

[Cluster-devel] Re: [PATCH 2/2] configfs: Rework configfs_depend_item() locking and make lockdep happy

2009-04-29 Thread Joel Becker
Joel Becker Principal Software Developer Oracle E-mail: joel.bec...@oracle.com Phone: (650) 506-8127

[Cluster-devel] Re: [PATCH 2/2] configfs: Rework configfs_depend_item() locking and make lockdep happy

2009-04-30 Thread Joel Becker
On Thu, Apr 30, 2009 at 11:18:28AM +0200, Louis Rilling wrote: On 29/04/09 11:52 -0700, Joel Becker wrote: On Wed, Jan 28, 2009 at 07:18:33PM +0100, Louis Rilling wrote: configfs_depend_item() recursively locks all inodes mutex from configfs root to the target item, which makes

Re: [Cluster-devel] GFS2: Use kmalloc when possible for -readdir() (try #2)

2010-07-29 Thread Joel Becker
as to whether or not to kiss a pretty girl, give her the benefit of the doubt -Thomas Carlyle Joel Becker Consulting Software Developer Oracle E-mail: joel.bec...@oracle.com Phone: (650) 506-8127

Re: [Cluster-devel] [PATCH 3/6] Ocfs2: handle hole punching via fallocate properly

2010-11-17 Thread Joel Becker
-by: Joel Becker joel.bec...@oracle.com Joel --- fs/ocfs2/file.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c index 77b4c04..181ae52 100644 --- a/fs/ocfs2/file.c +++ b/fs/ocfs2/file.c @@ -1992,6 +1992,7 @@ static long

Re: [Cluster-devel] [Lsf-pc] [ATTEND] Discuss Samba + RichACLs + clustered filesystem and support for CIFS/SMB2

2011-01-19 Thread Joel Becker
On Wed, Jan 19, 2011 at 12:23:08PM +, Steven Whitehouse wrote: On Tue, 2011-01-18 at 20:16 -0500, Ric Wheeler wrote: On 01/18/2011 05:36 PM, Jeremy Allison wrote: I (and Michael Adams and Volker Lendecke) would like to attend to discuss integration of Samba with Linux filesystems,

Re: [Cluster-devel] [PATCH 00/19 v5] Fix filesystem freezing deadlocks

2012-04-17 Thread Joel Becker
On Tue, Apr 17, 2012 at 11:32:46AM +0200, Jan Kara wrote: On Mon 16-04-12 15:02:50, Andreas Dilger wrote: On 2012-04-16, at 9:13 AM, Jan Kara wrote: Another potential contention point might be patch 19. In that patch we make freeze_super() refuse to freeze the filesystem when there are

Re: [Cluster-devel] [PATCH 09/12] ocfs2: Convert to private i_dquot field

2014-10-23 Thread Joel Becker
On Tue, Oct 21, 2014 at 04:38:33PM +0200, Jan Kara wrote: CC: Mark Fasheh mfas...@suse.com CC: Joel Becker jl...@evilplan.org CC: ocfs2-de...@oss.oracle.com Signed-off-by: Jan Kara j...@suse.cz --- fs/ocfs2/inode.h | 4 fs/ocfs2/super.c | 10 ++ 2 files changed, 14

Re: [Cluster-devel] [PATCH] configfs: switch ->default groups to a linked list

2016-03-05 Thread Joel Becker
Acked-by: Joel Becker <jl...@evilplan.org> On Fri, Feb 26, 2016 at 01:33:51PM +0100, Christoph Hellwig wrote: > Replace the current NULL-terminated array of default groups with a linked > list. This gets rid of lots of nasty code to size and/or dynamically > allocate the array. &