Whamcloud - gitweb
fs/lustre-release.git
17 years ago- fix issues with wire structures and swabbing
tappro [Wed, 27 Sep 2006 20:48:51 +0000 (20:48 +0000)]
- fix issues with wire structures and swabbing
- initialize some values that can be uninitialized

17 years agoBranch b_new_cmd
vitaly [Wed, 27 Sep 2006 18:27:58 +0000 (18:27 +0000)]
Branch b_new_cmd

drop NOSPC flag on unlink

17 years agoBranch: b_new_cmd
wangdi [Wed, 27 Sep 2006 13:54:35 +0000 (13:54 +0000)]
Branch: b_new_cmd
Destroy cookie oa should include the log cookie, which cause runtests failed again
and again.

17 years agoBranch: b_new_cmd
wangdi [Wed, 27 Sep 2006 10:36:29 +0000 (10:36 +0000)]
Branch: b_new_cmd
1) some fixes about split after capa commit
2) we should connect with CLI flags. since mdt will return this
   flags anyway for local idmap when connect between mds.

17 years agoremove capability support for split dir.
lsy [Wed, 27 Sep 2006 08:10:55 +0000 (08:10 +0000)]
remove capability support for split dir.

17 years agoBranch: b_new_cmd
wangdi [Wed, 27 Sep 2006 07:52:52 +0000 (07:52 +0000)]
Branch: b_new_cmd
add assert for debuging iam I/O error problems in creating

17 years agoland capability.
lsy [Wed, 27 Sep 2006 06:34:44 +0000 (06:34 +0000)]
land capability.

17 years agoTransmit group_info between mds.
fanyong [Wed, 27 Sep 2006 05:17:29 +0000 (05:17 +0000)]
Transmit group_info between mds.

17 years agoBranch: b_new_cmd
wangdi [Wed, 27 Sep 2006 04:36:45 +0000 (04:36 +0000)]
Branch: b_new_cmd
when setting async info, it should only set info for the special ost

17 years agodifferent error value for different failure case
huanghua [Wed, 27 Sep 2006 04:29:58 +0000 (04:29 +0000)]
different error value for different failure case

17 years agomore precise name for osc on MDT0000
huanghua [Wed, 27 Sep 2006 03:49:36 +0000 (03:49 +0000)]
more precise name for osc on MDT0000

17 years agoBranch:b_new_cmd
wangdi [Wed, 27 Sep 2006 03:47:37 +0000 (03:47 +0000)]
Branch:b_new_cmd
revert back the group llog fixes temporarily

17 years ago(1) adjust init order of mdt_init0.
fanyong [Wed, 27 Sep 2006 03:39:45 +0000 (03:39 +0000)]
(1) adjust init order of mdt_init0.
(2) fix position of packing remote perm for open.

17 years ago- remove double check for MA_LOV
tappro [Tue, 26 Sep 2006 23:58:04 +0000 (23:58 +0000)]
- remove double check for MA_LOV
- remove orphans tests from ALWAYS_EXCEPT in replay-single.sh

17 years agoorphan-delay patch
tappro [Tue, 26 Sep 2006 23:55:26 +0000 (23:55 +0000)]
orphan-delay patch

17 years ago- orphan handling code update
tappro [Tue, 26 Sep 2006 23:47:51 +0000 (23:47 +0000)]
- orphan handling code update
- move txn_callback_{add,del} to the {mount,shutdown} in mdd
- regroup mdd code a bit by functionality

17 years agoBranch: b_new_cmd
wangdi [Tue, 26 Sep 2006 17:49:54 +0000 (17:49 +0000)]
Branch: b_new_cmd
someone just init group llog already before we want to insert ourselves.
a tmp fix and some debug info for further investigation

17 years agobranch: b_new_cmd
ericm [Tue, 26 Sep 2006 17:24:42 +0000 (17:24 +0000)]
branch: b_new_cmd
port from b1_8_gss: various trivial fixes.

17 years ago- pass handling errors down to target_send_reply() to let it know when to send normal...
yury [Tue, 26 Sep 2006 15:27:40 +0000 (15:27 +0000)]
- pass handling errors down to target_send_reply() to let it know when to send normal reply and when to send errors.

17 years agocorrect osc name
huanghua [Tue, 26 Sep 2006 15:24:56 +0000 (15:24 +0000)]
correct osc name

17 years ago- fix test53 to do real read of MDS data.
tappro [Tue, 26 Sep 2006 11:43:42 +0000 (11:43 +0000)]
- fix test53 to do real read of MDS data.

17 years agoBranch: b_new_cmd
wangdi [Tue, 26 Sep 2006 11:41:59 +0000 (11:41 +0000)]
Branch: b_new_cmd
it should find the right ctxt to init the imp of the log

17 years ago- fixes in mdt_fini();
yury [Tue, 26 Sep 2006 10:30:59 +0000 (10:30 +0000)]
- fixes in mdt_fini();
- verbose seq recovery.

17 years agonot implmented read() methed for symlink.
huanghua [Tue, 26 Sep 2006 10:28:10 +0000 (10:28 +0000)]
not implmented read() methed for symlink.
This happens while MDS umount and mount again;

17 years agocorrect grep pattern for osc
huanghua [Tue, 26 Sep 2006 07:29:20 +0000 (07:29 +0000)]
correct grep pattern for osc

17 years agoBranch: b_new_cmd
wangdi [Tue, 26 Sep 2006 07:23:41 +0000 (07:23 +0000)]
Branch: b_new_cmd
1) when we can not handler, we should return anyway
2) remove obsolute func

17 years ago(1) check child existance, and find mfd in reconstruct open;
huanghua [Tue, 26 Sep 2006 06:44:35 +0000 (06:44 +0000)]
(1) check child existance, and find mfd in reconstruct open;
(2) some other small fix about in unlink;

17 years agodrop redefinition of group_info.
fanyong [Tue, 26 Sep 2006 04:33:06 +0000 (04:33 +0000)]
drop redefinition of group_info.

17 years agoShip cap_effective inter-mds.
fanyong [Tue, 26 Sep 2006 03:43:27 +0000 (03:43 +0000)]
Ship cap_effective inter-mds.

17 years agoremove garbage
tappro [Mon, 25 Sep 2006 23:53:07 +0000 (23:53 +0000)]
remove garbage

17 years ago- fixes due to osc names
tappro [Mon, 25 Sep 2006 23:27:40 +0000 (23:27 +0000)]
- fixes due to osc names

17 years ago-revert back changes in osc nameing. The old pattern should be preserved for
tappro [Mon, 25 Sep 2006 23:19:54 +0000 (23:19 +0000)]
-revert back changes in osc nameing. The old pattern should be preserved for
tests. Name of MDT is added at the end of name.
- fix changes in sanity.sh

17 years agoBranch b_new_cmd
vitaly [Mon, 25 Sep 2006 22:44:44 +0000 (22:44 +0000)]
Branch b_new_cmd

do not forget to free ost space on unlink

17 years ago-adapt sanity.sh to changed osc nameing
tappro [Mon, 25 Sep 2006 22:43:34 +0000 (22:43 +0000)]
-adapt sanity.sh to changed osc nameing

17 years ago- fix osc nameing. Now it consists of corresponding lov name and suffix -oscXXXX
tappro [Mon, 25 Sep 2006 22:18:53 +0000 (22:18 +0000)]
- fix osc nameing. Now it consists of corresponding lov name and suffix -oscXXXX
  with OST index.
- fix functions for test27 based on osc names

17 years ago- fixes about memory debug patch.
yury [Mon, 25 Sep 2006 14:31:09 +0000 (14:31 +0000)]
- fixes about memory debug patch.

17 years agoFix sbi->ll_flags.
fanyong [Mon, 25 Sep 2006 14:15:46 +0000 (14:15 +0000)]
Fix sbi->ll_flags.

17 years agoUse NULL parameter when no need permission check.
fanyong [Mon, 25 Sep 2006 13:24:13 +0000 (13:24 +0000)]
Use NULL parameter when no need permission check.

17 years ago- added online memory debug patch. It shows all abnormal memory allocation, free...
yury [Mon, 25 Sep 2006 12:19:43 +0000 (12:19 +0000)]
- added online memory debug patch. It shows all abnormal memory allocation, free, double free, etc. in process and at the end of work, when modules unload. It is deactivated by default, to activate it one needs to add #define CONFIG_DEBUG_MEMORY 1 to config.h

17 years ago- remove pointer med_mcd on the freed mcd to avoid double free in client_del()
tappro [Mon, 25 Sep 2006 12:03:38 +0000 (12:03 +0000)]
- remove pointer med_mcd on the freed mcd to avoid double free in client_del()

17 years ago- fixed really nasty bug with recovery. Sometimes server sent _two_ replies for one...
yury [Mon, 25 Sep 2006 10:05:38 +0000 (10:05 +0000)]
- fixed really nasty bug with recovery. Sometimes server sent _two_ replies for one replay RPC. And second replay was mostly empty, errorneous one which confused client some times. For instance mdc_replay_open() and others. In two words, mdt should not send anything and return with rc for cases mdt_recovery() (and thus mds_filter_recovery_request()) returns 0;

- mor esimple recovery stuff in fld.

17 years agoupdate failed test cases
huanghua [Mon, 25 Sep 2006 08:58:09 +0000 (08:58 +0000)]
update failed test cases

17 years agosmall fix for group_info.
fanyong [Mon, 25 Sep 2006 07:42:03 +0000 (07:42 +0000)]
small fix for group_info.

17 years agoBranch: b_new_cmd
wangdi [Mon, 25 Sep 2006 06:38:54 +0000 (06:38 +0000)]
Branch: b_new_cmd
For filter group llog, we should not cleanup llog ctxt in obd.

17 years ago- set warn level for 'second transaction message'. It is allowed case in
tappro [Mon, 25 Sep 2006 05:41:26 +0000 (05:41 +0000)]
- set warn level for 'second transaction message'. It is allowed case in
  general, but should be controlled
- remove obsoleted comment

17 years ago fill obd_namespace with mdt_namespace value
tappro [Mon, 25 Sep 2006 04:57:26 +0000 (04:57 +0000)]
 fill obd_namespace with mdt_namespace value

17 years agoReplace lustre_msg_XXX with RPC layout functions.
fanyong [Mon, 25 Sep 2006 04:32:42 +0000 (04:32 +0000)]
Replace lustre_msg_XXX with RPC layout functions.

17 years ago- changes in error messages of seq and fld.
yury [Sun, 24 Sep 2006 18:18:19 +0000 (18:18 +0000)]
- changes in error messages of seq and fld.

17 years ago(1) Remote/local user
fanyong [Sun, 24 Sep 2006 14:11:02 +0000 (14:11 +0000)]
(1) Remote/local user
(2) Permission check

17 years ago- in mdc_replay_open() do not assert on body == NULL, that is legal case when server...
yury [Sun, 24 Sep 2006 13:04:46 +0000 (13:04 +0000)]
- in mdc_replay_open() do not assert on body == NULL, that is legal case when server fails to replay LDLM_ENQUEUE.

17 years ago- re-arrange seq and fld lprocfs stuff, put their lproc into "fld" and "seq" dirs...
yury [Sun, 24 Sep 2006 10:40:16 +0000 (10:40 +0000)]
- re-arrange seq and fld lprocfs stuff, put their lproc into "fld" and "seq" dirs respectively;
- fixes in mdt_enqueue() with handling obd_fail_loc;
- fixed missed lu_context_key_register() in fid init time.

17 years ago- wrong parameter fix
tappro [Sat, 23 Sep 2006 19:56:42 +0000 (19:56 +0000)]
- wrong parameter fix

17 years ago- fix unlock without lock issue
tappro [Sat, 23 Sep 2006 14:36:34 +0000 (14:36 +0000)]
- fix unlock without lock issue

17 years ago- return EREMOTE in mdd_is_parent() in case of remote parent, we don't need rc <
tappro [Sat, 23 Sep 2006 14:18:30 +0000 (14:18 +0000)]
- return EREMOTE in mdd_is_parent() in case of remote parent, we don't need rc <
  0 in that case

17 years ago- fixing locks in mdt_reint_rename() for cross-ref cases
tappro [Sat, 23 Sep 2006 13:32:35 +0000 (13:32 +0000)]
- fixing locks in mdt_reint_rename() for cross-ref cases

17 years ago- wrong fid is used in mdt_is_subdir()
tappro [Sat, 23 Sep 2006 13:31:52 +0000 (13:31 +0000)]
- wrong fid is used in mdt_is_subdir()

17 years ago- fix bug with getting object in mdd. If it is not located then it should be put
tappro [Sat, 23 Sep 2006 13:30:50 +0000 (13:30 +0000)]
- fix bug with getting object in mdd. If it is not located then it should be put
- small fixes in comments

17 years agoBranch: b_new_cmd
wangdi [Sat, 23 Sep 2006 07:37:05 +0000 (07:37 +0000)]
Branch: b_new_cmd
llog_connect_body should be in offset 1

17 years agoosd: remove entry from oi map on object deletion
nikita [Fri, 22 Sep 2006 21:21:13 +0000 (21:21 +0000)]
osd: remove entry from oi map on object deletion

17 years agoiam: adjust nlink when polymorphing regular file into directory (this assures that...
nikita [Fri, 22 Sep 2006 21:20:33 +0000 (21:20 +0000)]
iam: adjust nlink when polymorphing regular file into directory (this assures that /root has nlink 2). Patch looks huge because it seems to rearrange files in diff.

17 years ago- fixed bug with handling replaying and resending FLD and SEQ RPCs. obd->obd_recovery...
yury [Fri, 22 Sep 2006 20:02:53 +0000 (20:02 +0000)]
- fixed bug with handling replaying and resending FLD and SEQ RPCs. obd->obd_recovery_handler which is initialized in
 target_handle_connect() time should be aware of all requests types and act appropriate.

17 years agosmall fixes
tappro [Fri, 22 Sep 2006 19:26:36 +0000 (19:26 +0000)]
small fixes

17 years ago- removed crow test from replay-single;
yury [Fri, 22 Sep 2006 18:59:41 +0000 (18:59 +0000)]
- removed crow test from replay-single;
- added test 0c to replay-single which tests that fld create is replied in recovery;
- fixes in lmv amd in llite, return fld lookup errors;
- added fld_cache_flush(), using it from fld lproc;
- some cleanups in mdt.

17 years agoBranch: b_new_cmd
wangdi [Fri, 22 Sep 2006 14:59:57 +0000 (14:59 +0000)]
Branch: b_new_cmd
some fixes according to nikita's comments

17 years agoBranch: b_new_cmd
wangdi [Fri, 22 Sep 2006 14:04:02 +0000 (14:04 +0000)]
Branch: b_new_cmd
fix typo of last commit

17 years agoadd mdt_object_cr_lock()
tappro [Fri, 22 Sep 2006 12:39:08 +0000 (12:39 +0000)]
add mdt_object_cr_lock()

17 years agosmall cleanup
tappro [Fri, 22 Sep 2006 12:35:35 +0000 (12:35 +0000)]
small cleanup

17 years ago- create special lock with bits fix for cross-ref objects
tappro [Fri, 22 Sep 2006 12:35:07 +0000 (12:35 +0000)]
- create special lock with bits fix for cross-ref objects

17 years ago- fixed resent for intent_open case;
yury [Fri, 22 Sep 2006 12:07:31 +0000 (12:07 +0000)]
- fixed resent for intent_open case;
- lots of cleanups and fixes in comments.

17 years ago- commit files missed by Tom's commit.
yury [Fri, 22 Sep 2006 11:31:15 +0000 (11:31 +0000)]
- commit files missed by Tom's commit.

17 years agoBranch: b_new_cmd
wangdi [Fri, 22 Sep 2006 09:54:32 +0000 (09:54 +0000)]
Branch: b_new_cmd

For cross-ref object, UPDATE lock and LOOKUP lock can not retrieve at same time.
so we can not try to match them both on client

17 years agoBranch: b_new_cmd
wangdi [Fri, 22 Sep 2006 08:15:07 +0000 (08:15 +0000)]
Branch: b_new_cmd
1. change our lvar hash method to normal ext3 hash methods and some fixes about it

2. add ext3 hash file to obdclass for temporarily for hash calculation on client.

17 years agoBranch: b_new_cmd
wangdi [Fri, 22 Sep 2006 07:08:36 +0000 (07:08 +0000)]
Branch: b_new_cmd
some cleanup and typo fixes

17 years agoBranch b_new_cmd
vitaly [Fri, 22 Sep 2006 00:12:33 +0000 (00:12 +0000)]
Branch b_new_cmd

cleanup

17 years agoBranch b_new_cmd
vitaly [Thu, 21 Sep 2006 23:58:47 +0000 (23:58 +0000)]
Branch b_new_cmd

initialize missed o_gr and the corresponding o_valid flag in obdo

17 years agoBranch b_new_cmd
vitaly [Thu, 21 Sep 2006 19:04:35 +0000 (19:04 +0000)]
Branch b_new_cmd

bugfix for the memleak in ll_revalidate_it
bugfix for the memleak in mdt_destroy_export

17 years agoBranch b_new_cmd
vitaly [Thu, 21 Sep 2006 17:35:54 +0000 (17:35 +0000)]
Branch b_new_cmd

bugfix for memleak in lov_match
bugfix for possibly locked objects when enqueue or match only partially fails

17 years ago- update the cross-ref locking fix
tappro [Thu, 21 Sep 2006 16:46:03 +0000 (16:46 +0000)]
- update the cross-ref locking fix
- fix mdt_set_disposition() use before the rep is initialized

17 years ago- improvements in error messages
yury [Thu, 21 Sep 2006 15:43:31 +0000 (15:43 +0000)]
- improvements in error messages

17 years agoBranch: b_new_cmd
wangdi [Thu, 21 Sep 2006 14:55:20 +0000 (14:55 +0000)]
Branch: b_new_cmd
1) revert back the last commit for cancel the update lock of cross-ref object,
   since the following revalidate may need this lock.
2) set l_ast_data for the update lock in readdir, since it may not be set for the
   for the cross-object.
3) in ll_revalidate_inode_it, we should only try to get GETATTR lock.

17 years agomove fid_{,un}_lock() functions into fid module
nikita [Thu, 21 Sep 2006 13:31:34 +0000 (13:31 +0000)]
move fid_{,un}_lock() functions into fid module

17 years agolu2mdd_obj(): fix assert to match last commit
nikita [Thu, 21 Sep 2006 10:58:12 +0000 (10:58 +0000)]
lu2mdd_obj(): fix assert to match last commit

17 years agocosmetic fixes
nikita [Thu, 21 Sep 2006 10:46:52 +0000 (10:46 +0000)]
cosmetic fixes

17 years agomove lprocfs_obd_cleanup() to lu_device_fini() to share the code
nikita [Thu, 21 Sep 2006 10:46:23 +0000 (10:46 +0000)]
move lprocfs_obd_cleanup() to lu_device_fini() to share the code

17 years ago- fix typo in comment.
yury [Thu, 21 Sep 2006 09:05:44 +0000 (09:05 +0000)]
- fix typo in comment.

17 years ago- fix in test-framework about getting osc uuid.
yury [Thu, 21 Sep 2006 09:03:34 +0000 (09:03 +0000)]
- fix in test-framework about getting osc uuid.

17 years ago- fixes about obd_fail_loc handling;
yury [Thu, 21 Sep 2006 08:54:48 +0000 (08:54 +0000)]
- fixes about obd_fail_loc handling;
- fixed nasty typo in fld handling define which could cause issues realy hard to find later, I was lucky to see now.

17 years agoBranch: b_new_cmd
wangdi [Thu, 21 Sep 2006 07:52:29 +0000 (07:52 +0000)]
Branch: b_new_cmd
1)set the correct lock bit for cross-ref object.
2)in lmv_remote_intent, we should cancel the UPDATE lock, since we did not
  set l_ast_data for this lock, the inode page will not be truncated when revoked
  this lock, which will leave some stale dir page.

17 years agosmall fix about pack reply
huanghua [Thu, 21 Sep 2006 05:29:14 +0000 (05:29 +0000)]
small fix about pack reply

17 years agoBranch b_new_cmd
vitaly [Wed, 20 Sep 2006 21:04:19 +0000 (21:04 +0000)]
Branch b_new_cmd
b=22564

always close epoch if not regular file

17 years ago- fix bug with missed object_put() in error case
tappro [Wed, 20 Sep 2006 19:36:32 +0000 (19:36 +0000)]
- fix bug with missed object_put() in error case
- call mdt_handle_last_unlink() after rename only if it was successfull

17 years agoBranch b_new_cmd
vitaly [Wed, 20 Sep 2006 16:59:33 +0000 (16:59 +0000)]
Branch b_new_cmd
b=22564

Returns -EAGAIN instead of EAGAIN to clients when attribute update is needed.
Sets ldiskfs_inode_info.i_disksize to inode size in osd_inode_setattr to store
it correctly on the disk.

17 years agoBranch: b_new_cmd
wangdi [Wed, 20 Sep 2006 16:13:43 +0000 (16:13 +0000)]
Branch: b_new_cmd
when ost recovery, we may only init llogs for group. not llogs for obd

17 years ago- disable not working yet stuff.
yury [Wed, 20 Sep 2006 15:35:59 +0000 (15:35 +0000)]
- disable not working yet stuff.

17 years ago- liblustre build fixes
yury [Wed, 20 Sep 2006 15:18:17 +0000 (15:18 +0000)]
- liblustre build fixes

17 years agoBranch: c_new_cmd
wangdi [Wed, 20 Sep 2006 14:19:57 +0000 (14:19 +0000)]
Branch: c_new_cmd
1)reset the end offset of each hash segment
2)add up_call for disable transaction for splitting, since there will
  include many transaction in one thread, and we do not need replay for
  it, so do not set transaction temporarily.
3) some other fixes of readdir for splitting

17 years ago- added limited lprocfs stuff in mdt to pass some tests;
yury [Wed, 20 Sep 2006 13:48:12 +0000 (13:48 +0000)]
- added limited lprocfs stuff in mdt to pass some tests;
- fixes in tests.

17 years agosome more checks, and some small fix
huanghua [Wed, 20 Sep 2006 09:17:16 +0000 (09:17 +0000)]
some more checks, and some small fix

17 years agocancel export locks during disconnect
tappro [Wed, 20 Sep 2006 08:44:17 +0000 (08:44 +0000)]
cancel export locks during disconnect

17 years ago- fixes about lock fixup, replace and some resent issues.
yury [Wed, 20 Sep 2006 08:13:14 +0000 (08:13 +0000)]
- fixes about lock fixup, replace and some resent issues.