Whamcloud - gitweb
fs/lustre-release.git
18 years agoBranch: b_new_cmd
wangdi [Wed, 30 Aug 2006 09:09:00 +0000 (09:09 +0000)]
Branch: b_new_cmd
oops, just forget a file in the last commit

18 years agotemporary fix:
tappro [Wed, 30 Aug 2006 08:33:16 +0000 (08:33 +0000)]
temporary fix:
put mount refcounts back after because we need only lmi and it was got in osd
already.

18 years agoBranch: b_new_cmd
wangdi [Wed, 30 Aug 2006 08:01:27 +0000 (08:01 +0000)]
Branch: b_new_cmd
1)some cleanup and fixes for splitting dir
2)reduce stack size according to nikita's comments

18 years ago- reduce stack consumption in fld_client_rpc() and seq_client_rpc() functions.
yury [Wed, 30 Aug 2006 07:02:13 +0000 (07:02 +0000)]
- reduce stack consumption in fld_client_rpc() and seq_client_rpc() functions.

18 years agoreduce stack consumption aggressively according to nikita's suggestion.
huanghua [Wed, 30 Aug 2006 04:21:02 +0000 (04:21 +0000)]
reduce stack consumption aggressively according to nikita's suggestion.

18 years ago- fixed names of client flds in lmv and cmm;
yury [Tue, 29 Aug 2006 13:41:11 +0000 (13:41 +0000)]
- fixed names of client flds in lmv and cmm;

- using dht hash for fld (it still will call rrb). This is needed to not do changes in calling code later, when dht is ready;

- fixed stupid typo in seq_dht_scan() which caused nasty recursion.

18 years ago-remove gtl from configure
yury [Tue, 29 Aug 2006 13:00:53 +0000 (13:00 +0000)]
-remove gtl from configure

18 years ago- fixes in seq_store.c. By now controller and regular seq server store their state...
yury [Tue, 29 Aug 2006 12:23:57 +0000 (12:23 +0000)]
- fixes in seq_store.c. By now controller and regular seq server store their state in different offsets and do not override each other;
- some cleanups in mdt handler names.

18 years agoadd error handling with no reply message packed.
huanghua [Tue, 29 Aug 2006 10:54:10 +0000 (10:54 +0000)]
add error handling with no reply message packed.

18 years ago(1) close continue even if we can not pack reply;
huanghua [Tue, 29 Aug 2006 10:09:36 +0000 (10:09 +0000)]
(1) close continue even if we can not pack reply;
(2) some other small fixes.

18 years agouse lower case for function name
tappro [Mon, 28 Aug 2006 21:14:53 +0000 (21:14 +0000)]
use lower case for function name

18 years ago implement MDT_FAIL_WRITE(), set the missed fail checks in mdt code
tappro [Mon, 28 Aug 2006 20:49:07 +0000 (20:49 +0000)]
 implement MDT_FAIL_WRITE(), set the missed fail checks in mdt code

18 years ago- decrease the seq width to prevent i_ino overflow in CMD
tappro [Mon, 28 Aug 2006 12:31:05 +0000 (12:31 +0000)]
- decrease the seq width to prevent i_ino overflow in CMD
- put code with iget5_locked() using in ll_iget() to provide generic mapping fid
  to ino. It works though is disabled for now

18 years agomove transaction commit callback context from dt_device to osd_device.
huanghua [Mon, 28 Aug 2006 10:19:14 +0000 (10:19 +0000)]
move transaction commit callback context from dt_device to osd_device.

18 years agofix according to nikita's inspection result; mainly:
huanghua [Mon, 28 Aug 2006 07:45:41 +0000 (07:45 +0000)]
fix according to nikita's inspection result; mainly:
(1) add special lu_context for commit callback;
(2) add some comment for data structures and interfaces;
(3) handle transaction commit error;
(4) add lu_context_{enter, exit}() for transaction context.

18 years ago- add fid to the obd_client_handle and use it to select right mds in
tappro [Sun, 27 Aug 2006 22:34:10 +0000 (22:34 +0000)]
- add fid to the obd_client_handle and use it to select right mds in
  lmv_set/clear_open_replay_data()
- add assert in ll_update_inode() for FID overwritting
- small fixes

18 years agoupdate open code for cross-ref cases
tappro [Sun, 27 Aug 2006 22:28:25 +0000 (22:28 +0000)]
update open code for cross-ref cases

18 years agoadd basic open replay proto.
huanghua [Sun, 27 Aug 2006 12:01:20 +0000 (12:01 +0000)]
add basic open replay proto.

18 years agopass parent fid to the remote server in cross-ref case to insert proper dotdot
tappro [Sat, 26 Aug 2006 09:38:20 +0000 (09:38 +0000)]
pass parent fid to the remote server in cross-ref case to insert proper dotdot
entry in the created subdirectory

18 years ago- update mdd mdo_name_insert() method,
tappro [Sat, 26 Aug 2006 09:36:04 +0000 (09:36 +0000)]
- update mdd mdo_name_insert() method,
- make some changes to support cross-ref create
- __mdd_index_inser() is split into two methods: __mdd_index_insert_only() with
  the old functionality and __mdd_index_insert() which also updates parent
attributes after inserting the name.

18 years agoupdate cmm methods due to the new parameter in mdo_name_insert()
tappro [Sat, 26 Aug 2006 09:32:11 +0000 (09:32 +0000)]
update cmm methods due to the new parameter in mdo_name_insert()

18 years ago- add isdir parameter to the mdo_name_insert() method to know that subdir is
tappro [Sat, 26 Aug 2006 09:30:07 +0000 (09:30 +0000)]
- add isdir parameter to the mdo_name_insert() method to know that subdir is
  created and increase the nlink for directory. Needed for cross-ref cases.

18 years ago- in lmv remove not needed checks.
yury [Sat, 26 Aug 2006 08:34:58 +0000 (08:34 +0000)]
- in lmv remove not needed checks.

18 years agosome cleanup for MDS_OPEN. prepare for open replay handling.
huanghua [Fri, 25 Aug 2006 14:55:45 +0000 (14:55 +0000)]
some cleanup for MDS_OPEN. prepare for open replay handling.

18 years ago- removed code used from MDS. We have cmm now and lmv is only used on client.
yury [Fri, 25 Aug 2006 13:11:04 +0000 (13:11 +0000)]
- removed code used from MDS. We have cmm now and lmv is only used on client.

18 years agomdd,mdt: add missed locking, found by lock-tracking code in osd
nikita [Fri, 25 Aug 2006 12:50:51 +0000 (12:50 +0000)]
mdd,mdt: add missed locking, found by lock-tracking code in osd

18 years agoosd: add code checking that lock is taken before operation starts
nikita [Fri, 25 Aug 2006 12:49:33 +0000 (12:49 +0000)]
osd: add code checking that lock is taken before operation starts

18 years agooi: code inspection results
nikita [Fri, 25 Aug 2006 12:48:54 +0000 (12:48 +0000)]
oi: code inspection results

18 years ago- cleanups in lmv
yury [Fri, 25 Aug 2006 12:41:22 +0000 (12:41 +0000)]
- cleanups in lmv

18 years ago- removed not needed set_info command from lmv.
yury [Fri, 25 Aug 2006 11:38:01 +0000 (11:38 +0000)]
- removed not needed set_info command from lmv.

18 years agodt: simplify ->do{un,}lock() interface: lock type (read/write) is always known static...
nikita [Fri, 25 Aug 2006 10:44:15 +0000 (10:44 +0000)]
dt: simplify ->do{un,}lock() interface: lock type (read/write) is always known statically, so encode it into method name

18 years ago- fixed compile warning.
yury [Fri, 25 Aug 2006 10:34:40 +0000 (10:34 +0000)]
- fixed compile warning.

18 years ago- fix invalid conditon during check that fid2 is valid
tappro [Thu, 24 Aug 2006 22:42:53 +0000 (22:42 +0000)]
- fix invalid conditon during check that fid2 is valid
- do lock_decref only if rc != 0
- set special policy for mkdir to test croff-ref cases

18 years agobranch: b_new_cmd
ericm [Thu, 24 Aug 2006 22:41:23 +0000 (22:41 +0000)]
branch: b_new_cmd
load lmv module

18 years agoreturn attr after remote request,
tappro [Thu, 24 Aug 2006 22:36:10 +0000 (22:36 +0000)]
return attr after remote request,
make common code in inline form,
initialize LOHA_REMOTE flag in mdc_object_init() instead of cmm_object_init()

18 years agollite: avoid unintialized variables
nikita [Thu, 24 Aug 2006 19:30:36 +0000 (19:30 +0000)]
llite: avoid unintialized variables

18 years agofix a cut-n-paste error in previous commit
nikita [Thu, 24 Aug 2006 18:58:31 +0000 (18:58 +0000)]
fix a cut-n-paste error in previous commit

18 years agoiam: fix root node limit calculation for lfix format
nikita [Thu, 24 Aug 2006 18:29:31 +0000 (18:29 +0000)]
iam: fix root node limit calculation for lfix format

18 years agoset handler in object_init() when that handler is initialized already
tappro [Thu, 24 Aug 2006 15:39:48 +0000 (15:39 +0000)]
set handler in object_init() when that handler is initialized already

18 years agoprofile should has different names for each mds
tappro [Thu, 24 Aug 2006 15:38:33 +0000 (15:38 +0000)]
profile should has different names for each mds

18 years agoin case of remote object flag OBD_MD_MDS should be set
tappro [Thu, 24 Aug 2006 15:37:39 +0000 (15:37 +0000)]
in case of remote object flag OBD_MD_MDS should be set

18 years ago- fix MDT lov names, now we can have not one mdt so names should differ.
tappro [Thu, 24 Aug 2006 15:36:59 +0000 (15:36 +0000)]
- fix MDT lov names, now we can have not one mdt so names should differ.
- remove unused variables and code

18 years ago- add libiam.a (if exists) to rpm, this is neededfor testing our branch;
yury [Thu, 24 Aug 2006 15:27:25 +0000 (15:27 +0000)]
- add libiam.a (if exists) to rpm, this is neededfor testing our branch;
- replace all memcmp of fids by lu_fid_eq;
- allocate new fid for create case in ll_revalidate_it() in case of doing "goto do_lookup";
- removed needless lmv_fld_lookup() in lmv;
- fixed lmv_obj refcount management in error cases;
- comments are adjusted to be coherent with 80 columns style.

18 years agoBranch: b_new_cmd
wangdi [Thu, 24 Aug 2006 08:37:51 +0000 (08:37 +0000)]
Branch: b_new_cmd
1)add O_CHECK_STALE flags to indicate wether it should check stale in
mdc_intent_lock.
2) some related fixes to make 48 pass

18 years agolibiam: exterminate SET_DEFAULT
nikita [Wed, 23 Aug 2006 22:48:29 +0000 (22:48 +0000)]
libiam: exterminate SET_DEFAULT

18 years agomkfs_lustre.c: get rid of SET_DEFAULT: use explicit constants, also fix error in...
nikita [Wed, 23 Aug 2006 22:40:51 +0000 (22:40 +0000)]
mkfs_lustre.c: get rid of SET_DEFAULT: use explicit constants, also fix error in /root file initialization

18 years agolibiam: adjust to changes in kernel code
nikita [Wed, 23 Aug 2006 22:40:15 +0000 (22:40 +0000)]
libiam: adjust to changes in kernel code

18 years agoiam: assure that maximal number of entries in root node is less than in the non-root...
nikita [Wed, 23 Aug 2006 22:39:47 +0000 (22:39 +0000)]
iam: assure that maximal number of entries in root node is less than in the non-root index node (index-node split algorithm assumes this)

18 years agoiam: fix assertions
nikita [Wed, 23 Aug 2006 22:38:54 +0000 (22:38 +0000)]
iam: fix assertions

18 years agoiam: clear hash (serving as a directory entry offset) sign bit: glibc getdents()...
nikita [Wed, 23 Aug 2006 16:49:32 +0000 (16:49 +0000)]
iam: clear hash (serving as a directory entry offset) sign bit: glibc getdents() is confused out of its (barely existing) intelligence otherwise

18 years agofix a typo
nikita [Wed, 23 Aug 2006 16:47:53 +0000 (16:47 +0000)]
fix a typo

18 years agoremove "lu_context *" parameter from dtc_txn_commit()
huanghua [Wed, 23 Aug 2006 15:16:50 +0000 (15:16 +0000)]
remove "lu_context *" parameter from dtc_txn_commit()

18 years ago1) for test_72: ensure we have enough space before the test.
fanyong [Wed, 23 Aug 2006 10:57:04 +0000 (10:57 +0000)]
1) for test_72: ensure we have enough space before the test.
2) for test_99b: we will get the same error on local filesystem--ext3.
3) drop some EXCEPT

18 years agoupdate due to new close() handling,
tappro [Wed, 23 Aug 2006 09:58:15 +0000 (09:58 +0000)]
update due to new close() handling,

18 years agoadd missed OBD_FAIL check, remove old file
tappro [Tue, 22 Aug 2006 17:44:00 +0000 (17:44 +0000)]
add missed OBD_FAIL check, remove old file

18 years agoreq-layout: empty set of fields contains ptlrpc_body
nikita [Tue, 22 Aug 2006 14:44:01 +0000 (14:44 +0000)]
req-layout: empty set of fields contains ptlrpc_body

18 years ago- more cleanups in LMV.
yury [Tue, 22 Aug 2006 13:37:54 +0000 (13:37 +0000)]
- more cleanups in LMV.

18 years agoadd new modules in load_modules
tappro [Tue, 22 Aug 2006 11:50:55 +0000 (11:50 +0000)]
add new modules in load_modules

18 years agoDrop unused "USER_SPACE_TOP".
fanyong [Tue, 22 Aug 2006 05:49:27 +0000 (05:49 +0000)]
Drop unused "USER_SPACE_TOP".

18 years agolov_setstripe(): use set_fs()
nikita [Mon, 21 Aug 2006 21:35:11 +0000 (21:35 +0000)]
lov_setstripe(): use set_fs()

18 years agoiam: fix issues found by Huang Huang during code inspection
nikita [Mon, 21 Aug 2006 19:39:04 +0000 (19:39 +0000)]
iam: fix issues found by Huang Huang during code inspection

18 years agoosd: osd_recovery_complete(): drop unneeded definitions
nikita [Mon, 21 Aug 2006 19:38:10 +0000 (19:38 +0000)]
osd: osd_recovery_complete(): drop unneeded definitions

18 years agolov: lov_getstripe(): use set_fs/get_fs
nikita [Mon, 21 Aug 2006 19:37:36 +0000 (19:37 +0000)]
lov: lov_getstripe(): use set_fs/get_fs

18 years agoliblustre: provide dummy set_fs/get_fs implementation
nikita [Mon, 21 Aug 2006 19:36:42 +0000 (19:36 +0000)]
liblustre: provide dummy set_fs/get_fs implementation

18 years ago- cleanups on client after Nikita's inspection.
yury [Mon, 21 Aug 2006 17:32:18 +0000 (17:32 +0000)]
- cleanups on client after Nikita's inspection.

18 years agoGet "UML" flag from /cpu/procinfo.
fanyong [Mon, 21 Aug 2006 16:18:41 +0000 (16:18 +0000)]
Get "UML" flag from /cpu/procinfo.

18 years agoThe arguments "lump" of lov_setstripe and lov_getstripe can be called
fanyong [Mon, 21 Aug 2006 16:10:48 +0000 (16:10 +0000)]
The arguments "lump" of lov_setstripe and lov_getstripe can be called
from both user level and kernel level. So copy_from_user or copy_to_user
maybe failed. In these case, we shoule use memcpy to do that.
to

18 years agoBranch: b_new_cmd
wangdi [Mon, 21 Aug 2006 15:27:45 +0000 (15:27 +0000)]
Branch: b_new_cmd
inherit parent lmm, only if parent is not NULL

18 years agoBranch: b_new_cmd
wangdi [Mon, 21 Aug 2006 14:57:07 +0000 (14:57 +0000)]
Branch: b_new_cmd
should not check stale when new fid allocating

18 years agoBranch: b_new_cmd
wangdi [Mon, 21 Aug 2006 14:35:30 +0000 (14:35 +0000)]
Branch: b_new_cmd
only check stale when no fid allocation

18 years ago(1) some cleanup on code
huanghua [Mon, 21 Aug 2006 08:58:22 +0000 (08:58 +0000)]
(1) some cleanup on code
(2) change mdt_object->mot_writecount into an "int"

18 years ago- fixes in convertion functions after Nikita's insp.
yury [Sun, 20 Aug 2006 14:33:52 +0000 (14:33 +0000)]
- fixes in convertion functions after Nikita's insp.

18 years ago- merge with 1_5,some fixes.
yury [Sun, 20 Aug 2006 13:13:22 +0000 (13:13 +0000)]
- merge with 1_5,some fixes.

18 years ago(Hopefully) merge lustre/scripts from b1_5 as stuff in here is needed to
brian [Sat, 19 Aug 2006 03:08:14 +0000 (03:08 +0000)]
(Hopefully) merge lustre/scripts from b1_5 as stuff in here is needed to
successfully test a mountconf branch with ltest.

18 years ago- fix defect with lost nlink++ in rename
tappro [Fri, 18 Aug 2006 23:22:13 +0000 (23:22 +0000)]
- fix defect with lost nlink++ in rename
- mdt_device_fini() shouldn't return child device
- mdt_handle_last_unlink() shouldn't change the result code

18 years agoanother missed files in dist
tappro [Fri, 18 Aug 2006 21:57:53 +0000 (21:57 +0000)]
another missed files in dist

18 years agoBranch: b_new_cmd
wangdi [Fri, 18 Aug 2006 16:19:37 +0000 (16:19 +0000)]
Branch: b_new_cmd
1)add flag check in mdd_open
2)some other fixes about open and typo

18 years ago- use obd_last_committed instead of mdt value for now
tappro [Fri, 18 Aug 2006 15:04:24 +0000 (15:04 +0000)]
- use obd_last_committed instead of mdt value for now
- check result in stop callback and set transno = 0
- spin_unlock() after update the txi_transno on stop callback
- fix misspelled variable name
- rename mdt_update_last_transno() to the mdt_finish_reply() due to it's
  functionality

18 years ago- save cookie size for mdt_shrink_reply()
tappro [Fri, 18 Aug 2006 09:38:04 +0000 (09:38 +0000)]
- save cookie size for mdt_shrink_reply()

18 years agofix silly defect, thanks Wangdi.
tappro [Fri, 18 Aug 2006 07:19:50 +0000 (07:19 +0000)]
fix silly defect, thanks Wangdi.

18 years agoCode update during for recovery in new MDS:
tappro [Thu, 17 Aug 2006 23:08:46 +0000 (23:08 +0000)]
Code update during for recovery in new MDS:
- add ldo_recovery_complete() to the devices
- place all recovery-related stuff into mdt_recovery.c
- reconstruction code (except reconstruct_open)
- last_rcvd read/write helpers and update
- mdd_trans_stop() takes rc as parameter and saves it in thandle

18 years ago- store result code in thandle for last_rcvd update
tappro [Thu, 17 Aug 2006 23:01:27 +0000 (23:01 +0000)]
- store result code in thandle for last_rcvd update
- add ldo_recovery_complete() method in lu_device to finish all post-recovery
  tasks

18 years agoanother missed file for dist
tappro [Thu, 17 Aug 2006 22:59:34 +0000 (22:59 +0000)]
another missed file for dist

18 years agoadd header files to the dist
tappro [Thu, 17 Aug 2006 21:19:46 +0000 (21:19 +0000)]
add header files to the dist

18 years ago*** empty log message ***
brian [Thu, 17 Aug 2006 19:53:19 +0000 (19:53 +0000)]
*** empty log message ***

18 years agoDisable KGDB in RHEL4 kernel builds by default. These are the configs that
brian [Thu, 17 Aug 2006 16:21:41 +0000 (16:21 +0000)]
Disable KGDB in RHEL4 kernel builds by default.  These are the configs that
will be used to build test cluster kernels and having a kernel drop to kgdb
during an automated test is not terribly useful I think.

18 years agoBranch: b_new_cmd
wangdi [Thu, 17 Aug 2006 15:11:07 +0000 (15:11 +0000)]
Branch: b_new_cmd
some fixes about get/set flags for test_52

18 years agomd: remove outdated comment
nikita [Thu, 17 Aug 2006 14:24:12 +0000 (14:24 +0000)]
md: remove outdated comment

18 years agoliblustre: fix user level build
nikita [Thu, 17 Aug 2006 14:23:57 +0000 (14:23 +0000)]
liblustre: fix user level build

18 years ago- fix use-after-free issue. fld_server_proc_fini() should be called after
tappro [Thu, 17 Aug 2006 09:21:36 +0000 (09:21 +0000)]
- fix use-after-free issue. fld_server_proc_fini() should be called after
  unregistering the fld service

18 years ago- register/degister keys in mod_init/exit to avoid issues while mds cleanup
tappro [Wed, 16 Aug 2006 22:30:24 +0000 (22:30 +0000)]
- register/degister keys in mod_init/exit to avoid issues while mds cleanup
- use one fld_thread_key structure
- remove unused code

18 years ago- call ldto_device_fini() in obd_precleanup()
tappro [Wed, 16 Aug 2006 20:25:11 +0000 (20:25 +0000)]
- call ldto_device_fini() in obd_precleanup()
- separate mdt_fini() from mdt_free()
- correct operation order in  mdt_fini()

18 years agomove fld_client_init/fini to the cmm_device_mount/shutdown()
tappro [Wed, 16 Aug 2006 20:22:02 +0000 (20:22 +0000)]
move fld_client_init/fini to the cmm_device_mount/shutdown()

18 years ago - store object-existence flags in ->loh_attr
nikita [Wed, 16 Aug 2006 16:59:02 +0000 (16:59 +0000)]
 - store object-existence flags in ->loh_attr

 - drop context argument from lu_object_exists()

18 years agosanity: 57b: 0. revert to 100 files, 1. comment out procfs stuff
nikita [Wed, 16 Aug 2006 16:58:14 +0000 (16:58 +0000)]
sanity: 57b: 0. revert to 100 files, 1. comment out procfs stuff

18 years agomdd: use ->loo_object_start() to initialize object flags
nikita [Wed, 16 Aug 2006 15:41:44 +0000 (15:41 +0000)]
mdd: use ->loo_object_start() to initialize object flags

18 years agoosd: trivial fixes
nikita [Wed, 16 Aug 2006 15:41:11 +0000 (15:41 +0000)]
osd: trivial fixes

18 years agolu: add ->loo_object_start() method called late during object allocation. It can...
nikita [Wed, 16 Aug 2006 15:40:56 +0000 (15:40 +0000)]
lu: add ->loo_object_start() method called late during object allocation. It can be used to perform initialization depending on lower layers

18 years agoBranch: b_new_cmd
wangdi [Wed, 16 Aug 2006 14:07:55 +0000 (14:07 +0000)]
Branch: b_new_cmd
1)add append and immutable check
2)some fixes about set flags
3)some other fixes and cleanup

18 years agobraces are forgotton after condition sentence.
huanghua [Wed, 16 Aug 2006 09:51:39 +0000 (09:51 +0000)]
braces are forgotton after condition sentence.