Re: [Cluster-devel] [RFC 00/11] Inode security label invalidation

2015-08-24 Thread Andreas Grünbacher
Stephen, 2015-08-24 19:42 GMT+02:00 Stephen Smalley : >> BACKGROUND >> >> Selinux currently assumes that, after initialization, inode->i_security >> always >> represents the current security label of the inode. This assumption works >> for >> local file systems; any change of the label must go

Re: [Cluster-devel] [GFS2 PATCH 2/2] GFS2: Use resizable hash table for glocks

2015-08-24 Thread Andreas Gruenbacher
Bob, 2015-07-09 20:25 GMT+02:00 Bob Peterson : > @@ -202,9 +176,8 @@ void gfs2_glock_put(struct gfs2_glock *gl) > > gfs2_glock_remove_from_lru(gl); > spin_unlock(&gl->gl_lockref.lock); > - spin_lock_bucket(gl->gl_hash); > - hlist_bl_del_rcu(&gl->gl_list); > - spin

Re: [Cluster-devel] [GFS2 PATCH 2/2] GFS2: Use resizable hash table for glocks

2015-08-24 Thread Andreas Gruenbacher
Bob, [sorry for the empty previous reply ...] 2015-07-09 20:25 GMT+02:00 Bob Peterson : > @@ -1460,31 +1421,24 @@ static struct shrinker glock_shrinker = { > * > */ > > -static void examine_bucket(glock_examiner examiner, const struct gfs2_sbd > *sdp, > - unsigned int

Re: [Cluster-devel] [GFS2 PATCH 2/2] GFS2: Use resizable hash table for glocks

2015-08-24 Thread Andreas Gruenbacher
Bob, 2015-07-09 20:25 GMT+02:00 Bob Peterson : > This patch changes the glock hash table from a normal hash table to > a resizable hash table, which scales better. This also simplifies > a lot of code. > --- > fs/gfs2/glock.c | 282 > +-- > fs