Whamcloud - gitweb
eeb [Tue, 11 Nov 2003 16:45:19 +0000 (16:45 +0000)]
* removed some more build warnings
eeb [Tue, 11 Nov 2003 16:21:56 +0000 (16:21 +0000)]
* reduced the number of warnings for liblustre compilation
ericm [Tue, 11 Nov 2003 10:05:28 +0000 (10:05 +0000)]
merge b_devel to b_eq:
20031111, for recent kernel patches updates.
adilger [Mon, 10 Nov 2003 16:01:27 +0000 (16:01 +0000)]
Despite Zach's assurances, it seems that conditional_schedule() is a
low-latency RHism, so define a compat macro for non-RH systems.
b=2227
ericm [Mon, 10 Nov 2003 10:45:40 +0000 (10:45 +0000)]
liblustre: temprorily add accepter installation, for Jerrifer build rpm.
ericm [Sat, 8 Nov 2003 15:22:46 +0000 (15:22 +0000)]
tcpnal: need exchange NID when tcp connection created, ksocknal now default
require this.
rread [Fri, 7 Nov 2003 21:45:46 +0000 (21:45 +0000)]
transparently convert '-' to '_' in command line options.
so, for example, you can use --write-conf if you want
rread [Fri, 7 Nov 2003 20:58:06 +0000 (20:58 +0000)]
- fix typo so replay-single test_32 runs again.
rread [Fri, 7 Nov 2003 18:56:51 +0000 (18:56 +0000)]
i really should make this a compile time option, at least.
rread [Fri, 7 Nov 2003 18:52:22 +0000 (18:52 +0000)]
- remove use of "lctl device_list" from lconf, now using
/proc/fs/lustre/devices
rread [Fri, 7 Nov 2003 18:52:21 +0000 (18:52 +0000)]
b=2225 fix obd_self_export issues
ericm [Fri, 7 Nov 2003 15:50:56 +0000 (15:50 +0000)]
merge b_devel to b_eq:
20031107
kernel passed sanity, but liblustre broken since lconf changes. need fix
by robert.
sice [Fri, 7 Nov 2003 08:22:16 +0000 (08:22 +0000)]
Add define of LCONF LMC LCTL in replay-dual.sh replay-single.sh replay-ost-single.sh test-framework.sh
rread [Fri, 7 Nov 2003 06:19:32 +0000 (06:19 +0000)]
Remind the user to use 'cfg_device' to set target device for config commands.
rread [Wed, 5 Nov 2003 08:35:46 +0000 (08:35 +0000)]
- change NETWORKTYPE to NETTYPE, and make sure it can be overridden.
rread [Wed, 5 Nov 2003 05:57:47 +0000 (05:57 +0000)]
r=2152
replay-single.sh now supports multiple nodes. The script must be run
on the client, but the mds, mdsfailover, and ost can all be different
nodes. If mdsfailover_HOST is set, then the MDS service will be
failed between the two mds nodes.
uml1# PDSH="pdsh -w" mds_HOST=uml2 ost_HOST=uml3 mdsfailover_HOST=uml4
./replay-single.sh
It still runs on a single node as before.
phil [Wed, 5 Nov 2003 00:47:41 +0000 (00:47 +0000)]
b=1028
Andreas pointed out that we already have a function obdo_from_inode,
and that we might as well pack all valid fields, and let the client
take what it can.
phil [Wed, 5 Nov 2003 00:00:19 +0000 (00:00 +0000)]
b=1028
r=zab
Return the object's block count from write requests, and store it in
the client inode.
adilger [Mon, 3 Nov 2003 23:41:32 +0000 (23:41 +0000)]
Don't do setattr after transaction handle has been committed.
Combine size and timestamp setattrs, and update size under i_sem.
Use client timestamps instead of server timestamps for files.
rread [Mon, 3 Nov 2003 07:00:17 +0000 (07:00 +0000)]
return the osc create grow counts to 2000, which sadly doesn't work
very well on my machine.
alex [Sat, 1 Nov 2003 11:48:07 +0000 (11:48 +0000)]
- filter_finish_transno() moved in filter_direct_io()
- fsfilt_commit_async() is called unconditionally in filter_direct_io()
rread [Fri, 31 Oct 2003 19:39:27 +0000 (19:39 +0000)]
land zcfg on devel
- includes changes from b_llogging
- the MDS -> LOV connection is created using the MDS config log, so the
log must exist. Lconf will create the log automatically when
--reformat is used. To create the config logs on an existing
filesystem, run lconf on the MDS with --write_conf. This only needs to
be done on the MDS.
- LOV does not connect to the MDS during setup. Instead, the MDS and
MDC use obd_get_info("lovdesc") to get the stripe info. The LOVDESC
and LOVTGTS files on the MDS are no longer used (and not created
on new filesystems.)
- Zeroconf clients are new support by lconf --zeroconf, and
replay-single.sh uses this to mount the client. The exact arguments
needed for zeroconf will be changing quickly, so don't use
lconf --zeroconf in other scripts yet. Instead, once the dust
clears, lconf will be changed to always do zeroconf mounts, and
eventually when don't need lconf anymore is when we start changing
the test scripts.
rread [Fri, 31 Oct 2003 18:50:49 +0000 (18:50 +0000)]
merge devel zcfg
rread [Fri, 31 Oct 2003 06:53:23 +0000 (06:53 +0000)]
merge devel zcfg
alex [Wed, 29 Oct 2003 22:38:26 +0000 (22:38 +0000)]
- async commit/wait API have been changed a bit. it used oti_handler, but
it must not
rread [Wed, 29 Oct 2003 19:35:58 +0000 (19:35 +0000)]
merge devel zcfg
shaver [Wed, 29 Oct 2003 17:35:57 +0000 (17:35 +0000)]
b=2200: perform delorphan recovery when an OST is reintegrated.
- use generic per-obd notification system
- relay LOV's notifications to MDS
- support running delorphan on only one OST, if an OST
UUID is specified
- suppress CERRORs and refailing for -EIO in interpret_create,
because we handle it more gracefully now
r=phik.
adilger [Wed, 29 Oct 2003 08:37:23 +0000 (08:37 +0000)]
Add extN compat.
wangdi [Wed, 29 Oct 2003 08:02:47 +0000 (08:02 +0000)]
Made a mistake in commit dsp.patch, just revert it, sorry
wangdi [Wed, 29 Oct 2003 07:52:31 +0000 (07:52 +0000)]
fix patch confilcts on dsp.patch for 2.4.20-rh kernel
ericm [Wed, 29 Oct 2003 05:14:23 +0000 (05:14 +0000)]
merge b_devel -> b_eq:
20031029
kerenl pass sanity.sh, liblustre is broken
youfeng [Wed, 29 Oct 2003 03:47:04 +0000 (03:47 +0000)]
b_2036
formats nids for readability, from "nid" to "nid (format)"
nid : using LPX64 everywhere
format : "%u:%d.%d.%d.%d" for IP NIDS (leading part iscluster ID)
"%u:%u" for non-IP NIDs (leading part is cluster ID)
niu [Wed, 29 Oct 2003 02:28:00 +0000 (02:28 +0000)]
b: 1990
r: Andreas
Padding record header to 64 bits size.
rread [Tue, 28 Oct 2003 21:46:17 +0000 (21:46 +0000)]
merge devel zcfg
This merge broke config llog, so this branch doesn't mount right now:
llog_write_rec()) ASSERTION((buflen %% LLOG_MIN_REC_SIZE) == 0)
alex [Tue, 28 Oct 2003 17:49:06 +0000 (17:49 +0000)]
- brown paper bug fixed: it seems I pressed dd randomly :(
alex [Tue, 28 Oct 2003 13:19:17 +0000 (13:19 +0000)]
- b2188: filter fixes: sync transaction, commit earlier
niu [Tue, 28 Oct 2003 09:29:05 +0000 (09:29 +0000)]
b: 1990
r: Andreas
Eliminate u8/u16 from log header, move padding from record header/tail to
record body.
niu [Mon, 27 Oct 2003 03:28:43 +0000 (03:28 +0000)]
b: 1990
r: Peter
* rewrite llog_cat_cancel_rec, zap the empty canceled plain log.
* add test: open & destroy plain log.
* add test: verify catalog log entries after cancel many many records.
braam [Sat, 25 Oct 2003 19:19:49 +0000 (19:19 +0000)]
- all obd operations should return int
- in the process capture a double free in a prep_async_page error case
in rw.c
- remove unused logging code
- add a mini fix from Tian to not fail in llog_obd_setup when
re-entering it.
rread [Fri, 24 Oct 2003 18:13:07 +0000 (18:13 +0000)]
merge1.sh devel zcfg
Resolved conflicts with Tian Ying's recent checkins. Also forced to
fix local export cleanup problem by adding an obd_init_export()
method. This is called from class_new_export(), and is for devices to
initialize their export data. Allos local (as opposed to network)
connections to be used and cleaned up correctly. Only
mds_init_export() implemented.
alex [Thu, 23 Oct 2003 21:42:40 +0000 (21:42 +0000)]
- trusted EAs support in ext3
- MAX_VERSION increase
green [Thu, 23 Oct 2003 20:18:30 +0000 (20:18 +0000)]
This is a bugfix for #1838. Most of the patch by A. Dilger, I only
propagated parental time change to all operations, not only mkdir.
shaver [Thu, 23 Oct 2003 20:11:35 +0000 (20:11 +0000)]
b=2150: handle ENOSPC encountered during precreation
r=zab
phil [Thu, 23 Oct 2003 18:46:03 +0000 (18:46 +0000)]
Back out a small LLP change: instead of deleting a bunch of files just
to re-create them, I was doing an initial OST create which includes
the initial set of precreated files. Stop doing that.
Those files might have a little data in them, or some might have been
created and removed already, and both of those are bad.
tianying [Thu, 23 Oct 2003 13:33:28 +0000 (13:33 +0000)]
b=2110
r=Peter
1.Unlink log record will be created when mds_reint_unlink, mds_mfd_close or mds_cleanup_orphans is called. And that record will be cancelled by MDS when it receives the commit callback for filter_destroy.
2.It resolves the resetup problem for lustre built with enable-orphans on.
3.It resolves the cleanup problem of mds when recovery procedure is abort.
adilger [Wed, 22 Oct 2003 16:49:25 +0000 (16:49 +0000)]
Add back hlist compatibility to lustre_compat25.h until we update the kernel
so Coop can continue testing at LLNL.
alex [Wed, 22 Oct 2003 11:30:56 +0000 (11:30 +0000)]
- remove .pc files
NOTE: please, use quilt
alex [Wed, 22 Oct 2003 10:59:37 +0000 (10:59 +0000)]
- listman patches against all supported series
- hlist defines removed from lustre_compat25.h
niu [Wed, 22 Oct 2003 02:28:20 +0000 (02:28 +0000)]
b: 1990
r: Peter
fix log process & cancel functions, add more tests for llog.
alex [Fri, 17 Oct 2003 14:45:38 +0000 (14:45 +0000)]
- fix against b2021
niu [Fri, 17 Oct 2003 11:58:14 +0000 (11:58 +0000)]
r: peter, phil
b: 1987
write log header and record header/tail in little endian.
rread [Fri, 17 Oct 2003 06:08:13 +0000 (06:08 +0000)]
- move lcfg init macro to a common location
alex [Thu, 16 Oct 2003 17:56:09 +0000 (17:56 +0000)]
- minor changes to run luster on 2.6
rread [Thu, 16 Oct 2003 01:00:46 +0000 (01:00 +0000)]
b=2131
Fix for routers with multiple gigE. I see several places now that
appear to do the same thing in different ways. :(
rread [Thu, 16 Oct 2003 00:44:02 +0000 (00:44 +0000)]
- fix llog_test so loads and runs again.
- clean up error case in class_config_parse_log
rread [Wed, 15 Oct 2003 23:55:25 +0000 (23:55 +0000)]
b=2111
r=peter
- most of this is Peter patch from 2111, including making sure
obd_log_exp is set once.
- my integration with 0conf
- add an obd method "obd_pre_cleanup" so the log export can be
disconnected, and allow the device to be fully cleaned up.
zab [Wed, 15 Oct 2003 23:39:24 +0000 (23:39 +0000)]
- silence the '__swab32' warnings by changing lustre_msg_swabbed() from
an inline in lustre_idl.h to a real function in pack_generic.c.
llog_log_swabbed() went along for the ride for the same reason, but
no one is using it.
zab [Wed, 15 Oct 2003 22:00:10 +0000 (22:00 +0000)]
trivial: remove the unused fd_ost_och member from ll_file_data
alex [Wed, 15 Oct 2003 18:45:56 +0000 (18:45 +0000)]
- fast ea patches go in all the supported series
shaver [Wed, 15 Oct 2003 00:17:04 +0000 (00:17 +0000)]
b=1067: permit mounting of clients when OSTs are missing.
Use --inactive <OST_UUID> on the lconf line to specify which OST(s) are
to be skipped. Don't do this on the MDS right now, though!
r=phik,robert
alex [Tue, 14 Oct 2003 15:57:53 +0000 (15:57 +0000)]
- netconsole.h missed #include <asm/dump.h>
- polling support for PCNet32 NIC (vmware4 emulates it)
alex [Tue, 14 Oct 2003 13:07:39 +0000 (13:07 +0000)]
- function prototype fo ext3_map_inode_page() in super.c was missing ';'
wangdi [Tue, 14 Oct 2003 11:57:04 +0000 (11:57 +0000)]
add kgdb_2.6.0_test6
ericm [Tue, 14 Oct 2003 10:41:39 +0000 (10:41 +0000)]
again merge b_devel to b_eq:
20031014
rread [Tue, 14 Oct 2003 00:04:53 +0000 (00:04 +0000)]
* move config log processing functions to obdclass.
rread [Mon, 13 Oct 2003 22:44:43 +0000 (22:44 +0000)]
msg
phil [Mon, 13 Oct 2003 22:31:02 +0000 (22:31 +0000)]
The pinger was deadlocking on itself, in some rare and improbably but
very real cases, so I reworked it to be simpler.
It's started once from ptlrpc_init now, and stopped once from ptlrpc_exit
Adding and deleting imports no longer causes the thread to be created
and go away. Most importantly, we no longer hold the sem in
stop_pinger across the wake_up and subsequent l_wait_event; if the
pinger thread was already doing something, blocked on the pinger_sem,
it would never wake up and deadlock would ensue.
phil [Sat, 11 Oct 2003 21:55:51 +0000 (21:55 +0000)]
b=2104
- make sure to clear all pointers when various structures are freed
- if mdc_close can't find the mdc_open_data, then it should expect the close
RPC to fail; if it doesn't, print a stern warning
- Adds replay-single test 32, testing both the case where the close() is the
RPC that detects the eviction (-EIO) and the case where the close() runs
afterwards (-ESTALE)
ericm [Sat, 11 Oct 2003 11:18:07 +0000 (11:18 +0000)]
fix liblustre config process. new config code cause some problems to
liblustre, now it's only a workaround.
wangdi [Fri, 10 Oct 2003 10:48:04 +0000 (10:48 +0000)]
A better way to fix the 2.6 build errors in llite_nfs.c
ericm [Fri, 10 Oct 2003 09:32:02 +0000 (09:32 +0000)]
merge b_devel to b_eq:
20031010
kernel only
cvs2svn [Fri, 10 Oct 2003 09:20:11 +0000 (09:20 +0000)]
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.1.4'.
phil [Thu, 9 Oct 2003 19:18:19 +0000 (19:18 +0000)]
b=1852
If we leave revalidate_it by returning 0, thus causing a lookup_it call which
re-uses the same request, then we shouldn't drop our reference on the request.
In the past, we accounted for this by doing an addref in mdc_intent_lock in the
-ESTALE case, but this was wrong. That was just one of many ways that we can
leave revalidate and enter lookup, and this patch fixes that whole class of
erroneous decrefs.
wangdi [Thu, 9 Oct 2003 15:31:22 +0000 (15:31 +0000)]
add kgdb_2.6.0_test6 series
wangdi [Thu, 9 Oct 2003 15:20:19 +0000 (15:20 +0000)]
file vfs_nointent_2.6.0-test6.patch was initially added on branch b_devel.
wangdi [Thu, 9 Oct 2003 15:20:18 +0000 (15:20 +0000)]
file vfs_intent_2.6.0-test6.patch was initially added on branch b_devel.
wangdi [Thu, 9 Oct 2003 15:20:17 +0000 (15:20 +0000)]
file iopen-2.6.0-test6.patch was initially added on branch b_devel.
wangdi [Thu, 9 Oct 2003 15:20:16 +0000 (15:20 +0000)]
file export_symbols-2.6.0-test6.patch was initially added on branch b_devel.
wangdi [Thu, 9 Oct 2003 15:15:01 +0000 (15:15 +0000)]
file kexec-2.6.0-test6-full.patch was initially added on branch b_devel.
wangdi [Thu, 9 Oct 2003 15:11:12 +0000 (15:11 +0000)]
file lkcd-kernel-changes-2.6.0-test6.patch was initially added on branch b_devel.
wangdi [Thu, 9 Oct 2003 15:04:25 +0000 (15:04 +0000)]
file lkcd-cvs-2.6.0-test6.patch was initially added on branch b_devel.
wangdi [Thu, 9 Oct 2003 14:51:32 +0000 (14:51 +0000)]
file 2.6.0-test6-mm4.patch was initially added on branch b_devel.
wangdi [Thu, 9 Oct 2003 14:35:34 +0000 (14:35 +0000)]
file Makefile.mk was initially added on branch b_devel.
mfrey [Thu, 9 Oct 2003 13:59:36 +0000 (13:59 +0000)]
file qos.sh was initially added on branch b_qos.
mfrey [Thu, 9 Oct 2003 13:59:35 +0000 (13:59 +0000)]
file qos-config.sh was initially added on branch b_qos.
eeb [Thu, 9 Oct 2003 09:33:45 +0000 (09:33 +0000)]
* Fixed 2098
braam [Thu, 9 Oct 2003 09:08:03 +0000 (09:08 +0000)]
- a reworking of the llog api's that propagate cookies and records
through the obd stack. See section 1.4 in the llogapi.lyx file for
details.
braam [Thu, 9 Oct 2003 09:08:01 +0000 (09:08 +0000)]
file llog_internal.h was initially added on branch b_devel.
alex [Wed, 8 Oct 2003 11:11:54 +0000 (11:11 +0000)]
file ext3-ea-in-inode-2.4.22-rh.pc was initially added on branch b_devel.
alex [Wed, 8 Oct 2003 11:11:46 +0000 (11:11 +0000)]
file ext3-ea-in-inode-2.4.22-rh.patch was initially added on branch b_devel.
alex [Wed, 8 Oct 2003 10:55:12 +0000 (10:55 +0000)]
- patch corrected to be compliant with new extN-wantedi.patch
alex [Wed, 8 Oct 2003 10:03:08 +0000 (10:03 +0000)]
file nfs_export_kernel-2.4.22-rh.pc was initially added on branch b_devel.
alex [Wed, 8 Oct 2003 10:03:07 +0000 (10:03 +0000)]
file nfs_export_kernel-2.4.22-rh.patch was initially added on branch b_devel.
alex [Wed, 8 Oct 2003 09:26:29 +0000 (09:26 +0000)]
- last nfs_export patch
- FS_NFSEXP_FSID flag is put into lustre_lite_fs_type as proposed
- patch ported against hp-pnnl-2.4.20 and rh-2.4.20 series
NOTE: please, don't forget to re-apply nfs_export_kernel* patch
alex [Wed, 8 Oct 2003 09:26:27 +0000 (09:26 +0000)]
file nfs_export_kernel-2.4.20-rh.pc was initially added on branch b_devel.
alex [Wed, 8 Oct 2003 09:26:26 +0000 (09:26 +0000)]
file nfs_export_kernel-2.4.20-hp.pc was initially added on branch b_devel.
alex [Wed, 8 Oct 2003 09:26:25 +0000 (09:26 +0000)]
file nfs_export_kernel-2.4.20-rh.patch was initially added on branch b_devel.
alex [Wed, 8 Oct 2003 09:26:24 +0000 (09:26 +0000)]
file nfs_export_kernel-2.4.20-hp.patch was initially added on branch b_devel.
rread [Wed, 8 Oct 2003 07:07:12 +0000 (07:07 +0000)]
landing b_lcfg to b_devel
- llog network api for processing the log from the client
- config messages changed to use struct lustre_cfg and struct
portals_cfg
- lctl record options save config messages to log on the mds
- ll_fill_super supports fetching the log and replaying to setup
the devices needed for mount.
- small changes to lctl interface to support new config protocol.
- newdev is now a no-op.
- cfg_device <device name> is used to set the target device for
detach and cleanup.
rread [Wed, 8 Oct 2003 06:33:13 +0000 (06:33 +0000)]
merge devel to lcfg