[LU-32] always keep buffer_head reference on root node of iam_container Created: 26/Dec/10  Updated: 22/Dec/12  Resolved: 28/Aug/12

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.0.0
Fix Version/s: Lustre 2.2.0, Lustre 2.1.4

Type: Improvement Priority: Minor
Reporter: Liang Zhen (Inactive) Assignee: Liang Zhen (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Rank (Obsolete): 4789

 Description   

IAM in ldiskfs-osd will always consume some slots in bh_lru (see: fs/buffer.c), if we keep buffer_head reference on root node, we can save one slot in bh_lru and could be somehow helpful for overall performance, I did some tests, LRU hits increased 5%-10% while creating files if we always keep this reference.

I'm not expert of this, so please post your comment here if it's totally wrong to do this.



 Comments   
Comment by Liang Zhen (Inactive) [ 26/Dec/10 ]

I've posted the first version of patch at here:

http://review.whamcloud.com/#change,162

Comment by Liang Zhen (Inactive) [ 27/Dec/10 ]

it's probably unacceptable for IAM directory(LDD_F_IAM_DIR), but should we do this at least for interop mode?

Comment by Build Master (Inactive) [ 04/Jan/12 ]

Integrated in lustre-master » x86_64,server,el5,ofa #402
LU-32 osd: keep root node BH ref of IAM container (Revision 4ad943d14235ce8e8599477b340dbd75c076581e)

Result = SUCCESS
Oleg Drokin : 4ad943d14235ce8e8599477b340dbd75c076581e
Files :

  • lustre/osd-ldiskfs/osd_iam.h
  • lustre/osd-ldiskfs/osd_iam.c
  • lustre/osd-ldiskfs/osd_handler.c
Comment by Build Master (Inactive) [ 04/Jan/12 ]

Integrated in lustre-master » x86_64,client,el6,inkernel #402
LU-32 osd: keep root node BH ref of IAM container (Revision 4ad943d14235ce8e8599477b340dbd75c076581e)

Result = SUCCESS
Oleg Drokin : 4ad943d14235ce8e8599477b340dbd75c076581e
Files :

  • lustre/osd-ldiskfs/osd_handler.c
  • lustre/osd-ldiskfs/osd_iam.h
  • lustre/osd-ldiskfs/osd_iam.c
Comment by Build Master (Inactive) [ 04/Jan/12 ]

Integrated in lustre-master » i686,server,el6,inkernel #402
LU-32 osd: keep root node BH ref of IAM container (Revision 4ad943d14235ce8e8599477b340dbd75c076581e)

Result = SUCCESS
Oleg Drokin : 4ad943d14235ce8e8599477b340dbd75c076581e
Files :

  • lustre/osd-ldiskfs/osd_iam.h
  • lustre/osd-ldiskfs/osd_iam.c
  • lustre/osd-ldiskfs/osd_handler.c
Comment by Build Master (Inactive) [ 04/Jan/12 ]

Integrated in lustre-master » x86_64,client,el5,inkernel #402
LU-32 osd: keep root node BH ref of IAM container (Revision 4ad943d14235ce8e8599477b340dbd75c076581e)

Result = SUCCESS
Oleg Drokin : 4ad943d14235ce8e8599477b340dbd75c076581e
Files :

  • lustre/osd-ldiskfs/osd_iam.h
  • lustre/osd-ldiskfs/osd_handler.c
  • lustre/osd-ldiskfs/osd_iam.c
Comment by Build Master (Inactive) [ 04/Jan/12 ]

Integrated in lustre-master » x86_64,client,sles11,inkernel #402
LU-32 osd: keep root node BH ref of IAM container (Revision 4ad943d14235ce8e8599477b340dbd75c076581e)

Result = SUCCESS
Oleg Drokin : 4ad943d14235ce8e8599477b340dbd75c076581e
Files :

  • lustre/osd-ldiskfs/osd_iam.h
  • lustre/osd-ldiskfs/osd_iam.c
  • lustre/osd-ldiskfs/osd_handler.c
Comment by Build Master (Inactive) [ 04/Jan/12 ]

Integrated in lustre-master » x86_64,client,el5,ofa #402
LU-32 osd: keep root node BH ref of IAM container (Revision 4ad943d14235ce8e8599477b340dbd75c076581e)

Result = SUCCESS
Oleg Drokin : 4ad943d14235ce8e8599477b340dbd75c076581e
Files :

  • lustre/osd-ldiskfs/osd_handler.c
  • lustre/osd-ldiskfs/osd_iam.c
  • lustre/osd-ldiskfs/osd_iam.h
Comment by Build Master (Inactive) [ 04/Jan/12 ]

Integrated in lustre-master » x86_64,server,el5,inkernel #402
LU-32 osd: keep root node BH ref of IAM container (Revision 4ad943d14235ce8e8599477b340dbd75c076581e)

Result = SUCCESS
Oleg Drokin : 4ad943d14235ce8e8599477b340dbd75c076581e
Files :

  • lustre/osd-ldiskfs/osd_iam.h
  • lustre/osd-ldiskfs/osd_iam.c
  • lustre/osd-ldiskfs/osd_handler.c
Comment by Build Master (Inactive) [ 04/Jan/12 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,inkernel #402
LU-32 osd: keep root node BH ref of IAM container (Revision 4ad943d14235ce8e8599477b340dbd75c076581e)

Result = SUCCESS
Oleg Drokin : 4ad943d14235ce8e8599477b340dbd75c076581e
Files :

  • lustre/osd-ldiskfs/osd_iam.c
  • lustre/osd-ldiskfs/osd_handler.c
  • lustre/osd-ldiskfs/osd_iam.h
Comment by Build Master (Inactive) [ 04/Jan/12 ]

Integrated in lustre-master » x86_64,server,el6,inkernel #402
LU-32 osd: keep root node BH ref of IAM container (Revision 4ad943d14235ce8e8599477b340dbd75c076581e)

Result = SUCCESS
Oleg Drokin : 4ad943d14235ce8e8599477b340dbd75c076581e
Files :

  • lustre/osd-ldiskfs/osd_handler.c
  • lustre/osd-ldiskfs/osd_iam.c
  • lustre/osd-ldiskfs/osd_iam.h
Comment by Build Master (Inactive) [ 04/Jan/12 ]

Integrated in lustre-master » i686,client,el6,inkernel #402
LU-32 osd: keep root node BH ref of IAM container (Revision 4ad943d14235ce8e8599477b340dbd75c076581e)

Result = SUCCESS
Oleg Drokin : 4ad943d14235ce8e8599477b340dbd75c076581e
Files :

  • lustre/osd-ldiskfs/osd_iam.h
  • lustre/osd-ldiskfs/osd_iam.c
  • lustre/osd-ldiskfs/osd_handler.c
Comment by Build Master (Inactive) [ 04/Jan/12 ]

Integrated in lustre-master » i686,server,el5,ofa #402
LU-32 osd: keep root node BH ref of IAM container (Revision 4ad943d14235ce8e8599477b340dbd75c076581e)

Result = SUCCESS
Oleg Drokin : 4ad943d14235ce8e8599477b340dbd75c076581e
Files :

  • lustre/osd-ldiskfs/osd_iam.c
  • lustre/osd-ldiskfs/osd_iam.h
  • lustre/osd-ldiskfs/osd_handler.c
Comment by Build Master (Inactive) [ 04/Jan/12 ]

Integrated in lustre-master » i686,server,el5,inkernel #402
LU-32 osd: keep root node BH ref of IAM container (Revision 4ad943d14235ce8e8599477b340dbd75c076581e)

Result = SUCCESS
Oleg Drokin : 4ad943d14235ce8e8599477b340dbd75c076581e
Files :

  • lustre/osd-ldiskfs/osd_iam.h
  • lustre/osd-ldiskfs/osd_handler.c
  • lustre/osd-ldiskfs/osd_iam.c
Comment by Build Master (Inactive) [ 04/Jan/12 ]

Integrated in lustre-master » i686,client,el5,inkernel #402
LU-32 osd: keep root node BH ref of IAM container (Revision 4ad943d14235ce8e8599477b340dbd75c076581e)

Result = SUCCESS
Oleg Drokin : 4ad943d14235ce8e8599477b340dbd75c076581e
Files :

  • lustre/osd-ldiskfs/osd_iam.h
  • lustre/osd-ldiskfs/osd_handler.c
  • lustre/osd-ldiskfs/osd_iam.c
Comment by Build Master (Inactive) [ 04/Jan/12 ]

Integrated in lustre-master » i686,client,el5,ofa #402
LU-32 osd: keep root node BH ref of IAM container (Revision 4ad943d14235ce8e8599477b340dbd75c076581e)

Result = SUCCESS
Oleg Drokin : 4ad943d14235ce8e8599477b340dbd75c076581e
Files :

  • lustre/osd-ldiskfs/osd_iam.c
  • lustre/osd-ldiskfs/osd_handler.c
  • lustre/osd-ldiskfs/osd_iam.h
Comment by Liang Zhen (Inactive) [ 28/Aug/12 ]

Patch is on 2.2 and master

Generated at Sat Feb 10 01:03:04 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.