[LU-327] port bug18896 to master(replay-single test_61d: @@@@@@ FAIL: cannot restart mds on Cray xt3) Created: 15/May/11  Updated: 18/Aug/11  Resolved: 18/Aug/11

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

Type: Bug Priority: Minor
Reporter: Hongchao Zhang Assignee: Hongchao Zhang
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Bugzilla ID: 18,896
Rank (Obsolete): 4935

 Description   

for mgc, it doesn't cleanup its obd_import if it setup the import but never connect, should add cleanup code in mgc_precleanup just like mdc_precleanup

/* client import will not have been cleaned. */
cfs_down_write(&obd->u.cli.cl_sem);
if (obd->u.cli.cl_import)

{ struct obd_import *imp; imp = obd->u.cli.cl_import; CERROR("client import never connected\n"); class_destroy_import(imp); obd->u.cli.cl_import = NULL; }

cfs_up_write(&obd->u.cli.cl_sem);



 Comments   
Comment by Peter Jones [ 18/May/11 ]

HongChao

I think that you intended to assign this to yourself. Please assign it back to me if this is not the case

Thanks

Peter

Comment by Hongchao Zhang [ 09/Jun/11 ]

patch in http://review.whamcloud.com/#change,917

Comment by Hongchao Zhang [ 14/Jun/11 ]

currently, it's blocked by LU-387(http://jira.whamcloud.com/browse/LU-387)

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

Integrated in lustre-master » x86_64,client,el5,ofa #239
LU-327 cleanup the client import of mgc

Oleg Drokin : 421d8e98f309870475aadc05aa81a60e9acd8e65
Files :

  • lustre/mgc/mgc_request.c
  • lustre/mdc/mdc_request.c
  • lustre/include/obd_class.h
  • lustre/mgc/libmgc.c
  • lustre/osc/osc_request.c
Comment by Build Master (Inactive) [ 02/Aug/11 ]

Integrated in lustre-master » i686,client,el6,inkernel #239
LU-327 cleanup the client import of mgc

Oleg Drokin : 421d8e98f309870475aadc05aa81a60e9acd8e65
Files :

  • lustre/mgc/libmgc.c
  • lustre/mdc/mdc_request.c
  • lustre/include/obd_class.h
  • lustre/mgc/mgc_request.c
  • lustre/osc/osc_request.c
Comment by Build Master (Inactive) [ 02/Aug/11 ]

Integrated in lustre-master » x86_64,client,el5,inkernel #239
LU-327 cleanup the client import of mgc

Oleg Drokin : 421d8e98f309870475aadc05aa81a60e9acd8e65
Files :

  • lustre/osc/osc_request.c
  • lustre/mgc/libmgc.c
  • lustre/mdc/mdc_request.c
  • lustre/include/obd_class.h
  • lustre/mgc/mgc_request.c
Comment by Build Master (Inactive) [ 02/Aug/11 ]

Integrated in lustre-master » x86_64,server,el6,inkernel #239
LU-327 cleanup the client import of mgc

Oleg Drokin : 421d8e98f309870475aadc05aa81a60e9acd8e65
Files :

  • lustre/mgc/libmgc.c
  • lustre/include/obd_class.h
  • lustre/osc/osc_request.c
  • lustre/mgc/mgc_request.c
  • lustre/mdc/mdc_request.c
Comment by Build Master (Inactive) [ 02/Aug/11 ]

Integrated in lustre-master » x86_64,client,el6,inkernel #239
LU-327 cleanup the client import of mgc

Oleg Drokin : 421d8e98f309870475aadc05aa81a60e9acd8e65
Files :

  • lustre/osc/osc_request.c
  • lustre/mgc/libmgc.c
  • lustre/mdc/mdc_request.c
  • lustre/mgc/mgc_request.c
  • lustre/include/obd_class.h
Comment by Build Master (Inactive) [ 02/Aug/11 ]

Integrated in lustre-master » x86_64,client,sles11,inkernel #239
LU-327 cleanup the client import of mgc

Oleg Drokin : 421d8e98f309870475aadc05aa81a60e9acd8e65
Files :

  • lustre/mgc/libmgc.c
  • lustre/mgc/mgc_request.c
  • lustre/include/obd_class.h
  • lustre/osc/osc_request.c
  • lustre/mdc/mdc_request.c
Comment by Build Master (Inactive) [ 02/Aug/11 ]

Integrated in lustre-master » i686,client,el5,inkernel #239
LU-327 cleanup the client import of mgc

Oleg Drokin : 421d8e98f309870475aadc05aa81a60e9acd8e65
Files :

  • lustre/mgc/mgc_request.c
  • lustre/osc/osc_request.c
  • lustre/include/obd_class.h
  • lustre/mdc/mdc_request.c
  • lustre/mgc/libmgc.c
Comment by Build Master (Inactive) [ 02/Aug/11 ]

Integrated in lustre-master » x86_64,server,el5,ofa #239
LU-327 cleanup the client import of mgc

Oleg Drokin : 421d8e98f309870475aadc05aa81a60e9acd8e65
Files :

  • lustre/mgc/libmgc.c
  • lustre/osc/osc_request.c
  • lustre/mdc/mdc_request.c
  • lustre/mgc/mgc_request.c
  • lustre/include/obd_class.h
Comment by Build Master (Inactive) [ 02/Aug/11 ]

Integrated in lustre-master » x86_64,client,ubuntu1004,inkernel #239
LU-327 cleanup the client import of mgc

Oleg Drokin : 421d8e98f309870475aadc05aa81a60e9acd8e65
Files :

  • lustre/mgc/mgc_request.c
  • lustre/include/obd_class.h
  • lustre/mdc/mdc_request.c
  • lustre/osc/osc_request.c
  • lustre/mgc/libmgc.c
Comment by Build Master (Inactive) [ 02/Aug/11 ]

Integrated in lustre-master » x86_64,server,el5,inkernel #239
LU-327 cleanup the client import of mgc

Oleg Drokin : 421d8e98f309870475aadc05aa81a60e9acd8e65
Files :

  • lustre/mgc/libmgc.c
  • lustre/mdc/mdc_request.c
  • lustre/include/obd_class.h
  • lustre/mgc/mgc_request.c
  • lustre/osc/osc_request.c
Comment by Build Master (Inactive) [ 02/Aug/11 ]

Integrated in lustre-master » i686,server,el6,inkernel #239
LU-327 cleanup the client import of mgc

Oleg Drokin : 421d8e98f309870475aadc05aa81a60e9acd8e65
Files :

  • lustre/include/obd_class.h
  • lustre/mdc/mdc_request.c
  • lustre/mgc/libmgc.c
  • lustre/osc/osc_request.c
  • lustre/mgc/mgc_request.c
Comment by Build Master (Inactive) [ 02/Aug/11 ]

Integrated in lustre-master » i686,server,el5,ofa #239
LU-327 cleanup the client import of mgc

Oleg Drokin : 421d8e98f309870475aadc05aa81a60e9acd8e65
Files :

  • lustre/include/obd_class.h
  • lustre/osc/osc_request.c
  • lustre/mgc/libmgc.c
  • lustre/mdc/mdc_request.c
  • lustre/mgc/mgc_request.c
Comment by Build Master (Inactive) [ 02/Aug/11 ]

Integrated in lustre-master » i686,server,el5,inkernel #239
LU-327 cleanup the client import of mgc

Oleg Drokin : 421d8e98f309870475aadc05aa81a60e9acd8e65
Files :

  • lustre/osc/osc_request.c
  • lustre/include/obd_class.h
  • lustre/mdc/mdc_request.c
  • lustre/mgc/mgc_request.c
  • lustre/mgc/libmgc.c
Comment by Build Master (Inactive) [ 02/Aug/11 ]

Integrated in lustre-master » i686,client,el5,ofa #239
LU-327 cleanup the client import of mgc

Oleg Drokin : 421d8e98f309870475aadc05aa81a60e9acd8e65
Files :

  • lustre/mdc/mdc_request.c
  • lustre/include/obd_class.h
  • lustre/mgc/mgc_request.c
  • lustre/osc/osc_request.c
  • lustre/mgc/libmgc.c
Generated at Sat Feb 10 01:05:56 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.