Whamcloud - gitweb
fs/lustre-release.git
18 years agoLand b_hd_capa onto HEAD (20050809_1942)
lsy [Tue, 9 Aug 2005 12:04:07 +0000 (12:04 +0000)]
Land b_hd_capa onto HEAD (20050809_1942)

18 years ago- put fill fid in a punch request
alex [Tue, 9 Aug 2005 10:55:17 +0000 (10:55 +0000)]
- put fill fid in a punch request

18 years agoBranch: b_hd_crypto
wangdi [Tue, 9 Aug 2005 10:12:37 +0000 (10:12 +0000)]
Branch: b_hd_crypto
some fixes about crypto api
1)some debug info fix
2)reorganize the code for mds_set_gskey

18 years ago- add mountoptions argument to lmv.sh
tappro [Tue, 9 Aug 2005 05:32:49 +0000 (05:32 +0000)]
- add mountoptions argument to lmv.sh

18 years ago- let's learn where uninitialized objects come from
alex [Mon, 8 Aug 2005 23:15:01 +0000 (23:15 +0000)]
- let's learn where uninitialized objects come from

18 years agob=7277
tappro [Mon, 8 Aug 2005 23:03:16 +0000 (23:03 +0000)]
b=7277

dentry is used before initialization.

18 years agob=4268
alex [Mon, 8 Aug 2005 22:57:45 +0000 (22:57 +0000)]
b=4268

 - additional debug info

18 years ago- add second mountpoint in the config
alex [Mon, 8 Aug 2005 22:55:08 +0000 (22:55 +0000)]
- add second mountpoint in the config

18 years ago- landed b_hd_mdref (mostly WB cache fixes)
yury [Mon, 8 Aug 2005 18:40:52 +0000 (18:40 +0000)]
- landed b_hd_mdref (mostly WB cache fixes)

18 years agoBranch: HEAD
wangdi [Mon, 8 Aug 2005 15:07:14 +0000 (15:07 +0000)]
Branch: HEAD
some minor fixes about sanity-crypto test scripts

18 years ago- another issue from landing day
tappro [Mon, 8 Aug 2005 14:37:01 +0000 (14:37 +0000)]
- another issue from landing day

18 years ago- root fid is 2 not 1
tappro [Mon, 8 Aug 2005 13:52:44 +0000 (13:52 +0000)]
- root fid is 2 not 1
- remove unneeded debug

18 years ago* Incorporated latest GMNAL updates from HP.
eeb [Mon, 8 Aug 2005 12:50:12 +0000 (12:50 +0000)]
*   Incorporated latest GMNAL updates from HP.
    Compiled but not run yet.

18 years agoBranch: HEAD
wangdi [Mon, 8 Aug 2005 09:26:28 +0000 (09:26 +0000)]
Branch: HEAD
some minor fixes about mks crypto

18 years agosplit dir after setting id in ea (in lfs dirstripe case)
niu [Mon, 8 Aug 2005 09:07:31 +0000 (09:07 +0000)]
split dir after setting id in ea (in lfs dirstripe case)
-b 7265

18 years agoneedn't get rootid while reconstruct pathname
niu [Mon, 8 Aug 2005 08:16:53 +0000 (08:16 +0000)]
needn't get rootid while reconstruct pathname

18 years ago- mds_validate_size() vs. mds_reint_unlink() race is absolutely legal
alex [Sun, 7 Aug 2005 16:53:26 +0000 (16:53 +0000)]
- mds_validate_size() vs. mds_reint_unlink() race is absolutely legal

18 years agob=7267,7034
alex [Sun, 7 Aug 2005 16:28:09 +0000 (16:28 +0000)]
b=7267,7034

 - dedicated threads for serving OST_DESTROY and MDS_CLOSE

18 years ago- don't mix var declarations and code
alex [Sun, 7 Aug 2005 16:14:49 +0000 (16:14 +0000)]
- don't mix var declarations and code

18 years ago- throw needless debugging bits away
alex [Sun, 7 Aug 2005 16:14:12 +0000 (16:14 +0000)]
- throw needless debugging bits away

18 years ago- couple minor optimizations
alex [Sun, 7 Aug 2005 14:23:39 +0000 (14:23 +0000)]
- couple minor optimizations

18 years ago- don't pass pid in case of slave creation.
alex [Sun, 7 Aug 2005 14:22:58 +0000 (14:22 +0000)]
- don't pass pid in case of slave creation.
  checking for non-zero fid is a wrong practice

18 years agob=7264
alex [Sun, 7 Aug 2005 11:18:14 +0000 (11:18 +0000)]
b=7264

 - mballoc must not be used during orphan cleanup

18 years ago- small fixes after landing
tappro [Sun, 7 Aug 2005 08:33:06 +0000 (08:33 +0000)]
- small fixes after landing

18 years ago- show n_link to learn the race
alex [Sun, 7 Aug 2005 07:11:03 +0000 (07:11 +0000)]
- show n_link to learn the race

18 years ago- minor fixes after landing day
alex [Sat, 6 Aug 2005 14:54:40 +0000 (14:54 +0000)]
- minor fixes after landing day

18 years ago- show correct id in debug line
alex [Sat, 6 Aug 2005 14:27:49 +0000 (14:27 +0000)]
- show correct id in debug line

18 years ago- return back original OST/MDS sizes
alex [Sat, 6 Aug 2005 14:25:33 +0000 (14:25 +0000)]
- return back original OST/MDS sizes

18 years ago- test 19 should take one more internal ea into account (parent fid)
alex [Sat, 6 Aug 2005 12:30:49 +0000 (12:30 +0000)]
- test 19 should take one more internal ea into account (parent fid)

18 years ago- missing back slash caused flood of complains from portals_debug_msg()
alex [Sat, 6 Aug 2005 12:19:37 +0000 (12:19 +0000)]
- missing back slash caused flood of complains from portals_debug_msg()

18 years ago- one more merging mess
alex [Sat, 6 Aug 2005 12:18:13 +0000 (12:18 +0000)]
- one more merging mess

18 years ago- typo from merging
alex [Sat, 6 Aug 2005 12:15:46 +0000 (12:15 +0000)]
- typo from merging

18 years ago- minor cleanups in that patch, quilt pop was claiming about old version
alex [Sat, 6 Aug 2005 12:15:15 +0000 (12:15 +0000)]
- minor cleanups in that patch, quilt pop was claiming about old version

18 years agolanding b_hd_sec, b6818, b7244
ericm [Sat, 6 Aug 2005 01:59:00 +0000 (01:59 +0000)]
landing b_hd_sec, b6818, b7244

18 years ago- b_hd_audit landing
tappro [Sat, 6 Aug 2005 01:06:14 +0000 (01:06 +0000)]
- b_hd_audit landing

18 years ago- minor correction
alex [Fri, 5 Aug 2005 23:31:06 +0000 (23:31 +0000)]
- minor correction

18 years ago- return right path back
alex [Fri, 5 Aug 2005 23:14:57 +0000 (23:14 +0000)]
- return right path back

18 years ago- some versions of python don't eat single member set w/o comma
alex [Fri, 5 Aug 2005 23:06:35 +0000 (23:06 +0000)]
- some versions of python don't eat single member set w/o comma

18 years agob=7039
alex [Fri, 5 Aug 2005 23:04:04 +0000 (23:04 +0000)]
b=7039

 - lov_change_cbdata() must iterate over all namespaces regardless activeness

18 years ago- track time recovery took and dump a log if it took >obd_timeout * 2
alex [Fri, 5 Aug 2005 22:45:06 +0000 (22:45 +0000)]
- track time recovery took and dump a log if it took >obd_timeout * 2
  (to simplify debugging tests 11 and 17)

18 years ago- additional debug in ldlm_lock_decref()
alex [Fri, 5 Aug 2005 22:42:43 +0000 (22:42 +0000)]
- additional debug in ldlm_lock_decref()

18 years ago- during last landing old version of the patch was checked in. fixed
alex [Fri, 5 Aug 2005 22:22:41 +0000 (22:22 +0000)]
- during last landing old version of the patch was checked in. fixed

18 years ago- code duplicate we got during landing b_hd_crypto
alex [Fri, 5 Aug 2005 22:09:12 +0000 (22:09 +0000)]
- code duplicate we got during landing b_hd_crypto

18 years agoAdd missing file from distribution.
brian [Fri, 5 Aug 2005 20:42:37 +0000 (20:42 +0000)]
Add missing file from distribution.

18 years ago- repair lmv.sh - it was broken for months
alex [Fri, 5 Aug 2005 20:34:14 +0000 (20:34 +0000)]
- repair lmv.sh - it was broken for months

18 years agocomment for ll_readahead_state and assertion in osc_send_oap_request() from b1_4
nikita [Fri, 5 Aug 2005 18:12:10 +0000 (18:12 +0000)]
comment for ll_readahead_state and assertion in osc_send_oap_request() from b1_4

18 years agoBranch: HEAD
wangdi [Fri, 5 Aug 2005 14:48:14 +0000 (14:48 +0000)]
Branch: HEAD
typo fix after land

18 years agoBranch: HEAD
wangdi [Fri, 5 Aug 2005 14:45:34 +0000 (14:45 +0000)]
Branch: HEAD
land crypto api

18 years ago- warn about the race in filter_intent_policy(), just to make sure it
alex [Fri, 5 Aug 2005 09:12:57 +0000 (09:12 +0000)]
- warn about the race in filter_intent_policy(), just to make sure it
  relates to errors mds gets sometimes

18 years agob=7039
alex [Thu, 4 Aug 2005 21:49:13 +0000 (21:49 +0000)]
b=7039

 - don't skip locks on inactive imports

18 years agob=7039
alex [Thu, 4 Aug 2005 19:14:37 +0000 (19:14 +0000)]
b=7039

 - dump additional debug info

18 years ago- missing \n
alex [Thu, 4 Aug 2005 13:32:51 +0000 (13:32 +0000)]
- missing \n

18 years agob=7039
alex [Thu, 4 Aug 2005 13:04:54 +0000 (13:04 +0000)]
b=7039

 - check for llite inode magic

18 years ago- no more flooding
alex [Thu, 4 Aug 2005 12:06:55 +0000 (12:06 +0000)]
- no more flooding

18 years agob=7039
alex [Thu, 4 Aug 2005 11:40:59 +0000 (11:40 +0000)]
b=7039

 - more debugging info

18 years agob=7049
alex [Thu, 4 Aug 2005 11:33:40 +0000 (11:33 +0000)]
b=7049

 - remove needless debugging checks

18 years agogive a warnning if somebody don't pass lustre id to ost, it should be
niu [Thu, 4 Aug 2005 09:45:49 +0000 (09:45 +0000)]
give a warnning if somebody don't pass lustre id to ost, it should be
error assertion in future.

18 years agoFix of careless (miss ;;)
liangzhen [Thu, 4 Aug 2005 09:00:13 +0000 (09:00 +0000)]
Fix of careless (miss ;;)

18 years agostore lustre id in ost object's EA.
niu [Thu, 4 Aug 2005 08:46:29 +0000 (08:46 +0000)]
store lustre id in ost object's EA.

18 years agoCFLAGS for compiling in Tiger
liangzhen [Thu, 4 Aug 2005 07:56:21 +0000 (07:56 +0000)]
CFLAGS for compiling in Tiger

18 years agob=7049
alex [Wed, 3 Aug 2005 21:56:47 +0000 (21:56 +0000)]
b=7049

 - try to unmap buffers from bd-mapping

18 years agob=7049
alex [Wed, 3 Aug 2005 13:29:38 +0000 (13:29 +0000)]
b=7049

 - it's enough to check for block number

18 years agob=7049
alex [Wed, 3 Aug 2005 12:18:42 +0000 (12:18 +0000)]
b=7049

 - it's better to unmap buffers holding no truncate sem
   note: unmap_underlying_metadata() is commented out to see whether
         a race happens at all

18 years agob=7049
alex [Wed, 3 Aug 2005 12:04:15 +0000 (12:04 +0000)]
b=7049

 - check for aliases in bd-mapping for writes only

18 years agob=7049
alex [Wed, 3 Aug 2005 10:20:08 +0000 (10:20 +0000)]
b=7049

 - let's check whether dirty pages/buffers in bd-mapping

18 years agob=7237
alex [Wed, 3 Aug 2005 07:34:22 +0000 (07:34 +0000)]
b=7237

 - missed wake_up() has been returned
 - few CDEBUG() have changed their level to D_ERROR to simplify debugging

18 years agoMerge b1_4_bug3389 from b1_4 (20050729_0312)
adilger [Tue, 2 Aug 2005 23:29:58 +0000 (23:29 +0000)]
Merge b1_4_bug3389 from b1_4 (20050729_0312)
Description: Mounting a Lustre file system on a node running as an OST could
             lead to deadlocks
Details    : OSTs now allocate memory needed to write out data at
             startup, instead of when needed, to avoid having to
             allocate memory in possibly low memory situations.
             Specifically, if the file system is mounted on on OST,
             memory pressure could force it to try to write out data,
             which it needed to allocate memory to do.  Due to the low
             memory, it would be unable to do so and the node would
             become unresponsive.
b=6514, b=5137

Description: Addition of lconf --service command line option
Details    : lconf now accepts a '--service <arg>' option, which is
             shorthand for 'lconf --group <arg> --select <arg>=<hostname>'
b=7015

Description: Failover mode is now the default for OSTs.
Details    : By default, OSTs will now run in failover mode.  To return to
             the old behaviour, add '--failout' to the lmc line for OSTs.
b=6101

Description: Health checks are now provided for MDS and OSTs
Details    : Additional detailed health check information on MSD and OSTs
             is now provided through the procfs health_check value.
b=1693

Description: Disk fragmentation on the OSTs could eventually cause slowdowns
             after numerous create/delete cycles
Details    : The ext3 inode allocation policy would not allocate new inodes
             very well on the OSTs because there are no new directories
             being created.  Instead we look for groups with free space if
             the parent directories are nearly full.
b=4466

Description: Network or server problems during mount may cause partially
             mounted clients instead of returning an error.
Details    : The config llog parsing code may overwrite the error return
             code during mount error handling, returning success instead
             of an error.
b=6302

18 years agob=3984
alex [Tue, 2 Aug 2005 19:46:23 +0000 (19:46 +0000)]
b=3984

 - a reference on resource must be taked under spinlock

18 years agob=7039
alex [Tue, 2 Aug 2005 18:46:35 +0000 (18:46 +0000)]
b=7039

 - concurrent lock cancelling might find inode dead while it's not yet

18 years agob=7231
alex [Tue, 2 Aug 2005 17:34:20 +0000 (17:34 +0000)]
b=7231

 - asynchronous commit in obdfilter/2.6

18 years agob=7231
alex [Tue, 2 Aug 2005 15:43:33 +0000 (15:43 +0000)]
b=7231

 - wait on bio's completion after commit. to evaluate performance impact

18 years agob=7039
alex [Tue, 2 Aug 2005 09:09:02 +0000 (09:09 +0000)]
b=7039

 - stop progress and dump a log for debugging purposes

18 years ago- b_size_on_mds landed on HEAD:
alex [Sun, 31 Jul 2005 12:43:22 +0000 (12:43 +0000)]
- b_size_on_mds landed on HEAD:

  5984 - oops in mdc_set_lock_data
         we must drop lookup lock in ll_clear_inode()
  7216 - abort due to missed clients
 replay already committed (open/close rpcs) requests
 even if some clients haven't connected in time and
 got evicted
  7057 - sanity: test_66: /mnt/lustre/f66 blocks 0 < 8
         send close rpc only when all dirty pages are written
 (otherwise i_blocks isn't valid)
  6817 - don't update attrs. on mds if the client hasn't modified file
         using openhandle being closed

18 years agoland b_hd_remote_acl: support get/set ACL from remote client.
ericm [Sun, 31 Jul 2005 04:49:34 +0000 (04:49 +0000)]
land b_hd_remote_acl: support get/set ACL from remote client.

18 years agoupdate patches and scripts for SLES 9 SP2
jacob [Fri, 29 Jul 2005 23:54:32 +0000 (23:54 +0000)]
update patches and scripts for SLES 9 SP2

18 years agoBranch: b_hd_crypto
wangdi [Fri, 29 Jul 2005 14:06:12 +0000 (14:06 +0000)]
Branch: b_hd_crypto
minor fixes about crypto api

18 years agoland minor fixes from b_hd_sec:
ericm [Thu, 28 Jul 2005 18:31:21 +0000 (18:31 +0000)]
land minor fixes from b_hd_sec:
 * "EA" is used for lustre internal metadata ea. so change user ea's name to
   "XATTR", including ACLs.
 * remove a unnecessary param from md_getattr().
 * various more fixes.

18 years agoadd missing entry for bug 6993
phil [Wed, 27 Jul 2005 23:48:35 +0000 (23:48 +0000)]
add missing entry for bug 6993

18 years agob=7200
alex [Wed, 27 Jul 2005 18:54:34 +0000 (18:54 +0000)]
b=7200

 - protect lock->l_resource from concurrent ldlm_lock_change_resource()

18 years agoBranch b1_4_bug3389
adilger [Wed, 27 Jul 2005 18:18:31 +0000 (18:18 +0000)]
Branch b1_4_bug3389
Fix portals_nid2str() to print something reasonable for Cray NALs.
b=6902
r=bogl

18 years agob=5210
alex [Wed, 27 Jul 2005 17:20:02 +0000 (17:20 +0000)]
b=5210
r=phil(actual patch)

A workaround for the crash in ll_unhash_aliases on 2.6.
The 2.6 lookup code is now lockless (thanks to the RCU machinations), which
allows it to race with the unhashing in ll_unhash_aliases. The 2.6 __d_drop
doesn't leave the list head ->pprev in a safe state, so the next pass through
this loop (which tries to re-hash it after we lose the dput race), would crash.
For the record, it looks like the kernel's own d_prune_aliases is broken in
the very same way, except that instead of crashing immediately, it just leaves
the d_hash pointers poisoned for someone else to crash on.

18 years agoBranch:b_hd_crypto
wangdi [Wed, 27 Jul 2005 09:28:29 +0000 (09:28 +0000)]
Branch:b_hd_crypto
update crypto api code

18 years agob=7017
alex [Sat, 23 Jul 2005 20:55:29 +0000 (20:55 +0000)]
b=7017

 - atomic_dec_and_test() with subsequent spin_lock() against the list
   is racy. atomic_dec_and_lock() must be used. otherwise other cpu
   can hit the race window, increment refcount, drop it again and we
   get to the situation when both cpus are freeing the structure

18 years agosome env (cnbuild) can't build without explicitly include
ericm [Fri, 22 Jul 2005 17:23:24 +0000 (17:23 +0000)]
some env (cnbuild) can't build without explicitly include
errno.h

18 years agoland b_hd_pag: rudiment support for PAG.
ericm [Thu, 21 Jul 2005 17:17:36 +0000 (17:17 +0000)]
land b_hd_pag: rudiment support for PAG.

18 years agoCopyright is now License in RPM spec files.
brian [Thu, 21 Jul 2005 14:01:53 +0000 (14:01 +0000)]
Copyright is now License in RPM spec files.

18 years agoquiet
jacob [Wed, 20 Jul 2005 21:24:18 +0000 (21:24 +0000)]
quiet

18 years agoShould allow the uml_switch to be used if wanted.
brian [Wed, 20 Jul 2005 18:06:59 +0000 (18:06 +0000)]
Should allow the uml_switch to be used if wanted.

18 years agoBranch: HEAD
wangdi [Wed, 20 Jul 2005 12:50:30 +0000 (12:50 +0000)]
Branch: HEAD
remove redundant set_md in mds_reint_create and cmobd_reint_create

18 years agoBranch: HEAD
wangdi [Wed, 20 Jul 2005 12:34:28 +0000 (12:34 +0000)]
Branch: HEAD
add setxattr kml post hook for reint set md to master mds.

18 years agoBranch: HEAD
wangdi [Tue, 19 Jul 2005 12:56:14 +0000 (12:56 +0000)]
Branch: HEAD
should reset mcd_last_close_xid to 0 when reconnect.
b:6102
r:alex

18 years ago- need couple routines to be accessible from modules for size-on-mds feature
alex [Tue, 19 Jul 2005 11:35:38 +0000 (11:35 +0000)]
- need couple routines to be accessible from modules for size-on-mds feature

18 years agoBranch: HEAD
wangdi [Sat, 16 Jul 2005 07:24:10 +0000 (07:24 +0000)]
Branch: HEAD
add kernel-2.6.10-suse-opteron.config for opteron arch

18 years agoi stand corrected
jacob [Fri, 15 Jul 2005 20:40:56 +0000 (20:40 +0000)]
i stand corrected

18 years agothis is the fix i intended
jacob [Fri, 15 Jul 2005 20:06:06 +0000 (20:06 +0000)]
this is the fix i intended

18 years agor=adilger,nic
mjmac [Fri, 15 Jul 2005 19:52:29 +0000 (19:52 +0000)]
r=adilger,nic

stage() should return 0 if $STAGEDIR is not set, not 1.

18 years agoBranch: HEAD
wangdi [Fri, 15 Jul 2005 07:11:18 +0000 (07:11 +0000)]
Branch: HEAD
add fid and group in kml for cmobd test

18 years agomove AC_SUBST into lustre-build.m4 (b=7126)
jacob [Fri, 15 Jul 2005 04:34:12 +0000 (04:34 +0000)]
move AC_SUBST into lustre-build.m4 (b=7126)

18 years agoadd --stage option to lbuild
jacob [Thu, 14 Jul 2005 23:04:14 +0000 (23:04 +0000)]
add --stage option to lbuild

18 years agorevert a broken change from an earlier fix
jacob [Thu, 14 Jul 2005 23:00:40 +0000 (23:00 +0000)]
revert a broken change from an earlier fix