Whamcloud - gitweb
fs/lustre-release.git
18 years agoland b_hd_sec on HEAD. various security fixes.
ericm [Thu, 7 Jul 2005 17:41:19 +0000 (17:41 +0000)]
land b_hd_sec on HEAD. various security fixes.

18 years agob=7039
alex [Thu, 7 Jul 2005 16:29:19 +0000 (16:29 +0000)]
b=7039

 - additional debug info: dump backtrace

18 years ago- minor typo
alex [Thu, 7 Jul 2005 14:27:05 +0000 (14:27 +0000)]
- minor typo

18 years agob=6285
alex [Thu, 7 Jul 2005 14:23:22 +0000 (14:23 +0000)]
b=6285

 - sometimes mds_getattr_lock() is asked to refresh attributes by fid.
   it doesn't take LOOKUP lock, thus has no protected from concurrent
   unlink. this means mds_getattr_lock() can return already unlinked
   (and being removed) inode. to avoid this we check i_nlink right
   after we got UPDATE lock and return -ENOENT if nlink is zero

18 years agob=6913
alex [Thu, 7 Jul 2005 13:38:55 +0000 (13:38 +0000)]
b=6913

 - retract extents lock from clients even if OSS hasn't created object yet

18 years ago- minor comment about openlock and test 24n from sanity.sh
alex [Thu, 7 Jul 2005 13:03:01 +0000 (13:03 +0000)]
- minor comment about openlock and test 24n from sanity.sh

18 years agob=6285
tappro [Thu, 7 Jul 2005 12:21:56 +0000 (12:21 +0000)]
b=6285
- more debug info was added

18 years agob=6285
tappro [Thu, 7 Jul 2005 08:33:07 +0000 (08:33 +0000)]
b=6285
- add LBUG() to get kernel-logs in case of this issue

18 years ago- better to make vfs_create() to set correct uid and gid for new inode, as dirtying...
yury [Thu, 7 Jul 2005 07:57:07 +0000 (07:57 +0000)]
- better to make vfs_create() to set correct uid and gid for new inode, as dirtying inode in ext3 is too expensive. Thanks to Andreas.

18 years agob=7023
alex [Wed, 6 Jul 2005 21:53:09 +0000 (21:53 +0000)]
b=7023

 - export can be failed asynchronously with regard to processing request.
   this case cause open rpc to be replied to zero transno. zero transno
   means no reference for request and open request gets freed after
   ll_file_open() though mdc_open_data still has a reference on the
   request. and this causes oops when mdc_close() tries to access the
   request. the workaround is to take additional reference on the request
   for mdc_open_data

18 years ago- disable test 24n: it fails because of disabled opencache. current
alex [Wed, 6 Jul 2005 21:06:19 +0000 (21:06 +0000)]
- disable test 24n: it fails because of disabled opencache. current
  mds_open() doesn't take lookup lock and client can't maintain
  dcache in coherence

18 years ago- make recovery-small.sh working correct with local configuration (1 mds)
alex [Wed, 6 Jul 2005 20:13:41 +0000 (20:13 +0000)]
- make recovery-small.sh working correct with local configuration (1 mds)

18 years ago- passing full options page to do_kern_mount() in confobd and smfs too like it is...
yury [Wed, 6 Jul 2005 16:49:20 +0000 (16:49 +0000)]
- passing full options page to do_kern_mount() in confobd and smfs too like it is done in MDS and OST

18 years ago- removed not used vars in client_obd_setup()
yury [Wed, 6 Jul 2005 12:41:36 +0000 (12:41 +0000)]
- removed not used vars in client_obd_setup()
- many fixes and improvements suggested by Andreas
- removed not used function inode_update_time()

18 years agominor fix in lmv_get_mea_and_update_object().
niu [Wed, 6 Jul 2005 07:53:00 +0000 (07:53 +0000)]
minor fix in lmv_get_mea_and_update_object().

18 years agoconvert to u64 in case of overflow.
niu [Wed, 6 Jul 2005 07:48:59 +0000 (07:48 +0000)]
convert to u64 in case of overflow.
- b 6450

18 years agoBranch b1_4
adilger [Tue, 5 Jul 2005 23:46:12 +0000 (23:46 +0000)]
Branch b1_4
Fix catamount build breakage, may be able to remove entirely at some point.
b=6923

18 years agoNeed to get values from netstat "unresolved" because the port numbers returned
brian [Tue, 5 Jul 2005 21:31:00 +0000 (21:31 +0000)]
Need to get values from netstat "unresolved" because the port numbers returned
are used in numerical comparisons.

18 years agoOptionally use RUNAS_GID to runas command to set group to setregid() to.
brian [Tue, 5 Jul 2005 18:56:54 +0000 (18:56 +0000)]
Optionally use RUNAS_GID to runas command to set group to setregid() to.
This is needed to prevent errors such as:
  mds blocked setgid attempt (1000/1000 -> 100)

18 years ago- fix for test 9 from b1_4
alex [Tue, 5 Jul 2005 10:35:06 +0000 (10:35 +0000)]
- fix for test 9 from b1_4

18 years ago- minor cleanup to fix warnings with disabled openlock
alex [Tue, 5 Jul 2005 10:12:19 +0000 (10:12 +0000)]
- minor cleanup to fix warnings with disabled openlock

18 years ago- handle copy_from_user() error
alex [Tue, 5 Jul 2005 09:59:56 +0000 (09:59 +0000)]
- handle copy_from_user() error

18 years agoBranch b1_4
adilger [Tue, 5 Jul 2005 09:48:44 +0000 (09:48 +0000)]
Branch b1_4
Add some better error messages to acceptor to see if we can identify
ongoing startup problem.  Also, remove pidfile at clean exit.

18 years agoBranch HEAD
adilger [Tue, 5 Jul 2005 09:19:19 +0000 (09:19 +0000)]
Branch HEAD
Don't tag all of the backup files created by quilt for ldiskfs.

18 years agoadd ioctl for audit syslog interface
niu [Tue, 5 Jul 2005 09:18:16 +0000 (09:18 +0000)]
add ioctl for audit syslog interface

18 years ago- give 1MB RPCs a run on 256MB mountain's client
alex [Mon, 4 Jul 2005 16:23:18 +0000 (16:23 +0000)]
- give 1MB RPCs a run on 256MB mountain's client

18 years ago- don't pass "prefer mergability over length" hint to mballoc
alex [Mon, 4 Jul 2005 14:27:07 +0000 (14:27 +0000)]
- don't pass "prefer mergability over length" hint to mballoc

18 years agoBranch b1_4
adilger [Mon, 4 Jul 2005 11:10:21 +0000 (11:10 +0000)]
Branch b1_4
Clean up CVS history files ala .#some_old_file.c.1.2.3.4.5

18 years ago- disable "too long searching" in mballoc
alex [Mon, 4 Jul 2005 10:08:24 +0000 (10:08 +0000)]
- disable "too long searching" in mballoc

18 years ago - add mballoc to ldiskfs series
alex [Mon, 4 Jul 2005 08:13:53 +0000 (08:13 +0000)]
 - add mballoc to ldiskfs series
 - make extents,mballoc a default options for OST

18 years ago- CROW-related fixes from b_hd_mdref
alex [Mon, 4 Jul 2005 06:28:56 +0000 (06:28 +0000)]
- CROW-related fixes from b_hd_mdref

18 years ago- define NOHIGHMEM for recently added highmem-split patch
alex [Mon, 4 Jul 2005 06:14:45 +0000 (06:14 +0000)]
- define NOHIGHMEM for recently added highmem-split patch

18 years ago- make mdc_close() to use regular recovery mechanism
alex [Mon, 4 Jul 2005 05:59:51 +0000 (05:59 +0000)]
- make mdc_close() to use regular recovery mechanism

18 years agob=5888
alex [Sun, 3 Jul 2005 22:49:44 +0000 (22:49 +0000)]
b=5888

 - should exit immediately, if we aren't a holder of size semaphore

18 years ago- highmem-split-2.6.10-fc3.patch in order to make 3GB memory on mountain's
alex [Sun, 3 Jul 2005 20:23:57 +0000 (20:23 +0000)]
- highmem-split-2.6.10-fc3.patch in order to make 3GB memory on mountain's
  nodes available

18 years agoBranch: HEAD
wangdi [Sun, 3 Jul 2005 14:51:58 +0000 (14:51 +0000)]
Branch: HEAD
minor fix for cmobd test script

18 years agob=6285
tappro [Sun, 3 Jul 2005 06:49:34 +0000 (06:49 +0000)]
b=6285

- debug info

18 years ago- statmany needs more arguments
alex [Sat, 2 Jul 2005 06:15:47 +0000 (06:15 +0000)]
- statmany needs more arguments

18 years ago- remove non-needed check
alex [Sat, 2 Jul 2005 05:40:21 +0000 (05:40 +0000)]
- remove non-needed check

18 years ago- minor change to prevent warnings
alex [Sat, 2 Jul 2005 05:38:47 +0000 (05:38 +0000)]
- minor change to prevent warnings

18 years ago* Changed default vib tx descriptor pool sizes
eeb [Fri, 1 Jul 2005 09:34:26 +0000 (09:34 +0000)]
*   Changed default vib tx descriptor pool sizes

18 years ago* Removed misleading comment about the # of tx descs
eeb [Wed, 29 Jun 2005 20:38:06 +0000 (20:38 +0000)]
*   Removed misleading comment about the # of tx descs

*   Don't force FMR unmap on error if it wasn't mapped in the first place.

18 years agob=6285
alex [Wed, 29 Jun 2005 16:17:27 +0000 (16:17 +0000)]
b=6285

 - protect i_nlink in rmdir/mkdir case because with pdirops it can be
   modified simultaneously

18 years agob=6962
alex [Wed, 29 Jun 2005 15:51:29 +0000 (15:51 +0000)]
b=6962

 - lov_setattr() doesn't need OBD_MD_FLGENER

18 years agob=6816
alex [Wed, 29 Jun 2005 15:15:09 +0000 (15:15 +0000)]
b=6816

 - don't release intent, because ->lookup() can be called later

18 years agoBranch: HEAD
wangdi [Wed, 29 Jun 2005 13:51:44 +0000 (13:51 +0000)]
Branch: HEAD
some fix and cleanup for WB test script

18 years agoBranch HEAD
wangdi [Wed, 29 Jun 2005 13:29:26 +0000 (13:29 +0000)]
Branch HEAD
remove obsolete cmobd test script

18 years agoBranch: HEAD
wangdi [Wed, 29 Jun 2005 13:25:56 +0000 (13:25 +0000)]
Branch: HEAD
add cfg_instance string in setup lcfg for WB zconf.

18 years agob=6975
alex [Tue, 28 Jun 2005 21:10:11 +0000 (21:10 +0000)]
b=6975

 - concurrent creations are valid since CROW merging

18 years agoBranch b1_4
adilger [Tue, 28 Jun 2005 21:09:58 +0000 (21:09 +0000)]
Branch b1_4
Move some more verbose router messages to D_INFO.

18 years ago- minor optimization: we already have fid in reply, no need to fetch it
alex [Tue, 28 Jun 2005 16:10:08 +0000 (16:10 +0000)]
- minor optimization: we already have fid in reply, no need to fetch it

18 years ago* vibnal: ensure FMR flushed on error
eeb [Tue, 28 Jun 2005 09:46:16 +0000 (09:46 +0000)]
*   vibnal: ensure FMR flushed on error

18 years agob=6885
alex [Mon, 27 Jun 2005 15:52:45 +0000 (15:52 +0000)]
b=6885

 - disable opencache feature in order to pass #3

18 years agob=6885
alex [Mon, 27 Jun 2005 15:48:56 +0000 (15:48 +0000)]
b=6885

 - make lustre_fid smaller to fit to 256 bytes inode
   NOTE: improves test #3 significantly

18 years agob=6885
alex [Mon, 27 Jun 2005 15:45:59 +0000 (15:45 +0000)]
b=6885

 - reservation feature in ext3 hurts test #3: disable it

18 years agob=6885
alex [Mon, 27 Jun 2005 15:43:28 +0000 (15:43 +0000)]
b=6885

 - we don't need BKL in {set|get}_attr routines in 2.6

18 years agob=5881
tappro [Sat, 25 Jun 2005 22:10:50 +0000 (22:10 +0000)]
b=5881

- protect smfs plugins operations
- alloc plugin before registration

18 years agob=6285
tappro [Sat, 25 Jun 2005 22:05:52 +0000 (22:05 +0000)]
b=6285
r=alex

smfs should care about nlinks handling instead of just copying it from/to bottom fs.

18 years ago - pevious commit was incomplete.
tappro [Sat, 25 Jun 2005 08:15:32 +0000 (08:15 +0000)]
 - pevious commit was incomplete.

18 years agoBranch b1_4
adilger [Sat, 25 Jun 2005 06:00:09 +0000 (06:00 +0000)]
Branch b1_4
Shouldn't be able to run land2.sh with uncommitted changes.

18 years agob=6285
tappro [Thu, 23 Jun 2005 20:32:16 +0000 (20:32 +0000)]
b=6285

 - make smfs_rmdir behaves like vfs_rmdir

18 years agoland b_hd_sec on HEAD: lctl flush stuff, plus various client gss
ericm [Thu, 23 Jun 2005 17:45:32 +0000 (17:45 +0000)]
land b_hd_sec on HEAD: lctl flush stuff, plus various client gss
cache fixes.

18 years ago- numerous fixes from b_cray, b_1_4 and Andreas' comments.
yury [Thu, 23 Jun 2005 14:52:51 +0000 (14:52 +0000)]
- numerous fixes from b_cray, b_1_4 and Andreas' comments.

18 years agoBring these two configs into parity with each others' recent changes.
buffalo-pull [Thu, 23 Jun 2005 13:25:12 +0000 (13:25 +0000)]
Bring these two configs into parity with each others' recent changes.

18 years agob=6942
alex [Thu, 23 Jun 2005 12:26:15 +0000 (12:26 +0000)]
b=6942

 - don't take inode->i_sem. otherwise we deadlock because right ordering
   is i_sem then journal_strart. as we're creating the file, nobody can
   access it. so it's safe to set fid w/o i_sem

18 years agoadd directory commands to gdb script
jacob [Wed, 22 Jun 2005 17:52:22 +0000 (17:52 +0000)]
add directory commands to gdb script

18 years ago- CROW (CReate On Write) (precreation is removed)
yury [Wed, 22 Jun 2005 11:33:48 +0000 (11:33 +0000)]
- CROW (CReate On Write) (precreation is removed)
- setting owner/group on OSS (needed for quotas)

- some fixes:
  - deadlock on soc client lock.
  - idr_remove() issue.
  - forwarding to wrong MDS in lmv_link()
  - f_dput(dentry) before using it in filter_lvbo_update()
  - filter_sync() assert(group > 0) due to missed GROUP flag oa->o_valid in ll_fsync().
  - cleanups, comments and more debugging messages.
  - jump to wrong label in mds_create_objects() on error path.
  - few missed/wrong ENTRY/RETURN things

18 years agomove awk script into bash, as strtonum() is broken on some systems
nic [Tue, 21 Jun 2005 17:41:09 +0000 (17:41 +0000)]
move awk script into bash, as strtonum() is broken on some systems
add a bit more help when we hit errors too

18 years ago- enable spinlock debugging for fc3 kernel
alex [Tue, 21 Jun 2005 17:39:23 +0000 (17:39 +0000)]
- enable spinlock debugging for fc3 kernel

  NOTE: it seems do_gettimeofday() may sleep in UML, so don't enable
        CONFIG_DEBUG_SPINLOCK_SLEEP

18 years agosometime we don't need gracefully flush client credential.
ericm [Tue, 21 Jun 2005 16:31:14 +0000 (16:31 +0000)]
sometime we don't need gracefully flush client credential.

18 years agoadded b_ioprovement branch
nikita [Tue, 21 Jun 2005 09:57:36 +0000 (09:57 +0000)]
added b_ioprovement branch

18 years ago- declare export non-connected in filter_init_server_data()
alex [Tue, 21 Jun 2005 06:16:47 +0000 (06:16 +0000)]
- declare export non-connected in filter_init_server_data()

18 years agob=6087
alex [Tue, 21 Jun 2005 05:33:31 +0000 (05:33 +0000)]
b=6087

 - don't confuse OST by non-zero connect flags from clients. OST expects
   group number while only MDS can have a group

18 years agoland b_hd_sec onto HEAD: various security related fixes.
ericm [Mon, 20 Jun 2005 22:18:48 +0000 (22:18 +0000)]
land b_hd_sec onto HEAD: various security related fixes.

18 years ago- let show_task() to show backtrack for currently running process (for LBUG)
alex [Mon, 20 Jun 2005 13:12:16 +0000 (13:12 +0000)]
- let show_task() to show backtrack for currently running process (for LBUG)

18 years agoLand b_release_1_4_3 onto HEAD (20050619_0305)
adilger [Sun, 19 Jun 2005 09:18:22 +0000 (09:18 +0000)]
Land b_release_1_4_3 onto HEAD (20050619_0305)
b=6411 : enable rate-limiting of console error messages, and some console
         errors now go only to the kernel log.  Use CERROR/CWARN where
 appropriate to allow rate-limiting of these messages.
b=1693 : add /proc/sys/portals/catastrophe entry which will report if
         that node has previously LBUGged.

18 years agob=6871
alex [Sat, 18 Jun 2005 13:39:35 +0000 (13:39 +0000)]
b=6871

 - drop fail_loc to 0 in test 20

18 years agoAllow sanity.sh to work with zconf.
brian [Sat, 18 Jun 2005 03:15:29 +0000 (03:15 +0000)]
Allow sanity.sh to work with zconf.
Taken from b1_4 branch.  Thanx nic and adilger.

18 years ago- fix in lmv.sh to use it along with sanityN.sh
yury [Fri, 17 Jun 2005 16:44:54 +0000 (16:44 +0000)]
- fix in lmv.sh to use it along with sanityN.sh

18 years ago* Backed out vib magic change; it's not required since the acceptor
eeb [Fri, 17 Jun 2005 10:24:41 +0000 (10:24 +0000)]
*  Backed out vib magic change; it's not required since the acceptor
   isn't involved.

18 years ago* Make vibnal's magic unique before binary compatibility becomes an issue
eeb [Fri, 17 Jun 2005 10:04:35 +0000 (10:04 +0000)]
*    Make vibnal's magic unique before binary compatibility becomes an issue

18 years agodon't assume PDSH as ssh, which caused troubles for testing.
ericm [Thu, 16 Jun 2005 22:19:50 +0000 (22:19 +0000)]
don't assume PDSH as ssh, which caused troubles for testing.

18 years ago* Use FMR in vibnal to avoid allocating huge contiguous memory for QPs
eeb [Thu, 16 Jun 2005 21:55:17 +0000 (21:55 +0000)]
*     Use FMR in vibnal to avoid allocating huge contiguous memory for QPs
      which caused bug 6436

18 years agochange back on PTL_NETID_ANY in portals, which was committed to HEAD
wangchao [Thu, 16 Jun 2005 11:22:11 +0000 (11:22 +0000)]
change back on PTL_NETID_ANY in portals, which was committed to HEAD

18 years agolctl flush command to flush the cache of idmap, lsd, and gss svc context
wangchao [Thu, 16 Jun 2005 10:23:59 +0000 (10:23 +0000)]
lctl flush command to flush the cache of idmap, lsd, and gss svc context

18 years ago- use mknod to avoid cross-ref mkdir
alex [Thu, 16 Jun 2005 09:16:15 +0000 (09:16 +0000)]
- use mknod to avoid cross-ref mkdir

18 years ago- use DEFAULT recovery behaviour
alex [Thu, 16 Jun 2005 06:35:38 +0000 (06:35 +0000)]
- use DEFAULT recovery behaviour

18 years agoland b_hd_sec_client_oss onto HEAD.
ericm [Wed, 15 Jun 2005 20:24:42 +0000 (20:24 +0000)]
land b_hd_sec_client_oss onto HEAD.

18 years agoEnsure that /sbin and /usr/sbin are in the remote $PATH so that sysctl can be
brian [Wed, 15 Jun 2005 18:45:15 +0000 (18:45 +0000)]
Ensure that /sbin and /usr/sbin are in the remote $PATH so that sysctl can be
found on the remote node.
b=6281

18 years ago* Removed spurious vibnal CERROR
eeb [Wed, 15 Jun 2005 10:15:20 +0000 (10:15 +0000)]
*   Removed spurious vibnal CERROR

18 years agoMissed another aspect of the expect expression.
brian [Wed, 15 Jun 2005 00:42:38 +0000 (00:42 +0000)]
Missed another aspect of the expect expression.

18 years agoacl scripts: different enviroments may output differently.
ericm [Tue, 14 Jun 2005 22:59:58 +0000 (22:59 +0000)]
acl scripts: different enviroments may output differently.

18 years agoacl test scripts: remove user substitution; remove obsolete files.
ericm [Tue, 14 Jun 2005 19:34:54 +0000 (19:34 +0000)]
acl test scripts: remove user substitution; remove obsolete files.

18 years agoneed convert hostname to nid in local.sh
ericm [Tue, 14 Jun 2005 19:08:08 +0000 (19:08 +0000)]
need convert hostname to nid in local.sh

18 years agoBranch:b_hd_crypto
wangdi [Tue, 14 Jun 2005 12:42:27 +0000 (12:42 +0000)]
Branch:b_hd_crypto
crypto api prototype
1) add gs_obd and gsc_obd
2) cleanup in ll_fill_super and lustre_common_fill_super
3) some modification in lconf and lmc

18 years ago- fixed inverted condition, committed missed bits from cobd
yury [Tue, 14 Jun 2005 09:32:38 +0000 (09:32 +0000)]
- fixed inverted condition, committed missed bits from cobd

18 years ago- changed name convention in cobd, thus all MD related methods have _md_ prefix like...
yury [Tue, 14 Jun 2005 09:21:11 +0000 (09:21 +0000)]
- changed name convention in cobd, thus all MD related methods have _md_ prefix like cobd_md_getstatus(),
all data layer related have _dt_prefix and common one like cobd_connect() have no prefix at all.

- added hack to mdc_intent_lock() and cobd_md_intent_lock() to distinguish cobd case in mdc_intent_lock() and do not raise -ESTALE if obtained lock is not coherent wiht store id due to generation after switchin to cache cobd. This is dirty hack of course, but it should be for a while to pass cmobd/cobd related tests and Peter agreed it ok for now.

18 years agoForgot closing brace in expect expression.
brian [Mon, 13 Jun 2005 18:37:51 +0000 (18:37 +0000)]
Forgot closing brace in expect expression.

18 years agosome minor changes in lsd upcall.
ericm [Mon, 13 Jun 2005 17:45:26 +0000 (17:45 +0000)]
some minor changes in lsd upcall.

18 years agominor change for debug msg.
ericm [Mon, 13 Jun 2005 16:01:33 +0000 (16:01 +0000)]
minor change for debug msg.