Whamcloud - gitweb
- fixes and cleanup in seq-mgr about setting controller client. Return -ENODEV if...
authoryury <yury>
Tue, 10 Oct 2006 13:58:49 +0000 (13:58 +0000)
committeryury <yury>
Tue, 10 Oct 2006 13:58:49 +0000 (13:58 +0000)
commit5efe632f4526f7e856e217f2dd534fc62f9c4ea8
tree828f5a4d466eb8868204cfa2bb228927f0b43eba
parent31bb7b4774ca2231eb23a26fa25d792692a17467
- fixes and cleanup in seq-mgr about setting controller client. Return -ENODEV if controller client is not set but we want allocate new super. Caller should repeat req later;

- in fld_rrb_scan() added detailed dump of targets for case no target found by seq-built hash;
- in fld_client_add_target() detailed info about added target;

- in target_handle_connect() do not allow to connect if obd configuratoin is not yet finished. MGS obd is always counted as finished configuration and may accept connections from MGC;

- fixed leak of och in ll_close_inode_openhandle(). och should be marked DEAD also for cases !(och->och_flags & FMODE_WRITE);

- in lmv_clear_open_replay_data() handle possible error if no target found by fid;
- detailed debug in mdc_realloc_openmsg() about req realloc activities and attributes (sizes);
- in mdc_enqueue() do not realloc failed open reqs;

- in mdc_enqueue() set open replay data only in cases open req is not errorneous and will be replayed (req->rq_replay == 1);

- in mdc_enqueue() try to realloc open req for EA not only for reg files. Directories also may have stripe info (default stripe info for children files). Cleanups;

- in mdc_set_open_replay_data() add ref to open request saved to open replay data to prevent its freeing underneath what may confuse caller (mdc_enqueue() or llite);. Balance refc in mdc_clear_open_replay_data() which is called when open req is not longer needed to be preserved for replay (close is running or open req is errorneous);

- fixed typo in message in mdc_fid_init();
- in mdt fixes in comments, small cleanups;
- in test-framework.sh, find "evict_client" in mdd lprocfs (not imlemented yet).
13 files changed:
lustre/fid/fid_handler.c
lustre/fld/fld_request.c
lustre/ldlm/ldlm_lib.c
lustre/llite/file.c
lustre/lmv/lmv_obd.c
lustre/mdc/mdc_locks.c
lustre/mdc/mdc_request.c
lustre/mdd/mdd_handler.c
lustre/mdt/mdt_handler.c
lustre/mdt/mdt_open.c
lustre/mdt/mdt_reint.c
lustre/mgs/mgs_handler.c
lustre/tests/test-framework.sh