Whamcloud - gitweb
fs/lustre-release.git
17 years agolu_object: add lu_object cache shrinking.
nikita [Thu, 12 Oct 2006 23:29:32 +0000 (23:29 +0000)]
lu_object: add lu_object cache shrinking.

17 years agoptlrpc: mark branches in hot path as unlikely()
nikita [Thu, 12 Oct 2006 20:18:02 +0000 (20:18 +0000)]
ptlrpc: mark branches in hot path as unlikely()

17 years agoiam: further cpu consumtion fixes
nikita [Thu, 12 Oct 2006 20:16:03 +0000 (20:16 +0000)]
iam: further cpu consumtion fixes

17 years agolu_object: cpu consumption reduction: increase hash table size. (Should be automatica...
nikita [Thu, 12 Oct 2006 20:05:47 +0000 (20:05 +0000)]
lu_object: cpu consumption reduction: increase hash table size. (Should be automatically tuned, in fact.)

17 years agoptlrpc: mark branches in hot path as unlikely()
nikita [Thu, 12 Oct 2006 20:05:02 +0000 (20:05 +0000)]
ptlrpc: mark branches in hot path as unlikely()

17 years ago- do not allocate super-seq in controller assign time. Do that later when that is...
yury [Thu, 12 Oct 2006 18:37:46 +0000 (18:37 +0000)]
- do not allocate super-seq in controller assign time. Do that later when that is really needed.
- save defult value on controller in strt time.

17 years ago- added ldiskfs debug configure keys.
yury [Thu, 12 Oct 2006 18:23:05 +0000 (18:23 +0000)]
- added ldiskfs debug configure keys.

17 years agobranch: b_new_cmd
ericm [Thu, 12 Oct 2006 17:59:27 +0000 (17:59 +0000)]
branch: b_new_cmd
- first part of b11012: mdc_realloc_openmsg() should not manipulate
  request buffer directly, should be done in sptlrpc layer. implement
  enlarge_msg() in null and plain policy.
- restore default to plain for rpcs to MDTs

17 years agoRoll back for the change of server_put_mount.
fanyong [Thu, 12 Oct 2006 16:08:22 +0000 (16:08 +0000)]
Roll back for the change of server_put_mount.
Use server_get_mount_2 instead of server_get_mount.

17 years agogive friendly error message if crypto failed.
lsy [Thu, 12 Oct 2006 15:57:27 +0000 (15:57 +0000)]
give friendly error message if crypto failed.

17 years agoll_revalid_it will pack fid2, while its capability might expire yet,
lsy [Thu, 12 Oct 2006 15:55:05 +0000 (15:55 +0000)]
ll_revalid_it will pack fid2, while its capability might expire yet,
but actually mds will use its name to locate object, so this message
might not indicate an error.

17 years ago* all capabilities of opened inode should always renew because many file
lsy [Thu, 12 Oct 2006 15:35:35 +0000 (15:35 +0000)]
* all capabilities of opened inode should always renew because many file
operations do from file->f_dentry->d_inode directly.
* all dir capabilities should always renew because ll_revalid_it needs
parent dir capability.
* filter update capability key more intelligently.
* rename ll_i2mdscapa -> ll_mdscapa_get, ll_lookup_oss_capa -> ll_osscapa_get.
* other code cleanup.

17 years agoiam,cmm,llite: cleanup handling of corner cases in readdir, especially for split...
nikita [Thu, 12 Oct 2006 14:15:23 +0000 (14:15 +0000)]
iam,cmm,llite: cleanup handling of corner cases in readdir, especially for split directories. Get rid of -ERANGE and -E2BIG errors.

17 years ago- zero out used locks in MDT before finishing req handling;
yury [Thu, 12 Oct 2006 14:11:48 +0000 (14:11 +0000)]
- zero out used locks in MDT before finishing req handling;
- fixes in seq-mgr recovery (meta and super);
- cleanups, more debug and comments, fixes in comments.

17 years ago(1) Do not call server_deregister_mount unless ref conut is zero.
fanyong [Thu, 12 Oct 2006 13:32:17 +0000 (13:32 +0000)]
(1) Do not call server_deregister_mount unless ref conut is zero.
(2) Enable acl under default mode.

17 years ago- serialize done_writting with close requests
tappro [Thu, 12 Oct 2006 11:58:34 +0000 (11:58 +0000)]
- serialize done_writting with close requests
- use 'close' fields in last_rcvd also for done_writting

17 years ago- using find in sanity-lmv again.
yury [Thu, 12 Oct 2006 10:31:49 +0000 (10:31 +0000)]
- using find in sanity-lmv again.

17 years agoBranch: b_new_cmd
wangdi [Thu, 12 Oct 2006 08:47:07 +0000 (08:47 +0000)]
Branch: b_new_cmd
ma_lmm_size is maxisam of lov md size initially, which should be update
in req2attr update

17 years ago- put some asserts for debug
tappro [Thu, 12 Oct 2006 08:03:58 +0000 (08:03 +0000)]
- put some asserts for debug
- remove unneeded debug message

17 years ago Branch: b_new_cmd
wangdi [Thu, 12 Oct 2006 07:49:54 +0000 (07:49 +0000)]
Branch: b_new_cmd
Log:
oops, typo again, sorry :(

17 years ago Branch: b_new_cmd
wangdi [Thu, 12 Oct 2006 07:47:06 +0000 (07:47 +0000)]
 Branch: b_new_cmd
     Log:
   fix typo in the last commit

17 years ago correct bit size for computing hash in client
wangdi [Thu, 12 Oct 2006 07:40:01 +0000 (07:40 +0000)]
 correct bit size for computing hash in client

17 years agofix return value for mdt_is_subdir().
huanghua [Thu, 12 Oct 2006 07:30:29 +0000 (07:30 +0000)]
fix return value for mdt_is_subdir().

17 years agopassing valid argument
huanghua [Thu, 12 Oct 2006 02:28:57 +0000 (02:28 +0000)]
passing valid argument

17 years agobranch: b_new_cmd
ericm [Wed, 11 Oct 2006 18:07:30 +0000 (18:07 +0000)]
branch: b_new_cmd
hack version of b11058.

17 years agoBranch: b_new_cmd
wangdi [Wed, 11 Oct 2006 16:08:05 +0000 (16:08 +0000)]
Branch: b_new_cmd
use ma in cmm_thread_info, not allocate MA

17 years ago- fix the checking stale objects in mdt_getattr_name_lock
tappro [Wed, 11 Oct 2006 13:22:37 +0000 (13:22 +0000)]
- fix the checking stale objects in mdt_getattr_name_lock

17 years ago- remove check for obd_configured from target_handle_connect(), this should be fixed...
yury [Wed, 11 Oct 2006 11:22:10 +0000 (11:22 +0000)]
- remove check for obd_configured from target_handle_connect(), this should be fixed some another way.

17 years ago- stop recovery thare in obdfilter before freeing namespace;
yury [Wed, 11 Oct 2006 10:24:51 +0000 (10:24 +0000)]
- stop recovery thare in obdfilter before freeing namespace;
- cleanups in error messages and comments;
- more verbosity to class_config_notify_end();
- set obd->obd_configured = 0 in class_setup() before doing anything;

- do not pre-allocate seq-ranges in mdc. It usually will not do that asap
  as remote target is not yet configured. It will be allocated later in very
  first opeartion time, when you fid is needed;

- zero out lock handle in mdt_intent_lock_replace() to not confuse mdt_info_thread_fini();
- do not set obd->obd_configured if log processing finishes with error;
- do not allow gss connection if obd is not configured;
- disable FLD relay test 0c for multi MDS config.

17 years agoDrop security ctxt when umount, for avoiding ldlm_revoke_export_locks
fanyong [Wed, 11 Oct 2006 08:48:12 +0000 (08:48 +0000)]
Drop security ctxt when umount, for avoiding ldlm_revoke_export_locks
accessing freed resource.

17 years agoBranch: b_new_cmd
wangdi [Wed, 11 Oct 2006 08:08:51 +0000 (08:08 +0000)]
Branch: b_new_cmd
fix the problem in reset hash segment

17 years agobranch: b_new_cmd
ericm [Wed, 11 Oct 2006 04:14:22 +0000 (04:14 +0000)]
branch: b_new_cmd
mdc_realloc_openmsg() is violating rules of sptlrpc, LBUG it for this
moment. real fixes shold come asap.

17 years agoremove '\n' from the end of the debug message
tappro [Wed, 11 Oct 2006 00:26:32 +0000 (00:26 +0000)]
remove '\n' from the end of the debug message

17 years ago add debug
tappro [Wed, 11 Oct 2006 00:25:24 +0000 (00:25 +0000)]
 add debug

17 years ago- fix test 17
tappro [Wed, 11 Oct 2006 00:24:47 +0000 (00:24 +0000)]
- fix test 17

17 years agobranch: b_new_cmd
ericm [Tue, 10 Oct 2006 17:23:59 +0000 (17:23 +0000)]
branch: b_new_cmd
"body might be used uninitialized"

17 years agobranch: b_new_cmd
ericm [Tue, 10 Oct 2006 17:22:50 +0000 (17:22 +0000)]
branch: b_new_cmd
port from b1_8_gss:
 - wake waiting threads upon return enc pages to pools.

17 years agoBranch: b_new_cmd
wangdi [Tue, 10 Oct 2006 15:26:47 +0000 (15:26 +0000)]
Branch: b_new_cmd
remove useless debug info

17 years ago- reverse wrong commit about open_req.
yury [Tue, 10 Oct 2006 15:17:20 +0000 (15:17 +0000)]
- reverse wrong commit about open_req.

17 years agoBranch: b_new_cmd
wangdi [Tue, 10 Oct 2006 15:11:52 +0000 (15:11 +0000)]
Branch: b_new_cmd
2 fixes of split
1)reset hash_segment until we do not get -E2BIG
2)do not create . and .. for slave obj

17 years ago- fixes from 1_5 (from green and bzzz).
yury [Tue, 10 Oct 2006 14:19:32 +0000 (14:19 +0000)]
- fixes from 1_5 (from green and bzzz).

17 years ago- compile fixes in fld_rrb_scan()
yury [Tue, 10 Oct 2006 14:07:14 +0000 (14:07 +0000)]
- compile fixes in fld_rrb_scan()

17 years ago- fixed missed braces in mdc_clear_open_replay_data()
yury [Tue, 10 Oct 2006 14:02:10 +0000 (14:02 +0000)]
- fixed missed braces in mdc_clear_open_replay_data()

17 years ago- fixes and cleanup in seq-mgr about setting controller client. Return -ENODEV if...
yury [Tue, 10 Oct 2006 13:58:49 +0000 (13:58 +0000)]
- 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).

17 years agoto handle stripecount == -1 correctly
huanghua [Tue, 10 Oct 2006 07:48:11 +0000 (07:48 +0000)]
to handle stripecount == -1 correctly

17 years agobranch: b_new_cmd
ericm [Tue, 10 Oct 2006 07:21:26 +0000 (07:21 +0000)]
branch: b_new_cmd
temporarily use null policy by default to MDTs, for debugging.

17 years agodirectory maybe have been deleted, and need to check this.
huanghua [Tue, 10 Oct 2006 06:44:17 +0000 (06:44 +0000)]
directory maybe have been deleted, and need to check this.
That is: check the existance of parent directory.

17 years agoAdd stripe parameters to MDTs.
yujian [Tue, 10 Oct 2006 04:19:20 +0000 (04:19 +0000)]
Add stripe parameters to MDTs.

17 years ago- set rq_reqmsg to NULL in null_free_req with rq_reqbuf
tappro [Mon, 9 Oct 2006 20:45:34 +0000 (20:45 +0000)]
- set rq_reqmsg to NULL in null_free_req with rq_reqbuf
- add debug info

17 years ago- workaround for cross-ref replay. The requested operation can be done during
tappro [Mon, 9 Oct 2006 20:42:21 +0000 (20:42 +0000)]
- workaround for cross-ref replay. The requested operation can be done during
  original request, just do nothing in that case.

17 years ago- correct error handling
tappro [Mon, 9 Oct 2006 20:39:23 +0000 (20:39 +0000)]
- correct error handling

17 years ago - iam: assure that hash value is always even, even (heh) for dot and dotdot.
nikita [Mon, 9 Oct 2006 18:32:57 +0000 (18:32 +0000)]
 - iam: assure that hash value is always even, even (heh) for dot and dotdot.

 - lvar_root(), lvar_leaf(): don't assume that new node is zeroed.

17 years agoosd: remove outdated comments
nikita [Mon, 9 Oct 2006 18:31:52 +0000 (18:31 +0000)]
osd: remove outdated comments

17 years agoiam: lvar_root(): do not assume newly allocated block is zeroed out.
nikita [Mon, 9 Oct 2006 16:04:50 +0000 (16:04 +0000)]
iam: lvar_root(): do not assume newly allocated block is zeroed out.

17 years agoremove redundant code.
lsy [Mon, 9 Oct 2006 14:30:39 +0000 (14:30 +0000)]
remove redundant code.

17 years ago- fixes about using lmv_get_export(), fixes possible memory leaks;
yury [Mon, 9 Oct 2006 14:00:48 +0000 (14:00 +0000)]
- fixes about using lmv_get_export(), fixes possible memory leaks;
- fixed bug with split. If after split repeat intent_lock() return error we have to free req and zero it out to not confuse client.

17 years agosmall cleanups
nikita [Mon, 9 Oct 2006 13:28:02 +0000 (13:28 +0000)]
small cleanups

17 years ago- fixed to sanity-lmv.sh, we can't use find for that due to "Value is too big"
yury [Mon, 9 Oct 2006 12:21:43 +0000 (12:21 +0000)]
- fixed to sanity-lmv.sh, we can't use find for that due to "Value is too big"

17 years agomore comments on why we need to set nlink to zero for a dir.
huanghua [Mon, 9 Oct 2006 09:21:49 +0000 (09:21 +0000)]
more comments on why we need to set nlink to zero for a dir.

17 years agooss capability fully works now.
lsy [Mon, 9 Oct 2006 08:31:48 +0000 (08:31 +0000)]
oss capability fully works now.
add setattr capability check for oss (including req from mds).
code cleanup.

17 years agoSmall fix and make the code more clean.
fanyong [Mon, 9 Oct 2006 06:30:40 +0000 (06:30 +0000)]
Small fix and make the code more clean.

17 years agoadd stripecount parameter for mdtlov to stripe all data across all OSTs
huanghua [Mon, 9 Oct 2006 05:39:45 +0000 (05:39 +0000)]
add stripecount parameter for mdtlov to stripe all data across all OSTs

17 years ago(1) correctly unlink a dir: we have to set i_nlink to zero manually.
huanghua [Mon, 9 Oct 2006 03:58:35 +0000 (03:58 +0000)]
(1) correctly unlink a dir: we have to set i_nlink to zero manually.
(2) some debug code;

17 years agoBranch: b_new_cmd
wangdi [Mon, 9 Oct 2006 03:56:34 +0000 (03:56 +0000)]
Branch: b_new_cmd
update lmv slave object size.

17 years agoSmall bug fix and make the code more conciser.
fanyong [Mon, 9 Oct 2006 02:40:16 +0000 (02:40 +0000)]
Small bug fix and make the code more conciser.

17 years ago- Mike suggested to rely that all remote objects in split are dirs.
yury [Sun, 8 Oct 2006 17:23:09 +0000 (17:23 +0000)]
- Mike suggested to rely that all remote objects in split are dirs.

17 years ago- fixes and cleanups. Tom notice my comment in cmm_remove_dir_ent().
yury [Sun, 8 Oct 2006 17:10:28 +0000 (17:10 +0000)]
- fixes and cleanups. Tom notice my comment in cmm_remove_dir_ent().

17 years ago- move GSS CONDITIONAL to correct m4 file.
yury [Sun, 8 Oct 2006 16:07:32 +0000 (16:07 +0000)]
- move GSS CONDITIONAL to correct m4 file.

17 years agoupdate time only if there was no error
tappro [Sun, 8 Oct 2006 14:41:08 +0000 (14:41 +0000)]
update time only if there was no error

17 years ago- set placement policy to balanced algorithm from stressed
tappro [Sun, 8 Oct 2006 14:21:14 +0000 (14:21 +0000)]
- set placement policy to balanced algorithm from stressed

17 years agoThe rootsquash info will be changed without notify client.
fanyong [Sun, 8 Oct 2006 10:21:06 +0000 (10:21 +0000)]
The rootsquash info will be changed without notify client.
So the client will update perm actively. (sanity-sec test_3)

17 years ago(1) Adding squash flag in md_ucred will increase performance of idmap.
fanyong [Sun, 8 Oct 2006 07:36:00 +0000 (07:36 +0000)]
(1) Adding squash flag in md_ucred will increase performance of idmap.
(2) Fix bug about mdt_body_reverse_idmap for remote user with rootsquash.

17 years ago- revised seq-mgr, a lot of simplifications.
yury [Sun, 8 Oct 2006 07:19:27 +0000 (07:19 +0000)]
- revised seq-mgr, a lot of simplifications.

17 years agoBranch: b_new_cmd
wangdi [Sun, 8 Oct 2006 06:18:42 +0000 (06:18 +0000)]
Branch: b_new_cmd
rec_len is 0 for the last rec of each page, so it can not be used to
check rec valid

17 years agosome code cleanup
huanghua [Sun, 8 Oct 2006 03:56:41 +0000 (03:56 +0000)]
some code cleanup

17 years agoBranch: b_new_cmd
wangdi [Sun, 8 Oct 2006 02:31:07 +0000 (02:31 +0000)]
Branch: b_new_cmd
enable split, in case someone did not consider split when commit some stuff.
Mountain's corruption is not related with split, since there is no split at all
currently.

17 years agoremove compiler warning.
huanghua [Sun, 8 Oct 2006 01:59:02 +0000 (01:59 +0000)]
remove compiler warning.

17 years ago- remove unused code
tappro [Sat, 7 Oct 2006 22:13:22 +0000 (22:13 +0000)]
- remove unused code

17 years ago- fast fix of mountconf bug when mds is set up before osc are added.
tappro [Sat, 7 Oct 2006 22:08:21 +0000 (22:08 +0000)]
- fast fix of mountconf bug when mds is set up before osc are added.
  This issues the race between recovery can start but not all osc are added yet.
  Fix adds obd_configured flag to track when config llog parsing is finished and MDS is really  set up and ready for recovery.

17 years ago- changes in comments.
yury [Sat, 7 Oct 2006 17:42:24 +0000 (17:42 +0000)]
- changes in comments.

17 years agobranch: b_new_cmd
ericm [Sat, 7 Oct 2006 17:27:42 +0000 (17:27 +0000)]
branch: b_new_cmd
more fixes of configuration of capability and gss.

17 years ago- disable split by default for a now to make sure that corruptions on mountain are...
yury [Sat, 7 Oct 2006 15:44:57 +0000 (15:44 +0000)]
- disable split by default for a now to make sure that corruptions on mountain are not related to it.

17 years agoInterface name fix.
fanyong [Sat, 7 Oct 2006 15:42:10 +0000 (15:42 +0000)]
Interface name fix.

17 years agoremove \n from parameter strings, otherwise it will confuse later pattern match.
lsy [Sat, 7 Oct 2006 15:26:59 +0000 (15:26 +0000)]
remove \n from parameter strings, otherwise it will confuse later pattern match.
also rename rootsquash_skips to nosquash_nids.

17 years agoChange with the changing of rootsquash interface.
fanyong [Sat, 7 Oct 2006 15:10:07 +0000 (15:10 +0000)]
Change with the changing of rootsquash interface.

17 years agouse mdc RPC lock to queue the seq/fld requests, except FLD_LOOKUP
tappro [Sat, 7 Oct 2006 15:05:31 +0000 (15:05 +0000)]
use mdc RPC lock to queue the seq/fld requests, except FLD_LOOKUP

17 years agofix capa renewal reply offset.
lsy [Sat, 7 Oct 2006 14:05:09 +0000 (14:05 +0000)]
fix capa renewal reply offset.
class_process_proc_param() compare lvar more accuratly.
code cleanup.

17 years agoadd capability config interface. also modified the interface for rootsquash.
lsy [Sat, 7 Oct 2006 10:23:51 +0000 (10:23 +0000)]
add capability config interface. also modified the interface for rootsquash.

17 years ago(1) drop unnecessary ops.
fanyong [Sat, 7 Oct 2006 09:14:15 +0000 (09:14 +0000)]
(1) drop unnecessary ops.
(2) small fix for remote_perm.

17 years ago- fixes in GSS configuration
yury [Sat, 7 Oct 2006 08:59:06 +0000 (08:59 +0000)]
- fixes in GSS configuration

17 years agoInvalid assert when cal is enabled.
fanyong [Sat, 7 Oct 2006 08:54:53 +0000 (08:54 +0000)]
Invalid assert when cal is enabled.

17 years ago- temporary change to see request debug instead of assert. This is to 11012
tappro [Sat, 7 Oct 2006 08:50:58 +0000 (08:50 +0000)]
- temporary change to see request debug instead of assert. This is to 11012
  debug

17 years agoSmall fix for remote_perm.
fanyong [Sat, 7 Oct 2006 07:27:37 +0000 (07:27 +0000)]
Small fix for remote_perm.

17 years agoSmall fix for remote client.
fanyong [Sat, 7 Oct 2006 07:24:36 +0000 (07:24 +0000)]
Small fix for remote client.

17 years agobranch: b_new_cmd (lustre), HEAD (build)
ericm [Fri, 6 Oct 2006 22:41:10 +0000 (22:41 +0000)]
branch: b_new_cmd (lustre), HEAD (build)
hmac checking in lustre-core.m4 break kerneless building. move to
lustre-build-linux.m4 and use existing LB_LINUX_CONFIG.

17 years agobranch: b_new_cmd
ericm [Fri, 6 Oct 2006 21:49:27 +0000 (21:49 +0000)]
branch: b_new_cmd
port gss fixes from b1_8_gss:
- pre-alloc page pools for bulk write in encrypting mode.
- improve procfs for sptlrpc/gss.
- various other sptlrpc fixes.

17 years agobranch: b_new_cmd
ericm [Fri, 6 Oct 2006 20:40:43 +0000 (20:40 +0000)]
branch: b_new_cmd
minor fix for gss configure

17 years agofile sec_lproc.c was added on branch b_new_cmd on 2006-10-06 21:49:25 +0000
ericm [Fri, 6 Oct 2006 19:40:52 +0000 (19:40 +0000)]
file sec_lproc.c was added on branch b_new_cmd on 2006-10-06 21:49:25 +0000

17 years agofile sec_bulk.c was added on branch b_new_cmd on 2006-10-06 21:49:25 +0000
ericm [Fri, 6 Oct 2006 19:40:50 +0000 (19:40 +0000)]
file sec_bulk.c was added on branch b_new_cmd on 2006-10-06 21:49:25 +0000

17 years agoPointing to $LINUX/.config is bad. $LINUX_CONFIG is where the .config file
brian [Fri, 6 Oct 2006 18:57:01 +0000 (18:57 +0000)]
Pointing to $LINUX/.config is bad.  $LINUX_CONFIG is where the .config file
can be found it's not always == $LINUX/.config.