Whamcloud - gitweb
fs/lustre-release.git
18 years ago- update from 1_5
yury [Thu, 14 Sep 2006 13:38:33 +0000 (13:38 +0000)]
- update from 1_5

18 years agoBranch: b_new_cmd
wangdi [Thu, 14 Sep 2006 10:55:17 +0000 (10:55 +0000)]
Branch: b_new_cmd
the page should be lock when truncate it

18 years ago- make all "getters" name correspond to naming paradigm module-object-action.
yury [Thu, 14 Sep 2006 10:45:32 +0000 (10:45 +0000)]
- make all "getters" name correspond to naming paradigm module-object-action.

18 years ago(1) call mdt_shrink_reply() whenever possaible;
huanghua [Thu, 14 Sep 2006 10:29:10 +0000 (10:29 +0000)]
(1) call mdt_shrink_reply() whenever possaible;
(2) fix a bug in mdc_xxx_pack(): 32 bit integer to __u64 convertion

18 years agocall mds_postrecv() by pointer, not directly.
huanghua [Thu, 14 Sep 2006 03:10:12 +0000 (03:10 +0000)]
call mds_postrecv() by pointer, not directly.

18 years agobranch: b_new_cmd
ericm [Thu, 14 Sep 2006 01:02:10 +0000 (01:02 +0000)]
branch: b_new_cmd
add a empty sec context handler on mdt.

18 years agoosd: check that transaction handle is supplied
nikita [Wed, 13 Sep 2006 22:53:44 +0000 (22:53 +0000)]
osd: check that transaction handle is supplied

18 years ago- root_get and conf_get renamed to get_root and get_conf to be coherent with other...
yury [Wed, 13 Sep 2006 17:09:09 +0000 (17:09 +0000)]
- root_get and conf_get renamed to get_root and get_conf to be coherent with other "getters";
- fixes in headers of fld and seq-mgr;
- fixed getattr_by_fid (Vitaly's original patch);

- save connect data from server to tgts data array in LMV, set LMV exp->exp_connect_flags in
lmv_notify (needed for fixing getattr_by_fid issue found by Vitaly). Fixes in lmv_notify about
setting targets active/inactive;

- some cleanups in fid/*.[ch];
- ->ls_client_exp renamed to ls_control_exp to show that it is export to MDT0 in cluster;
- in mdc call observer notify for OCD data event;
- fixes in lmv/*.[ch] about using lustre_idl.h;
- committed some parts of rename locking in mdt, using ls_control_exp to requst BFL from MDT0.

18 years ago- add flag no_lov_create in create_spec
tappro [Wed, 13 Sep 2006 16:39:36 +0000 (16:39 +0000)]
- add flag no_lov_create in create_spec
- update mdd lov related code to handle no_lov_create and don't try to create
  objects during replay open|create
- call ldo_recovery_complete() at the end of mdt_init0()
- set mdd obd to recovering state initially and reset recovering flag from
  mdd_recovery_complete()

18 years agofix issues from last commit.
tappro [Wed, 13 Sep 2006 16:34:09 +0000 (16:34 +0000)]
fix issues from last commit.

18 years agoBranch: b_new_cmd
wangdi [Wed, 13 Sep 2006 15:39:57 +0000 (15:39 +0000)]
Branch: b_new_cmd
a lot fixes about splitting dir

18 years agoReplace comma with whitespace in params' string.
yujian [Wed, 13 Sep 2006 07:19:40 +0000 (07:19 +0000)]
Replace comma with whitespace in params' string.

18 years agoUpdate after codeinsp
tappro [Tue, 12 Sep 2006 22:08:47 +0000 (22:08 +0000)]
Update after codeinsp
- client adding/removal in last_rcvd is updated
- pass credits to the trans_start() instead of using hardcoded value
- protect bitmap operation with lock
- separate client_add() and client_new()
- fix using the uninitializated variable in filter.c

18 years agobranch: b_new_cmd
ericm [Tue, 12 Sep 2006 20:58:31 +0000 (20:58 +0000)]
branch: b_new_cmd
PKG_CHECK_MODULES require automake >= 1.7.9, and mountain has its own
tricks of building system which not easily be upgraded. So disable GSSAPI
checking for now, until the building env sorted out on mountain.

18 years ago(1) fix a bug about transaction credit;
huanghua [Tue, 12 Sep 2006 17:43:49 +0000 (17:43 +0000)]
(1) fix a bug about transaction credit;
(2) fix some typo;

18 years ago(1) fix error handling in mdd_create_data();
huanghua [Tue, 12 Sep 2006 05:14:27 +0000 (05:14 +0000)]
(1) fix error handling in mdd_create_data();
(2) do not assert in mdt_recovery().

18 years ago(1) fix a bug in write mcd: about memcpy argument;
huanghua [Tue, 12 Sep 2006 04:11:06 +0000 (04:11 +0000)]
(1) fix a bug in write mcd: about memcpy argument;
(2) add some debug code for read & write last_rcvd record;
(3) rmmod manually.

18 years agobranch: b_new_cmd
ericm [Tue, 12 Sep 2006 00:17:41 +0000 (00:17 +0000)]
branch: b_new_cmd
fix make dist for gss subdir.

18 years agoupdate after codeinsp
tappro [Mon, 11 Sep 2006 23:36:00 +0000 (23:36 +0000)]
update after codeinsp

18 years agobranch: b_new_cmd
ericm [Mon, 11 Sep 2006 22:05:02 +0000 (22:05 +0000)]
branch: b_new_cmd
land gss/krb5. but for now gss is disabled by default.

18 years agobranch: b_new_cmd
ericm [Mon, 11 Sep 2006 20:14:56 +0000 (20:14 +0000)]
branch: b_new_cmd
add lustre_sec.h into EXTRA_DIST list.

18 years agobranch: b_new_cmd
ericm [Mon, 11 Sep 2006 16:53:38 +0000 (16:53 +0000)]
branch: b_new_cmd
land the first part of secure ptlrpc support.

18 years agohandle NULL parent in open replay.
huanghua [Mon, 11 Sep 2006 10:52:05 +0000 (10:52 +0000)]
handle NULL parent in open replay.

18 years agosmall fixes
tappro [Mon, 11 Sep 2006 07:47:12 +0000 (07:47 +0000)]
small fixes

18 years agofix a memleak.
huanghua [Mon, 11 Sep 2006 07:28:10 +0000 (07:28 +0000)]
fix a memleak.

18 years ago- fixed typo
yury [Mon, 11 Sep 2006 04:52:07 +0000 (04:52 +0000)]
- fixed typo

18 years ago- trivial cleanup in arguments order;
yury [Mon, 11 Sep 2006 04:49:30 +0000 (04:49 +0000)]
- trivial cleanup in arguments order;
- fixed bug in seq-mgr recovery code, @in should be taken from client, not from server.

18 years agoadd defects inspired by removing local fld connection.
tappro [Sun, 10 Sep 2006 21:33:30 +0000 (21:33 +0000)]
add defects inspired by removing local fld connection.
- cmm_tgt_count is 1 less than total MDS number
- fld_server_lookup() stores mds number in wrong variable because it is
  rewritten later.

18 years agokgdb patch: adjust to match sles9 version
nikita [Sun, 10 Sep 2006 18:23:15 +0000 (18:23 +0000)]
kgdb patch: adjust to match sles9 version

18 years agostyle: use enum instead of #define
nikita [Sun, 10 Sep 2006 18:22:29 +0000 (18:22 +0000)]
style: use enum instead of #define

18 years agoset ma->ma_lmm_size and ma->ma_cookie_size.
huanghua [Sun, 10 Sep 2006 17:41:29 +0000 (17:41 +0000)]
set ma->ma_lmm_size and ma->ma_cookie_size.

18 years ago(1) add some debug code for last_rcvd;
huanghua [Sun, 10 Sep 2006 17:11:58 +0000 (17:11 +0000)]
(1) add some debug code for last_rcvd;
(2) allocate memory for d_attr(->lmm,cookie) which is passed into mdt_mfd_close()

18 years ago- fix defect in mdt_postrecov() with calling wrong lu_device operation
tappro [Sun, 10 Sep 2006 16:44:51 +0000 (16:44 +0000)]
- fix defect in mdt_postrecov() with calling wrong lu_device operation
- fix fini order for ldlm_namespace_free() in mdt_fini()

18 years agoremove unused RQF_MDS_WRITEPAGE
nikita [Sun, 10 Sep 2006 16:37:44 +0000 (16:37 +0000)]
remove unused RQF_MDS_WRITEPAGE

18 years agosome code cleapup about read & write last_rcvd record.
huanghua [Sun, 10 Sep 2006 14:57:09 +0000 (14:57 +0000)]
some code cleapup about read & write last_rcvd record.

18 years agofix some small bugs related to recovery.
huanghua [Sun, 10 Sep 2006 14:30:32 +0000 (14:30 +0000)]
fix some small bugs related to recovery.

18 years ago- separate objid handling into sub-functions
tappro [Sun, 10 Sep 2006 10:22:56 +0000 (10:22 +0000)]
- separate objid handling into sub-functions
- add mdd_lov_create_finish() to update/free objids right before transaction
  stop to avoid writting the objids in error case
- free objids immediately in case of error in mdd_lov_create()

18 years ago- don't try to get mdt if self_export is destroyed
tappro [Sun, 10 Sep 2006 10:18:27 +0000 (10:18 +0000)]
- don't try to get mdt if self_export is destroyed
- small fixes

18 years agoadd o_postrecov method to the mdt
tappro [Sun, 10 Sep 2006 06:32:04 +0000 (06:32 +0000)]
add o_postrecov method to the mdt

18 years ago- fixed ctx using in fld_client (bug found by Tom). In few words, ctx cannot be saved...
yury [Sat, 9 Sep 2006 11:06:26 +0000 (11:06 +0000)]
- fixed ctx using in fld_client (bug found by Tom). In few words, ctx cannot be saved in fld_client struct as it is per-thread;

- fixes in split code, after allocating fid in new seq, caller should also setup FLD for it.

18 years agoBranch: b_new_cmd
wangdi [Sat, 9 Sep 2006 08:34:15 +0000 (08:34 +0000)]
Branch: b_new_cmd
some fixes about split dir

18 years agoBranch: b_new_cmd
wangdi [Sat, 9 Sep 2006 07:52:51 +0000 (07:52 +0000)]
Branch: b_new_cmd
add mdd_txn callback to write objids in mds to fix runtests bugs

18 years agothe offset should not be modified; so use a temporay variable.
huanghua [Fri, 8 Sep 2006 15:40:51 +0000 (15:40 +0000)]
the offset should not be modified; so use a temporay variable.

18 years agoforce unloading the ..._test modules
tappro [Fri, 8 Sep 2006 11:45:32 +0000 (11:45 +0000)]
force unloading the ..._test modules

18 years ago- MSG_RESENT support in FLD.
yury [Fri, 8 Sep 2006 10:22:13 +0000 (10:22 +0000)]
- MSG_RESENT support in FLD.

18 years agofix memleak
tappro [Fri, 8 Sep 2006 07:00:49 +0000 (07:00 +0000)]
fix memleak

18 years agofix several memleaks and small issues
tappro [Fri, 8 Sep 2006 00:36:38 +0000 (00:36 +0000)]
fix several memleaks and small issues

18 years ago- some be_cpu, etc., convetions.
yury [Thu, 7 Sep 2006 15:53:33 +0000 (15:53 +0000)]
- some be_cpu, etc., convetions.

18 years ago- a little bit more noise about read/write seq-mgr data to store.
yury [Thu, 7 Sep 2006 15:47:59 +0000 (15:47 +0000)]
- a little bit more noise about read/write seq-mgr data to store.

18 years ago- fixes in reading store by seq-mgr;
yury [Thu, 7 Sep 2006 15:44:15 +0000 (15:44 +0000)]
- fixes in reading store by seq-mgr;
- cleanups about le_cpu, etc., functions.

18 years agoBranch: b_new_cmd
wangdi [Thu, 7 Sep 2006 15:18:27 +0000 (15:18 +0000)]
Branch: b_new_cmd
in cmd, group should start from 1

18 years ago- change debug level for object init/fini messages
tappro [Thu, 7 Sep 2006 15:02:33 +0000 (15:02 +0000)]
- change debug level for object init/fini messages
- do osd_sync() in osd_device_fini()
- add debug message in assert for lu_device refcount

18 years ago(1) support mdt reconnection from client;
huanghua [Thu, 7 Sep 2006 14:45:35 +0000 (14:45 +0000)]
(1) support mdt reconnection from client;
(2) fix a bug in open replay: it should be fid2;

18 years agoBranch: b_new_cmd
wangdi [Thu, 7 Sep 2006 13:38:06 +0000 (13:38 +0000)]
Branch: b_new_cmd
remove unused RQF_MDS_WRITEPAGE

18 years agoavoid hard-coded sizes of reply-size arrays
nikita [Thu, 7 Sep 2006 12:10:04 +0000 (12:10 +0000)]
avoid hard-coded sizes of reply-size arrays

18 years ago- recovery support in seq-mgr.
yury [Thu, 7 Sep 2006 10:58:55 +0000 (10:58 +0000)]
- recovery support in seq-mgr.

18 years agoBranch: b_new_cmd
wangdi [Thu, 7 Sep 2006 09:51:47 +0000 (09:51 +0000)]
Branch: b_new_cmd
fix set mds_conn bugs to make o_id cache work for each group in ost

18 years agoBranch: b_new_cmd
wangdi [Thu, 7 Sep 2006 08:19:00 +0000 (08:19 +0000)]
Branch: b_new_cmd
oops, just forget a file in the last commit

18 years agoeliminate unused mds obd reference.
huanghua [Thu, 7 Sep 2006 07:24:43 +0000 (07:24 +0000)]
eliminate unused mds obd reference.

18 years ago- allow seq and fld recovery.
yury [Thu, 7 Sep 2006 07:21:26 +0000 (07:21 +0000)]
- allow seq and fld recovery.

18 years agoBranch: b_new_cmd
wangdi [Thu, 7 Sep 2006 06:50:53 +0000 (06:50 +0000)]
Branch: b_new_cmd
comment format fixes in mdd_lov

18 years ago1)merge filter_group support from HEAD to cmd_new
wangdi [Thu, 7 Sep 2006 06:41:05 +0000 (06:41 +0000)]
1)merge filter_group support from HEAD to cmd_new
2)some fixes after this merge

18 years ago- added ref to export in fld_client_add_target();
yury [Thu, 7 Sep 2006 06:20:06 +0000 (06:20 +0000)]
- added ref to export in fld_client_add_target();
- check if export not NULL before put it in fld_client_del_target(), exports may be NULL in case of local server.

18 years agoWe repeat lustre_disk.h and miss lustre_mdt.h, fix it.
fanyong [Thu, 7 Sep 2006 03:21:14 +0000 (03:21 +0000)]
We repeat lustre_disk.h and miss lustre_mdt.h, fix it.

18 years ago- check ft_export exists
tappro [Wed, 6 Sep 2006 21:09:57 +0000 (21:09 +0000)]
- check ft_export exists
- fix obd_precleanup/cleanup issues with lu_device handling
- small fixes in mdt_handler

18 years ago- removed not used macros;
yury [Wed, 6 Sep 2006 15:28:14 +0000 (15:28 +0000)]
- removed not used macros;

18 years ago- start fld and seq services in MDT, thus, make MDT an universal network related...
yury [Wed, 6 Sep 2006 15:23:34 +0000 (15:23 +0000)]
- start fld and seq services in MDT, thus, make MDT an universal network related module handling all RPC. Seq and FLD RPCs are handled using seq_query() and fld_query() located in seq.ko and fld.ko. This means that all RPCs from these services are handled using common MDT mechanism which is transactions aware what makes FLD and SEQ services transactions aware as well.

18 years ago- disable mds local connections, that is on mdt0 there will not be mdc0;
yury [Wed, 6 Sep 2006 10:32:41 +0000 (10:32 +0000)]
- disable mds local connections, that is on mdt0 there will not be mdc0;
- update fld and seq mgr to not use local connections;
- for seq-mgr use different files for storing data of controller an regular seq server, fixing this in mkfs too;
- cleanups and fixes in fld and seq with names of fields;

18 years agoset lu_device to obd, the error handling need it.
huanghua [Wed, 6 Sep 2006 09:26:23 +0000 (09:26 +0000)]
set lu_device to obd, the error handling need it.

18 years agofix mistakes about context_tags in my last commit pointed out by nikita.
huanghua [Wed, 6 Sep 2006 03:27:36 +0000 (03:27 +0000)]
fix mistakes about context_tags in my last commit pointed out by nikita.

18 years agofix small bug with dt_sync and dt_ro calling in mdt_iocontrol.
tappro [Tue, 5 Sep 2006 20:02:07 +0000 (20:02 +0000)]
fix small bug with dt_sync and dt_ro calling in mdt_iocontrol.

18 years agodt: simplify (and fix) ->dt_{ro,sync}()
nikita [Tue, 5 Sep 2006 17:56:26 +0000 (17:56 +0000)]
dt: simplify (and fix) ->dt_{ro,sync}()

18 years agorename prototype obd name to their official name: mdt0->mdt, cmm0->cmm, mdd0->mdd...
huanghua [Tue, 5 Sep 2006 16:18:10 +0000 (16:18 +0000)]
rename prototype obd name to their official name: mdt0->mdt, cmm0->cmm, mdd0->mdd, osd0->osd

18 years agosmall cleanups
nikita [Tue, 5 Sep 2006 15:59:46 +0000 (15:59 +0000)]
small cleanups

18 years agoiam: return error from lvar_ilookup()
nikita [Tue, 5 Sep 2006 15:57:34 +0000 (15:57 +0000)]
iam: return error from lvar_ilookup()

18 years agoBranch: b_new_cmd
wangdi [Tue, 5 Sep 2006 15:41:41 +0000 (15:41 +0000)]
Branch: b_new_cmd
some fixes about cmm split

18 years agoExport environment variable PATH in remote command.
yujian [Tue, 5 Sep 2006 13:35:27 +0000 (13:35 +0000)]
Export environment variable PATH in remote command.

18 years agolu: add lu_context_refill() to add keys registered after context initialization
nikita [Tue, 5 Sep 2006 10:26:07 +0000 (10:26 +0000)]
lu: add lu_context_refill() to add keys registered after context initialization

18 years agoSupport one MGS and multiple MDTs.
yujian [Tue, 5 Sep 2006 03:49:26 +0000 (03:49 +0000)]
Support one MGS and multiple MDTs.

18 years ago- update mdd_rename_tgt()
tappro [Mon, 4 Sep 2006 22:25:06 +0000 (22:25 +0000)]
- update mdd_rename_tgt()
- mdd_object_find() returns NULL if there is no mdd slice in lu_object (remote
  object)
- simplify mdd_rename_sanity_check() a bit, test for mdd_is_parent() only if
  source object is directory and do that check after all other sanity checks
  because of its complexity
- put '-EOPNOTSUPP' stubs for remote cases of objects involved in rename

18 years agoadd fsuid, fsgid to the struct md_op_data, set them in lmv instead of mdc
tappro [Mon, 4 Sep 2006 22:19:47 +0000 (22:19 +0000)]
add fsuid, fsgid to the struct md_op_data, set them in lmv instead of mdc
because mdc is used also on mds for cross-ref operations

18 years agoadd md_attr parameter to the rename_tgt() method in MD API
tappro [Mon, 4 Sep 2006 22:17:31 +0000 (22:17 +0000)]
add md_attr parameter to the rename_tgt() method in MD API

18 years agosome small fix and debug helper.
huanghua [Mon, 4 Sep 2006 14:41:58 +0000 (14:41 +0000)]
some small fix and debug helper.

18 years ago- pass type and time to the remote operation
tappro [Mon, 4 Sep 2006 13:52:36 +0000 (13:52 +0000)]
- pass type and time to the remote operation
- sanity checks for remote unlink

18 years agoproper locking for the mod_count, remove assert for transaction while write_lock
tappro [Mon, 4 Sep 2006 08:50:25 +0000 (08:50 +0000)]
proper locking for the mod_count, remove assert for transaction while write_lock

18 years ago- fixes in fid store, by now all ranges should be read from store correctly.
yury [Mon, 4 Sep 2006 07:50:24 +0000 (07:50 +0000)]
- fixes in fid store, by now all ranges should be read from store correctly.

18 years agoBranch: b_new_cmd
wangdi [Mon, 4 Sep 2006 07:14:49 +0000 (07:14 +0000)]
Branch: b_new_cmd
1)remove writepage/sendpage moo ops
2)comment some sanity check in mkfs_lustre for cmd.

18 years ago- fix locking during mdd_open()
tappro [Mon, 4 Sep 2006 06:58:06 +0000 (06:58 +0000)]
- fix locking during mdd_open()
- make mdd_get_md_locked() to avoid conditional locking in mdd_get_md()

18 years agodput() is only needed is alias was returned
tappro [Sun, 3 Sep 2006 20:11:46 +0000 (20:11 +0000)]
dput() is only needed is alias was returned

18 years agoput export in correct order, umount mdc obd devices while MDT umount
tappro [Sun, 3 Sep 2006 19:48:30 +0000 (19:48 +0000)]
put export in correct order, umount mdc obd devices while MDT umount

18 years agoorphan list iterator. prototype
tappro [Sun, 3 Sep 2006 19:46:25 +0000 (19:46 +0000)]
orphan list iterator. prototype

18 years ago- reorganizing fld and seq reqs handling stuff as preparation before making it unders...
yury [Sun, 3 Sep 2006 16:11:56 +0000 (16:11 +0000)]
- reorganizing fld and seq reqs handling stuff as preparation before making it understand recovery;
- in mdt replace all int result; with int rc;

18 years agodt: add ->del() method to interator, and implemente it in osd
nikita [Sun, 3 Sep 2006 12:41:49 +0000 (12:41 +0000)]
dt: add ->del() method to interator, and implemente it in osd

18 years agofix bug with mcd allocation
tappro [Sun, 3 Sep 2006 06:47:45 +0000 (06:47 +0000)]
fix bug with mcd allocation

18 years agoBranch: b_new_cmd
wangdi [Sun, 3 Sep 2006 05:18:32 +0000 (05:18 +0000)]
Branch: b_new_cmd
serval fixes about multi mdses setup

18 years agouse own uuid for mdc instead of uuid of mdt itself to fix unclean umount
tappro [Sat, 2 Sep 2006 20:12:15 +0000 (20:12 +0000)]
use own uuid for mdc instead of uuid of mdt itself to fix unclean umount

18 years agoFit for the changing of mdo_link interface.
fanyong [Sat, 2 Sep 2006 14:50:38 +0000 (14:50 +0000)]
Fit for the changing of mdo_link interface.

18 years agoFix the interface of mdo_link:
fanyong [Sat, 2 Sep 2006 14:45:10 +0000 (14:45 +0000)]
Fix the interface of mdo_link:
1) pass "md_attr *" down for file xtime changing.
2) make it like mdo_unlink and others.

18 years agoFix the file(parent/child) x(a/m/c)time change rule according to the POSIX.
fanyong [Sat, 2 Sep 2006 14:38:03 +0000 (14:38 +0000)]
Fix the file(parent/child) x(a/m/c)time change rule according to the POSIX.
We have the same result on file xtime changing as ext3 now.

18 years ago- renamed lmv_mgr_*() to lmv_obj_*() to be coherent with another obj methods.
yury [Sat, 2 Sep 2006 10:56:50 +0000 (10:56 +0000)]
- renamed lmv_mgr_*() to lmv_obj_*() to be coherent with another obj methods.