Whamcloud - gitweb
zab [Thu, 23 Jan 2003 19:09:24 +0000 (19:09 +0000)]
- add fs_sink filter method which blocks until the backing filter is synced.
ext* uses ext*_force_commit, reiser is unimplemented
- add /proc/sys/lustre/filter_sync_on_commit tunable, disabled by default.
when enabled it calls the filter sync after each filter_commitrw for write
adilger [Wed, 22 Jan 2003 07:24:55 +0000 (07:24 +0000)]
Remove some obsolete code from fsfilt_extN - there is no way we can live
without patching the kernel, so no point in having this compatibility
code there anymore.
Make fsfilt_ext3.c report a compile error until it is updated with the
many changes in fsfilt_extN.c.
braam [Tue, 14 Jan 2003 19:30:39 +0000 (19:30 +0000)]
no longer needed after Robert's fixes
adilger [Sat, 11 Jan 2003 23:00:28 +0000 (23:00 +0000)]
Allow non-local config to be specified.
adilger [Fri, 3 Jan 2003 23:49:20 +0000 (23:49 +0000)]
ia64 fixups
rread [Fri, 3 Jan 2003 19:38:32 +0000 (19:38 +0000)]
* another quick patch to fix 1.5.x
rread [Fri, 3 Jan 2003 19:24:14 +0000 (19:24 +0000)]
* fix for python 1.5.x, but causes ugly deprecation error on 2.2
adilger [Fri, 3 Jan 2003 18:41:26 +0000 (18:41 +0000)]
Remove ll_pack.c from being included into basically every module, and make
it an exported function from obdclass. This also solves the dependency
problem with fsfilt_extN and fsfilt_reiserfs for these functions (b=570).
rread [Fri, 3 Jan 2003 06:30:09 +0000 (06:30 +0000)]
* fix a potential deadlock in the child handling code that seemd to be
causing problems on uml recently. Went on Safari and found
idea for fix in the Python Cookbook.
* die gracefully if an non-config-looking file is passed on command line. (ie,
like when I type ../utils/lconf lov.sh 5x a day.)
rread [Tue, 31 Dec 2002 00:53:20 +0000 (00:53 +0000)]
* support mutlitple mds with one uuid (539)
lmc --add mds --mds mds1 --node hostA ...
lmc --add mds --mds mds1 --node hostB ...
Creates two different mdsdev in the config, and one mds. The lovconfig
reference is now attached to the mds service instead of the node, so both
mdsdevs can configure the LOVs.
Needless to say, the xml format has changed yet again, so
regenerate those configs.
shaver [Mon, 30 Dec 2002 21:10:29 +0000 (21:10 +0000)]
- Add extN select-inum-for-allocation support, and use it to make recovery-time
inode creation more deterministic.
- Test program and ioctl for the aforementioned wantedi support.
- Don't send MSG_LAST_REPLAY with the last-replayed lock. Really. I mean it
this time.
- Some transno-reintegration CERROR removal, because the 9600bps conman on dev
cramps the style of 300-transaction replays something fierce.
- Sync after every integrated transaction, so that we make forward progress
in case of interrupted recovery. (This will be replaced by the handle->h_sync
fix foreshadowed in fsfilt_extN_commit.)
- Reuse reply_md.start instead of the likely-NULL rq_repmsg when resending reqs.
- Requests without transnos should be ERESTARTed _never_, not _always_.
rread [Fri, 27 Dec 2002 22:46:26 +0000 (22:46 +0000)]
new dir ./conf
- move the DTD to conf
- add ldap configs to conf
change lconf arg --ldapserver to --ldapurl
rread [Fri, 27 Dec 2002 21:47:58 +0000 (21:47 +0000)]
* create an abstract data access model in lconf
* implement support for retrieving config from ldap
* simply config structures, mostly by flattening embeded structures and
changing names to be consistent.
* the DTD once again closely resembles the output of lmc
Existing lmc scripts will not need to be changed, but all xml files will need
to be regenerated.
pschwan [Thu, 26 Dec 2002 21:26:25 +0000 (21:26 +0000)]
b=564
committed efelix's patch to avoid loading fsfilt_* when not necessary
adilger [Thu, 26 Dec 2002 10:29:36 +0000 (10:29 +0000)]
Damn CVS ate my nice long comment...
Changes related to "fast" LOV stripe MD storage on the MDS:
- Store small MD data inside the inode to avoid an extra seek. We don't need
the super-hack of overloading the inode delete method like we did before,
because we don't store the file size on the MDS any more, which means we
don't truncate the fake blocks from the file on unlink.
- Don't send size updates to MDS to avoid needless RPC and also avoid messing
with MD data in inode per above.
- Reduce MDS MD size by removing redundant fields and reducing the size of
others, so that it is more likely we can fit this data into the inode. We
can use the lmm_magic field to determine different stripe types, which will
probably need different data fields anyways.
This changes the ioctl interface, so I probably should create a lov_user_md
struct again, now that lov_setstripe() iocontrol exists.
- Pack MDS MD data only up to the last-allocated OST index, to make it smaller.
- Change lov_create() OST selection code (per bug 470). This wasn't strictly
related to this change, but it was in my tree and overlapping and I didn't
want to re-do the changes. It seems to work, and it will help us handle
errors that happen just at the wrong time (and also OSTs with no space/objs).
- Check MD input data more carefully.
pschwan [Mon, 23 Dec 2002 23:47:25 +0000 (23:47 +0000)]
lconf now aborts with a helpful message if the dd fails, instead of
waiting until it can't create the filesystem
adilger [Sun, 22 Dec 2002 00:27:44 +0000 (00:27 +0000)]
Remove unneeded headers from fsfilt.c - they are needed onlyin fsfilt_extN.c.
pschwan [Fri, 20 Dec 2002 20:16:14 +0000 (20:16 +0000)]
avoid setting timeout to zero
pschwan [Fri, 20 Dec 2002 19:07:18 +0000 (19:07 +0000)]
merge HEAD into b_md
cvs2svn [Thu, 19 Dec 2002 08:29:13 +0000 (08:29 +0000)]
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.2.4'.
rread [Thu, 19 Dec 2002 08:29:06 +0000 (08:29 +0000)]
* New LMC Interface
* and assorted cleanups
rread [Thu, 19 Dec 2002 05:56:32 +0000 (05:56 +0000)]
file cobd.sh was initially added on branch b_config.
rread [Thu, 19 Dec 2002 02:27:38 +0000 (02:27 +0000)]
* updated to reflect changes in how lmc was implemented. (easier to fix documentation
than code)
rread [Wed, 18 Dec 2002 23:59:02 +0000 (23:59 +0000)]
* update HEAD to b_config
eeb [Wed, 18 Dec 2002 21:56:41 +0000 (21:56 +0000)]
file obd_cache.h was initially added on branch b_md.
eeb [Wed, 18 Dec 2002 21:56:39 +0000 (21:56 +0000)]
file lproc_cache.c was initially added on branch b_md.
eeb [Wed, 18 Dec 2002 21:56:38 +0000 (21:56 +0000)]
file cache_obd.c was initially added on branch b_md.
eeb [Wed, 18 Dec 2002 21:56:37 +0000 (21:56 +0000)]
file Makefile.am was initially added on branch b_md.
eeb [Wed, 18 Dec 2002 21:56:36 +0000 (21:56 +0000)]
file .cvsignore was initially added on branch b_md.
sravi [Wed, 18 Dec 2002 12:17:00 +0000 (12:17 +0000)]
file lustreLdap.py was initially added on branch b_ravi_devel.
rread [Wed, 18 Dec 2002 02:24:21 +0000 (02:24 +0000)]
* initialize src_dir to '', should fix 528
nfshp [Tue, 17 Dec 2002 13:19:08 +0000 (13:19 +0000)]
merge HEAD to b_io branch. (seems quite a large changes from
b_md and b_recover)
pschwan [Tue, 17 Dec 2002 07:27:01 +0000 (07:27 +0000)]
remove dead directory 'patches' from EXTRA_DIST
pschwan [Tue, 17 Dec 2002 07:24:46 +0000 (07:24 +0000)]
land Andreas's sanity.sh symlink test fix
pschwan [Tue, 17 Dec 2002 06:19:37 +0000 (06:19 +0000)]
move patch-2.4.18-chaos22 (aka EXTN_FIXES) to extN/
pschwan [Tue, 17 Dec 2002 05:50:04 +0000 (05:50 +0000)]
land b_md onto HEAD. almost entirely small cleanups and miscellaneous fixes,
plus:
- fix lock order deadlock on OST (O/R i_sem before journal ops, 478)
- fix follow_symlink bugs (437)
- preparation for some ldlm race fixes (419)
braam [Tue, 17 Dec 2002 05:44:32 +0000 (05:44 +0000)]
- series file for Chaos kernel.
pschwan [Mon, 16 Dec 2002 20:57:38 +0000 (20:57 +0000)]
remove obsolete 'patches' directory from HEAD
cvs2svn [Mon, 16 Dec 2002 17:01:14 +0000 (17:01 +0000)]
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.2.4'.
braam [Mon, 16 Dec 2002 17:01:10 +0000 (17:01 +0000)]
- Phil's intent fix for middle of symlink lookups.
- Update version
shaver [Mon, 16 Dec 2002 02:04:25 +0000 (02:04 +0000)]
Land b_recovery (other than WIP lock-replay work).
- b=512,others: fully reactivate OST imports after reconnection.
- b=513(partial): make sure client sees out -ENOTCONN from mds_handle
- b=515: more graceful error handling for truncating on dead OST
- b=474: don't error out just because a file is striped across a dead OST; only
if we actually try to access it
- b=410: fix garbage sizes when stat(2)ing a file that includes a stripe on a
dead OST
- print console diagnostic for completion-timeout client recovery
- MSG_RESENT for requests that were retransmitted
braam [Mon, 16 Dec 2002 01:17:16 +0000 (01:17 +0000)]
- add more patch series files. We have now obsoleted most of the
patches directory with the new regime.
hitao [Sun, 15 Dec 2002 07:40:12 +0000 (07:40 +0000)]
file lin-2.5.44.txt was initially added on branch b_lin25.
hitao [Sun, 15 Dec 2002 07:40:11 +0000 (07:40 +0000)]
file lin-2.5.44 was initially added on branch b_lin25.
hitao [Sun, 15 Dec 2002 07:40:10 +0000 (07:40 +0000)]
file lin-2.5.44.pc was initially added on branch b_lin25.
hitao [Sun, 15 Dec 2002 07:40:09 +0000 (07:40 +0000)]
file lin-2.5.44.patch was initially added on branch b_lin25.
shaver [Sat, 14 Dec 2002 23:09:35 +0000 (23:09 +0000)]
Updating from HEAD, in preparation for landing.
pschwan [Sat, 14 Dec 2002 19:40:17 +0000 (19:40 +0000)]
land b_md onto HEAD. the highlights:
- fstat didn't correctly synchronize attributes (399)
- server must handle lock cancellation during blocking AST prep (487)
- bulk descriptors were free()d too soon (511)
- fix paths in lconf, which would load incorrect modules (451, 507)
- fix confusing lconf 'host not found' error message (386)
braam [Sat, 14 Dec 2002 13:56:10 +0000 (13:56 +0000)]
- this time added with -ko
braam [Sat, 14 Dec 2002 13:55:13 +0000 (13:55 +0000)]
- redo the addition of the patch, forgot -ko
braam [Sat, 14 Dec 2002 13:43:37 +0000 (13:43 +0000)]
add patch fixups for Red Hat 2.4.18-18.8.0 kernel
thantry [Sat, 14 Dec 2002 02:49:44 +0000 (02:49 +0000)]
file llparser.pm was initially added on branch b_intel.
shorthair [Thu, 12 Dec 2002 14:11:26 +0000 (14:11 +0000)]
file lustre-2.5-from811-812.patch was initially added on branch b_lin25.
shorthair [Thu, 12 Dec 2002 14:11:25 +0000 (14:11 +0000)]
file lustre-2.5-from809-812.patch was initially added on branch b_lin25.
nfshp [Thu, 12 Dec 2002 12:53:09 +0000 (12:53 +0000)]
file iod.c was initially added on branch b_io.
pschwan [Wed, 11 Dec 2002 16:21:47 +0000 (16:21 +0000)]
backout #2
narasimd [Wed, 11 Dec 2002 06:53:25 +0000 (06:53 +0000)]
Merging to head, BUG#405
yanhao [Wed, 11 Dec 2002 01:07:56 +0000 (01:07 +0000)]
yanhao: check in again for bug 461 wrong path in lconf
pschwan [Tue, 10 Dec 2002 16:36:30 +0000 (16:36 +0000)]
Back out yanhao's configure.in change -- this broke the build, and belongs
on a branch, please be more careful.
yanhao [Tue, 10 Dec 2002 15:50:38 +0000 (15:50 +0000)]
yanhao: fix the bug 461 wrong paths in lconf
fix the bug 386 lconf error message confusing
yanhao [Tue, 10 Dec 2002 15:50:35 +0000 (15:50 +0000)]
file lconf.in was initially added on branch b_md.
amrutjoshi [Tue, 10 Dec 2002 11:39:08 +0000 (11:39 +0000)]
Needed more fixes to path
amrutjoshi [Tue, 10 Dec 2002 11:20:56 +0000 (11:20 +0000)]
Fixed the file name
adilger [Tue, 10 Dec 2002 08:25:57 +0000 (08:25 +0000)]
file lustre_fsfilt.h was initially added on branch b_md.
adilger [Tue, 10 Dec 2002 08:25:56 +0000 (08:25 +0000)]
file fsfilt_extN.c was initially added on branch b_md.
adilger [Tue, 10 Dec 2002 08:25:55 +0000 (08:25 +0000)]
file fsfilt_ext3.c was initially added on branch b_md.
adilger [Tue, 10 Dec 2002 08:25:54 +0000 (08:25 +0000)]
file fsfilt.c was initially added on branch b_md.
braam [Tue, 10 Dec 2002 08:16:01 +0000 (08:16 +0000)]
fix the pathnames in the patch
eeb [Mon, 9 Dec 2002 21:50:22 +0000 (21:50 +0000)]
file checkstat.c was initially added on branch b_md.
braam [Sun, 8 Dec 2002 10:01:53 +0000 (10:01 +0000)]
- remove the README file Zach wrote. I placed it on the project wiki
- add two initial patches for 2.5 as in use with 2.5.44
- these require breaking up in components etc as Zach suggests
yanhao [Sun, 8 Dec 2002 06:15:14 +0000 (06:15 +0000)]
*** empty log message ***
zab [Sat, 7 Dec 2002 00:21:14 +0000 (00:21 +0000)]
- bring in akpm's patch management scripts and a first cut at
patch-2.4.18-14 and patch-2.4.18-um against 2.4.18-17.8.0. the README
should hopefully make it clear how these are intended to be used. email
to follow.
pschwan [Fri, 6 Dec 2002 10:19:14 +0000 (10:19 +0000)]
Update the IA-64 patch
cvs2svn [Fri, 6 Dec 2002 10:11:39 +0000 (10:11 +0000)]
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.2.4'.
pschwan [Fri, 6 Dec 2002 10:11:13 +0000 (10:11 +0000)]
merge b_md into HEAD:
- lfind did not preserve OST order in output (443)
- symlinks cause hung clients, incorrect data (439)
- stop dereferencing request after dropping refcount (457)
- don't LASSERT(spin_is_locked) on non-SMP (455)
- fixes for many rename() bugs
morrone [Fri, 6 Dec 2002 01:26:50 +0000 (01:26 +0000)]
Removed all files in this tree, I goofed on the import
morrone [Fri, 6 Dec 2002 01:15:13 +0000 (01:15 +0000)]
This commit was generated by cvs2svn to compensate for changes in r5101,
which included commits to RCS files with non-trunk default branches.
morrone [Fri, 6 Dec 2002 01:15:13 +0000 (01:15 +0000)]
First checkin of auto-test buffalo scripts
braam [Thu, 5 Dec 2002 14:48:19 +0000 (14:48 +0000)]
file multifstat.c was initially added on branch b_md.
eeb [Thu, 5 Dec 2002 14:22:12 +0000 (14:22 +0000)]
file patch-2.4.18-hp1_pnnl18.2.8qsnet was initially added on branch b_md.
pschwan [Thu, 5 Dec 2002 08:42:29 +0000 (08:42 +0000)]
land b_md onto HEAD:
- LRU counters were broken, causing constant lock purge (433, 432)
- the first part of the fixes for the ldlm_handle2lock race (419)
- cleanup unused ll_inode_info field (442)
- keep ioctl semaphore from serializing test_getattr/brw
braam [Thu, 5 Dec 2002 07:54:26 +0000 (07:54 +0000)]
file local2-hack.xml was initially added on branch b_md.
braam [Thu, 5 Dec 2002 07:54:25 +0000 (07:54 +0000)]
file llmount2-hackcleanup.sh was initially added on branch b_md.
braam [Thu, 5 Dec 2002 07:54:24 +0000 (07:54 +0000)]
file sanityN.sh was initially added on branch b_md.
shaver [Thu, 5 Dec 2002 00:31:32 +0000 (00:31 +0000)]
Landing b_recovery.
b=441: garbage on read from stripes with failed OSTs.
b=438: mark OSCs as active before reconnecting during recovery.
b=403: lov_enqueue and lov_cancel need to handle inactive OSTs
sravi [Wed, 4 Dec 2002 14:13:21 +0000 (14:13 +0000)]
file genXml was initially added on branch b_ravi_devel.
pschwan [Wed, 4 Dec 2002 03:15:15 +0000 (03:15 +0000)]
b=442
Remove lli_intent_lock_handle that none of us seem to have an explanation for.
adilger [Mon, 2 Dec 2002 18:06:14 +0000 (18:06 +0000)]
Fix typo in acceptance-small.sh
adilger [Mon, 2 Dec 2002 08:43:34 +0000 (08:43 +0000)]
Update for new release
adilger [Mon, 2 Dec 2002 08:39:50 +0000 (08:39 +0000)]
Merge of b_md to HEAD:
- fixes of many metadata bugs:
- multiple client file opens
- missing/extra intent releases
- symlink fixes
- OST/MDS server threads clobbering each other
- dbench 2 works mostly
- many others too numerous to mention here (ChangeLog is a good record)
adilger [Sun, 1 Dec 2002 22:39:02 +0000 (22:39 +0000)]
Remove this .xml file yet one more time.
adilger [Sun, 1 Dec 2002 22:36:51 +0000 (22:36 +0000)]
Ignore all generated .xml files.
adilger [Sun, 1 Dec 2002 22:32:10 +0000 (22:32 +0000)]
Fix ba-mount.sh so that it saves the config in $config instead of config.
Remove explicit port number.
adilger [Sun, 1 Dec 2002 22:21:44 +0000 (22:21 +0000)]
Fix compile warnings (hopefully nothing else is missing...)
shaver [Sun, 1 Dec 2002 03:47:10 +0000 (03:47 +0000)]
Landing b_lock_replay so that Phil can use my ldlm iterators and whatnot for his
upcoming locking work.
Highlights:
- lock replay infrastructure (needs much more testing, but didn't regress
anything outside recovery)
- b=421: ldlm iterators
- b=348: imports now have service levels, replacing connections' c_level
- replace c_delayed_head with imp_delayed_list
- split imp_request_list into imp_replay_list for retained requests and
imp_sending_list for inflight reqs
- as a side-effect, clean up rq_refcount story materially
- client-side recovery is now dispatched via a per-import handler function,
for better layering and modularity
- wire imports up to recovery before attempting mounts, for better handling of
mount-time failures
shaver [Thu, 28 Nov 2002 20:21:24 +0000 (20:21 +0000)]
Landing of b_recovery (at last).
Highlights:
- b=324: MDS recovery must replay transactions in strict transno sequence
- b=325: getattr after OST failure returns -EIO
- b=326: unlink after OST failure returns -EIO
- b=400: new client can't join cluster after OST failure
- b=403: multi-client access failure when OST fails
- b=410: After an OST failure, lfind incorrectly displays file information
- b=417: Freeing unreplayable requests twice (aed's fix from b_md)
- b=402: (partial) give error for lstripe request that exceeds configured OSTs
- much better support for reconnecting to MDS after network partition
(still some lock-repeating issues to be resolved for some requests)
- better support for connecting to multiple MDSes on one host (xid and
transno and request_list are all per-import now)
- track disconnecting clients in last_rcvd, for more reliable recovery
- also, sync last_rcvd after connect/disconnect
- reduced syslog/CERROR output for recovery (hi, Terry!)
- server (DLM) timeout is half the system-wide timeout, to avoid cascading
failure in the face of a dead client
- don't wait for recovery to finish in order to send disconnect messages
- removal of c_dying_head
- don't wait for timeout to trigger recovery after ptl_send_rpc error
- strict MDS transno ordering via mds_transno_sem (non-optimal, but correct)
- many !handle -> IS_ERR(handle) fixes around mds_fs_start callers.
- turn on client-eviction for bulk-timeouts in OST and MDS
braam [Tue, 26 Nov 2002 20:59:42 +0000 (20:59 +0000)]
file llmountcleanup2-hack.sh was initially added on branch b_md.
braam [Tue, 26 Nov 2002 20:59:41 +0000 (20:59 +0000)]
file llmount2-hack.sh was initially added on branch b_md.
braam [Mon, 25 Nov 2002 22:20:33 +0000 (22:20 +0000)]
file setuid.c was initially added on branch b_md.
adilger [Mon, 25 Nov 2002 20:26:02 +0000 (20:26 +0000)]
Whitespace.