Whamcloud - gitweb
fs/lustre-release.git
18 years agominor: verbose on sec register.
ericm [Wed, 13 Jul 2005 22:22:17 +0000 (22:22 +0000)]
minor: verbose on sec register.

18 years agoconf-sanity: don't start/stop lsvcgssd/lgssd frequently.
ericm [Wed, 13 Jul 2005 22:08:59 +0000 (22:08 +0000)]
conf-sanity: don't start/stop lsvcgssd/lgssd frequently.

18 years agosupply nettype to conf-sanity 5d
ericm [Wed, 13 Jul 2005 21:53:00 +0000 (21:53 +0000)]
supply nettype to conf-sanity 5d
r=6327

18 years ago- changes in cmobd.sh - there should not be cache LMV
yury [Wed, 13 Jul 2005 16:23:33 +0000 (16:23 +0000)]
- changes in cmobd.sh - there should not be cache LMV
- fixes in lmc

18 years ago- remove out of date warning
alex [Wed, 13 Jul 2005 11:54:30 +0000 (11:54 +0000)]
- remove out of date warning

18 years agoSpinlock twice.
liangzhen [Wed, 13 Jul 2005 10:20:05 +0000 (10:20 +0000)]
Spinlock twice.

18 years agoland b_hd_sec: perm/acl authorization for remote users.
ericm [Wed, 13 Jul 2005 00:59:04 +0000 (00:59 +0000)]
land b_hd_sec: perm/acl authorization for remote users.

18 years ago- many cleanups with case like foo (). Replaced by foo()
yury [Tue, 12 Jul 2005 13:05:52 +0000 (13:05 +0000)]
- many cleanups with case like foo (). Replaced by foo()

- in cmobd fixed init of EA size for LOV with multiple OSTs as master. As there is no another way MD layer is getting asked for correct lovdesc, as it is needed in some cases. Thus, added handler for "lovdesc" nfo key to all MD devices.For instance, cmobd asks LMV for lov desc, it asks first MDS and MDS has it from LOV anyway.

- fixed possible LMV obd corruption in cmobd_init_ea_size() where it unconditionaly accessed u.cli things abd modified them whereas here was LMV.

- removed obd_getready() as it is not needed anymore. It was needed earlier for CMOBD to get LMV ready before asking rootid, etc. Currently alternative way is found. lmv_get_info() is just taking care of LMV targets readiness it self.

- fixed layering violations and possible oopses in cmobd data code where master export was unconditionaly expected as LOV and accessed as LOV what could be wrong in the case of using OSC. OSC using with no LOV is deprecated, but in principle is possible.

- in LMV module many functions are added by static specificator as they are not used outside of their object files.

18 years ago- fixed possible access to of bounds in cmobd
yury [Tue, 12 Jul 2005 06:14:49 +0000 (06:14 +0000)]
- fixed possible access to of bounds in cmobd

18 years ago- cleanups in cmobd and others:
yury [Mon, 11 Jul 2005 17:18:36 +0000 (17:18 +0000)]
- cleanups in cmobd and others:
  - change LUSTRE_MDC_NAME (and others) to form like OBD_MDC_DEVICENAME to be coherent with
    OBD_LMV_DEVICENAME and others. Because some OBDs used one form and others used another one.

  - removed different guesses of OBD types from name of some functions in cmobd. Say
    cmobd_find_master() now is called cmobd_find_obd() as all it does is finds obd
    by uuid and may be used not only for finding master. Also cmobd_lmv_obd() is renamed to
    cmobd_md_obd() etc. Improved function (a bit smaller of code) wich looks for master.

- in memory leaks detector do not remove memory track in case of freeing memory chunk different
  of size. marking it instead as such to show in final log of leaks with special hint.

- fixes in lconf. COBD and CMOBD should use LMV and LOV devices with diffrent names to avoid
  issues in the case when both they run on the same node (like in test 45) and try to setup
  and clanup the same device twise (from lconf).

18 years ago- plugin handler should pass EXIT call in any case.
tappro [Mon, 11 Jul 2005 16:41:50 +0000 (16:41 +0000)]
- plugin handler should pass EXIT call in any case.

18 years agob=6817
alex [Mon, 11 Jul 2005 11:43:43 +0000 (11:43 +0000)]
b=6817
r=niu

 - memleak in lov_match() fixed: it didn't handle LDLM_FL_TEST_LOCK well

18 years ago- memleak in mds_create_objects():
alex [Mon, 11 Jul 2005 11:28:09 +0000 (11:28 +0000)]
- memleak in mds_create_objects():
  we should free ids array if an error is returned

18 years ago- dump log if memory leak observed
alex [Mon, 11 Jul 2005 11:05:19 +0000 (11:05 +0000)]
- dump log if memory leak observed

18 years agomove the initiation of fo_denylist/fo_denylist_lock from filter_setup to filter_commo...
wangchao [Mon, 11 Jul 2005 04:50:14 +0000 (04:50 +0000)]
move the initiation of fo_denylist/fo_denylist_lock from filter_setup to filter_common_setup

18 years agob=3984
alex [Sun, 10 Jul 2005 23:10:17 +0000 (23:10 +0000)]
b=3984

 - b_ldlm_newlocking landed. we need it to pass some CMD2 performance tests
   NOTE: the new locking rules introduced by the patch are still experimental!

18 years ago- drop reference for open replay data in mdc_commit_open() instead of
alex [Sun, 10 Jul 2005 23:05:06 +0000 (23:05 +0000)]
- drop reference for open replay data in mdc_commit_open() instead of
  mdc_commit_close() as in some cases we may have no close at all

18 years ago- out of date warning has been removed
alex [Sun, 10 Jul 2005 22:12:32 +0000 (22:12 +0000)]
- out of date warning has been removed

18 years ago- make 512-bytes inode size by default: with new EAs (fid, parent) we just
alex [Sun, 10 Jul 2005 22:07:43 +0000 (22:07 +0000)]
- make 512-bytes inode size by default: with new EAs (fid, parent) we just
  can't fit 256-bytes inodes

18 years ago- convert CWARN() to CDEBUG()
alex [Sun, 10 Jul 2005 20:38:42 +0000 (20:38 +0000)]
- convert CWARN() to CDEBUG()

18 years ago- we don't need deadlock-monitor in general series
alex [Sun, 10 Jul 2005 19:53:09 +0000 (19:53 +0000)]
- we don't need deadlock-monitor in general series

18 years agob=6817
alex [Sun, 10 Jul 2005 19:52:22 +0000 (19:52 +0000)]
b=6817

 - b_size_on_mds landed (prototype for CMD2 w/o recovery support on OST)

18 years ago- minor debug level change to have only DEBUG_REQ with D_RPCTRACE
alex [Sun, 10 Jul 2005 18:36:24 +0000 (18:36 +0000)]
- minor debug level change to have only DEBUG_REQ with D_RPCTRACE

18 years ago- update enqueue time upon lock conversion otherwise we get too long
alex [Sun, 10 Jul 2005 18:31:06 +0000 (18:31 +0000)]
- update enqueue time upon lock conversion otherwise we get too long
  enqueue wait time warning

18 years agomds_open() better to check permission even it's open request for device
ericm [Sun, 10 Jul 2005 05:17:51 +0000 (05:17 +0000)]
mds_open() better to check permission even it's open request for device
files, otherwise client vfs will check that and failed siliently which
cause request leak. (client's interaction with vfs seems not perfect --
can't handle all error cases)

18 years agotry to be a little bit more nice to remote use: as long as it be mapped
ericm [Sat, 9 Jul 2005 19:33:55 +0000 (19:33 +0000)]
try to be a little bit more nice to remote use: as long as it be mapped
to an local user, the supp groups of target usr will take part in fs
access checking.

18 years agoadjust gss timeout valud, don't use fixed value.
ericm [Sat, 9 Jul 2005 16:04:16 +0000 (16:04 +0000)]
adjust gss timeout valud, don't use fixed value.

18 years agoBranch HEAD
wangdi [Sat, 9 Jul 2005 03:19:27 +0000 (03:19 +0000)]
Branch HEAD
fix a typo in sanity-cmobd.sh

18 years ago- putting file fid into o_inline for cases when crow object may be created. It will...
yury [Fri, 8 Jul 2005 15:23:42 +0000 (15:23 +0000)]
- putting file fid into o_inline for cases when crow object may be created. It will be used later for storing into OSS object EA what is needed for quota.

18 years agob=6285
tappro [Fri, 8 Jul 2005 13:57:25 +0000 (13:57 +0000)]
b=6285
- remove few debug and LBUG()

18 years ago- cleanups in cobd and cmobd
yury [Fri, 8 Jul 2005 10:35:04 +0000 (10:35 +0000)]
- cleanups in cobd and cmobd
- moved cmobd's level in lconf to be under mountpoint. This prevents oops in local config when both cobd and cmobd are used and refer to the same master device.

18 years ago- using push_ctxt() and pop_ctxt() when setting uid/gid in filter_create_object(...
yury [Fri, 8 Jul 2005 07:29:45 +0000 (07:29 +0000)]
- using push_ctxt() and pop_ctxt() when setting uid/gid in filter_create_object() at Alex's suggest.

18 years ago - add things to /etc/modules.conf | /etc/modprobe.conf
jacob [Thu, 7 Jul 2005 21:43:41 +0000 (21:43 +0000)]
 - add things to /etc/modules.conf | /etc/modprobe.conf
 - tweaks to init scripts for SLES 9

18 years agouid == gid is no longer a valid assumption.
buffalo-pull [Thu, 7 Jul 2005 18:04:09 +0000 (18:04 +0000)]
uid == gid is no longer a valid assumption.

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