Description: Performance improvements for debug messages with D_RPCTRACE,
D_LDLM, D_QUOTA options.
+Severity : normal
+Frequency : only with NFS export
+Bugzilla : 20989
+Description: (lov_merge.c:74:lov_merge_lvb())
+ ASSERTION(spin_is_locked(&lsm->lsm_lock)) failed (SR 71691004)
+Details : Fix a race in the nfs export code by populating inode
+ info while the new inode is still locked
+
+
-------------------------------------------------------------------------------
2009-10-16 Sun Microsystems, Inc.
* version 1.8.1.1
#if THREAD_SIZE >= 8192 /* see bug 17630 */
-static int ll_nfs_test_inode(struct inode *inode, void *opaque)
-{
- struct ll_fid *iid = opaque;
-
- if (inode->i_ino == iid->id && inode->i_generation == iid->generation)
- return 1;
-
- return 0;
-}
-
static struct inode * search_inode_for_lustre(struct super_block *sb,
struct ll_fid *iid)
{
struct inode *inode = NULL;
ENTRY;
- inode = ILOOKUP(sb, iid->id, ll_nfs_test_inode, iid);
-
- if (inode)
- RETURN(inode);
-
rc = ll_get_max_mdsize(sbi, &eadatalen);
if (rc)
RETURN(ERR_PTR(rc));
valid |= OBD_MD_FLEASIZE;
- /* mds_fid2dentry is ignore f_type */
+ /* mds_fid2dentry ignores f_type */
rc = mdc_getattr(sbi->ll_mdc_exp, iid, valid, eadatalen, &req);
if (rc) {
CERROR("failure %d inode "LPU64"\n", rc, iid->id);