[LU-329] ost_lock_get() is not put in some cases Created: 16/May/11  Updated: 05/Dec/11  Resolved: 05/Dec/11

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.1.0
Fix Version/s: Lustre 2.1.0

Type: Bug Priority: Minor
Reporter: Mikhail Pershin Assignee: Lai Siyao
Resolution: Fixed Votes: 0
Labels: None

Attachments: Text File ost_lock_fix.patch    
Severity: 3
Rank (Obsolete): 4991

 Description   

While adapting LU-234 to our branch I've found that ost_lock_put() is not called in some error cases. LU-234 added even more such cases. Please check patch attached. I have the question there - do we need to report repbody in case of error in ost_punch()? I doubt that but it is always returned there no matter is 'rc' zero or not.



 Comments   
Comment by Lai Siyao [ 16/May/11 ]

I see repbody filled in most ost_xxx() operations, actually it looks to be a waste in case of error, but it's not a problem, and no need to get fixed here IMO.

Comment by Peter Jones [ 13/Jun/11 ]

Mike

Are you ok to close this ticket in light of Lai's response?

thanks

Peter

Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » x86_64,client,el5,ofa #167
LU-329 fix missing ost_lock_put() calls

Oleg Drokin : c0468e08ce5864884265a542606f6253cce19bad
Files :

  • lustre/ost/ost_handler.c
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » x86_64,client,sles11,inkernel #167
LU-329 fix missing ost_lock_put() calls

Oleg Drokin : c0468e08ce5864884265a542606f6253cce19bad
Files :

  • lustre/ost/ost_handler.c
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » i686,client,el5,inkernel #167
LU-329 fix missing ost_lock_put() calls

Oleg Drokin : c0468e08ce5864884265a542606f6253cce19bad
Files :

  • lustre/ost/ost_handler.c
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,inkernel #167
LU-329 fix missing ost_lock_put() calls

Oleg Drokin : c0468e08ce5864884265a542606f6253cce19bad
Files :

  • lustre/ost/ost_handler.c
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » i686,server,el5,ofa #167
LU-329 fix missing ost_lock_put() calls

Oleg Drokin : c0468e08ce5864884265a542606f6253cce19bad
Files :

  • lustre/ost/ost_handler.c
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » x86_64,server,el5,ofa #167
LU-329 fix missing ost_lock_put() calls

Oleg Drokin : c0468e08ce5864884265a542606f6253cce19bad
Files :

  • lustre/ost/ost_handler.c
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » x86_64,server,el5,inkernel #167
LU-329 fix missing ost_lock_put() calls

Oleg Drokin : c0468e08ce5864884265a542606f6253cce19bad
Files :

  • lustre/ost/ost_handler.c
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » x86_64,client,el6,inkernel #167
LU-329 fix missing ost_lock_put() calls

Oleg Drokin : c0468e08ce5864884265a542606f6253cce19bad
Files :

  • lustre/ost/ost_handler.c
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,ofa #167
LU-329 fix missing ost_lock_put() calls

Oleg Drokin : c0468e08ce5864884265a542606f6253cce19bad
Files :

  • lustre/ost/ost_handler.c
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » i686,client,el5,ofa #167
LU-329 fix missing ost_lock_put() calls

Oleg Drokin : c0468e08ce5864884265a542606f6253cce19bad
Files :

  • lustre/ost/ost_handler.c
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » i686,server,el5,inkernel #167
LU-329 fix missing ost_lock_put() calls

Oleg Drokin : c0468e08ce5864884265a542606f6253cce19bad
Files :

  • lustre/ost/ost_handler.c
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » x86_64,server,el6,inkernel #167
LU-329 fix missing ost_lock_put() calls

Oleg Drokin : c0468e08ce5864884265a542606f6253cce19bad
Files :

  • lustre/ost/ost_handler.c
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » i686,server,el6,inkernel #167
LU-329 fix missing ost_lock_put() calls

Oleg Drokin : c0468e08ce5864884265a542606f6253cce19bad
Files :

  • lustre/ost/ost_handler.c
Comment by Build Master (Inactive) [ 13/Jun/11 ]

Integrated in lustre-master » i686,client,el6,inkernel #167
LU-329 fix missing ost_lock_put() calls

Oleg Drokin : c0468e08ce5864884265a542606f6253cce19bad
Files :

  • lustre/ost/ost_handler.c
Comment by Build Master (Inactive) [ 14/Jun/11 ]

Integrated in lustre-master » x86_64,client,el5,inkernel #170
LU-329 fix missing ost_lock_put() calls

Oleg Drokin : c0468e08ce5864884265a542606f6253cce19bad
Files :

  • lustre/ost/ost_handler.c
Generated at Sat Feb 10 01:05:57 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.