[LU-791] sanity 27q hang Created: 25/Oct/11  Updated: 27/Mar/12  Resolved: 03/Nov/11

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

Type: Bug Priority: Minor
Reporter: Niu Yawei (Inactive) Assignee: Niu Yawei (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 4863

 Description   

sanity 27q hang on local testing.

I think this bug was introduced by LU-325, which changes the ENOSPC condition in handle_async_create() from OSCC_FLAG_NOSPC to OSCC_FLAG_NOSPC_BLK, however, the OSCC_FLAG_NOSPC_BLK never been set on client, because server wrongly processed the oa->o_valid: filter_precreate() set OBD_MD_FLFLAGS & OBD_FL_NOSPC_BLK on ENOSPC, however, the OBD_MD_FLFLAGS is reset as "OBD_MD_FLID | OBD_MD_FLGROUP" in filter_handle_precreate().

The end result is that the create process will never been wakeup when OSTs running of space.



 Comments   
Comment by Niu Yawei (Inactive) [ 25/Oct/11 ]

http://review.whamcloud.com/1589

Comment by Peter Jones [ 25/Oct/11 ]

niu can LU655 be marked as a duplicate of this one?

Comment by Oleg Drokin [ 25/Oct/11 ]

yes, it's the same poblem in lu-655

Comment by Niu Yawei (Inactive) [ 25/Oct/11 ]

ah, yes. it's duplicated.

Comment by Build Master (Inactive) [ 02/Nov/11 ]

Integrated in lustre-master » x86_64,client,el5,inkernel #332
LU-791 obdfilter: Don't clear OBD_MD_FLFLAGS mistakenly (Revision 56bd084b72f57af1d105ac0d3b5c337af9776361)

Result = SUCCESS
Oleg Drokin : 56bd084b72f57af1d105ac0d3b5c337af9776361
Files :

  • lustre/obdfilter/filter.c
Comment by Build Master (Inactive) [ 02/Nov/11 ]

Integrated in lustre-master » x86_64,server,el5,inkernel #332
LU-791 obdfilter: Don't clear OBD_MD_FLFLAGS mistakenly (Revision 56bd084b72f57af1d105ac0d3b5c337af9776361)

Result = SUCCESS
Oleg Drokin : 56bd084b72f57af1d105ac0d3b5c337af9776361
Files :

  • lustre/obdfilter/filter.c
Comment by Build Master (Inactive) [ 02/Nov/11 ]

Integrated in lustre-master » x86_64,client,el6,inkernel #332
LU-791 obdfilter: Don't clear OBD_MD_FLFLAGS mistakenly (Revision 56bd084b72f57af1d105ac0d3b5c337af9776361)

Result = SUCCESS
Oleg Drokin : 56bd084b72f57af1d105ac0d3b5c337af9776361
Files :

  • lustre/obdfilter/filter.c
Comment by Build Master (Inactive) [ 02/Nov/11 ]

Integrated in lustre-master » i686,client,el6,inkernel #332
LU-791 obdfilter: Don't clear OBD_MD_FLFLAGS mistakenly (Revision 56bd084b72f57af1d105ac0d3b5c337af9776361)

Result = SUCCESS
Oleg Drokin : 56bd084b72f57af1d105ac0d3b5c337af9776361
Files :

  • lustre/obdfilter/filter.c
Comment by Build Master (Inactive) [ 02/Nov/11 ]

Integrated in lustre-master » x86_64,client,el5,ofa #332
LU-791 obdfilter: Don't clear OBD_MD_FLFLAGS mistakenly (Revision 56bd084b72f57af1d105ac0d3b5c337af9776361)

Result = SUCCESS
Oleg Drokin : 56bd084b72f57af1d105ac0d3b5c337af9776361
Files :

  • lustre/obdfilter/filter.c
Comment by Build Master (Inactive) [ 02/Nov/11 ]

Integrated in lustre-master » x86_64,server,el5,ofa #332
LU-791 obdfilter: Don't clear OBD_MD_FLFLAGS mistakenly (Revision 56bd084b72f57af1d105ac0d3b5c337af9776361)

Result = SUCCESS
Oleg Drokin : 56bd084b72f57af1d105ac0d3b5c337af9776361
Files :

  • lustre/obdfilter/filter.c
Comment by Build Master (Inactive) [ 02/Nov/11 ]

Integrated in lustre-master » x86_64,client,sles11,inkernel #332
LU-791 obdfilter: Don't clear OBD_MD_FLFLAGS mistakenly (Revision 56bd084b72f57af1d105ac0d3b5c337af9776361)

Result = SUCCESS
Oleg Drokin : 56bd084b72f57af1d105ac0d3b5c337af9776361
Files :

  • lustre/obdfilter/filter.c
Comment by Build Master (Inactive) [ 02/Nov/11 ]

Integrated in lustre-master » i686,server,el6,inkernel #332
LU-791 obdfilter: Don't clear OBD_MD_FLFLAGS mistakenly (Revision 56bd084b72f57af1d105ac0d3b5c337af9776361)

Result = SUCCESS
Oleg Drokin : 56bd084b72f57af1d105ac0d3b5c337af9776361
Files :

  • lustre/obdfilter/filter.c
Comment by Build Master (Inactive) [ 02/Nov/11 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,inkernel #332
LU-791 obdfilter: Don't clear OBD_MD_FLFLAGS mistakenly (Revision 56bd084b72f57af1d105ac0d3b5c337af9776361)

Result = SUCCESS
Oleg Drokin : 56bd084b72f57af1d105ac0d3b5c337af9776361
Files :

  • lustre/obdfilter/filter.c
Comment by Build Master (Inactive) [ 02/Nov/11 ]

Integrated in lustre-master » x86_64,server,el6,inkernel #332
LU-791 obdfilter: Don't clear OBD_MD_FLFLAGS mistakenly (Revision 56bd084b72f57af1d105ac0d3b5c337af9776361)

Result = SUCCESS
Oleg Drokin : 56bd084b72f57af1d105ac0d3b5c337af9776361
Files :

  • lustre/obdfilter/filter.c
Comment by Build Master (Inactive) [ 02/Nov/11 ]

Integrated in lustre-master » i686,server,el5,inkernel #332
LU-791 obdfilter: Don't clear OBD_MD_FLFLAGS mistakenly (Revision 56bd084b72f57af1d105ac0d3b5c337af9776361)

Result = SUCCESS
Oleg Drokin : 56bd084b72f57af1d105ac0d3b5c337af9776361
Files :

  • lustre/obdfilter/filter.c
Comment by Build Master (Inactive) [ 02/Nov/11 ]

Integrated in lustre-master » i686,server,el5,ofa #332
LU-791 obdfilter: Don't clear OBD_MD_FLFLAGS mistakenly (Revision 56bd084b72f57af1d105ac0d3b5c337af9776361)

Result = SUCCESS
Oleg Drokin : 56bd084b72f57af1d105ac0d3b5c337af9776361
Files :

  • lustre/obdfilter/filter.c
Comment by Build Master (Inactive) [ 03/Nov/11 ]

Integrated in lustre-master » i686,client,el5,inkernel #332
LU-791 obdfilter: Don't clear OBD_MD_FLFLAGS mistakenly (Revision 56bd084b72f57af1d105ac0d3b5c337af9776361)

Result = SUCCESS
Oleg Drokin : 56bd084b72f57af1d105ac0d3b5c337af9776361
Files :

  • lustre/obdfilter/filter.c
Comment by Build Master (Inactive) [ 03/Nov/11 ]

Integrated in lustre-master » i686,client,el5,ofa #332
LU-791 obdfilter: Don't clear OBD_MD_FLFLAGS mistakenly (Revision 56bd084b72f57af1d105ac0d3b5c337af9776361)

Result = SUCCESS
Oleg Drokin : 56bd084b72f57af1d105ac0d3b5c337af9776361
Files :

  • lustre/obdfilter/filter.c
Comment by Niu Yawei (Inactive) [ 03/Nov/11 ]

landed for 2.2

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