Whamcloud - gitweb
adilger [Sun, 16 Nov 2003 23:18:42 +0000 (23:18 +0000)]
Sigh, patch I had submitted (which I grabbed) was not what was added to tree
(minor changes from SCT on the way).
adilger [Sun, 16 Nov 2003 23:01:14 +0000 (23:01 +0000)]
Slight context diff for journal callback patch from vanilla, add to suse series.
adilger [Sun, 16 Nov 2003 22:55:54 +0000 (22:55 +0000)]
Add journal callback patch for SuSE 2.4.19 ia64 kernel (in vanilla 2.4.20).
adilger [Sun, 16 Nov 2003 22:08:54 +0000 (22:08 +0000)]
New patch files for SuSE 2.4.19 ia64 kernel as used by SDSC. Mostly cosmetic
except vfs_intent still used the old-style path_init()/path_walk(), and it
already had EA patches applied.
adilger [Sun, 16 Nov 2003 21:59:19 +0000 (21:59 +0000)]
New series for SuSE-2.4.19 ia64 kernel for SDSC machines.
adilger [Sun, 16 Nov 2003 21:43:24 +0000 (21:43 +0000)]
Remove gratuitous newline hunk, which causes a conflict on SuSE-2.4.19.
eeb [Sun, 16 Nov 2003 17:45:55 +0000 (17:45 +0000)]
* Plugged a spurious timeout hole
alex [Sun, 16 Nov 2003 16:40:30 +0000 (16:40 +0000)]
- lightly-tested, undocumented debuggin tool to catch use-after-free bugs
NOTE: documentation will be available soon
rread [Sat, 15 Nov 2003 01:17:52 +0000 (01:17 +0000)]
b=2250
create lctl commands set_lustre_upcall and set_timeout, so they
can be saved as part of the 0conf log.
rread [Sat, 15 Nov 2003 01:05:26 +0000 (01:05 +0000)]
on hardware, the script runs too fast for these multiops to die, cause
the /mnt/lustre to be busy. So, have test 32 cause recovery on the client and wait
a bit before finishing.
rread [Fri, 14 Nov 2003 23:55:42 +0000 (23:55 +0000)]
- Don't wake up the pinger, if it's not enabled
adilger [Fri, 14 Nov 2003 23:09:31 +0000 (23:09 +0000)]
Make sure lwt_event_t packs into a page evenly on ia64.
adilger [Fri, 14 Nov 2003 23:03:25 +0000 (23:03 +0000)]
Some more wire constant checks.
b=1321
rread [Fri, 14 Nov 2003 22:32:24 +0000 (22:32 +0000)]
More test cleanups.
rread [Fri, 14 Nov 2003 22:04:23 +0000 (22:04 +0000)]
Wake up the pinger after adding an import, to reset the timer.
adilger [Fri, 14 Nov 2003 21:49:34 +0000 (21:49 +0000)]
Re-add lgd_len in case it is needed at some point (conflict resolution error).
b=1821
rread [Fri, 14 Nov 2003 20:52:11 +0000 (20:52 +0000)]
- remove reference to lgd_len, which has disappeared
adilger [Fri, 14 Nov 2003 20:12:30 +0000 (20:12 +0000)]
Interoperability for different PAGE_SIZE/wordsize machines. Tested on ia64
and i386 separately, and with ia64 client + i386 MDS/OST.
Mostly aligning structs to have 64-bit fields aligned on 64-bit boundaries.
Remove some VFS constants and replace them with Lustre constants on the wire.
Since the MDS doesn't really open files itself, we don't need to convert from
the wire constants back to local flags at all.
Frobbing of niobufs on the targets to split them into PAGE_SIZE chunks (this
may be a problem on large PAGE_SIZE servers with small PAGE_SIZE clients,
not sure yet).
I have tested and this appears to be compatible with old filesystems.
At worst we should only need another --write_conf on the MDS.
b=686, b=1821, b=1343, b=2042
adilger [Fri, 14 Nov 2003 19:27:01 +0000 (19:27 +0000)]
Use PTL_MD_MAX_PAGES instead of PTL_MD_MAX_IOV where needed, so we send the
right number of pages over the wire for ia64/i386 interoperability.
b=1821
ericm [Fri, 14 Nov 2003 15:05:48 +0000 (15:05 +0000)]
liblustre: update lrun script.
ericm [Fri, 14 Nov 2003 11:13:26 +0000 (11:13 +0000)]
liblustre:
add more test items into replay_single.
ericm [Fri, 14 Nov 2003 09:37:33 +0000 (09:37 +0000)]
liblustre: add more test in replay_single, and some other adjustment.
phil [Fri, 14 Nov 2003 09:24:31 +0000 (09:24 +0000)]
I touched one thing in lustre_mds.h, and I was dismayed to see the
entire source tree rebuild!
It took just a few minutes to remove a number of #includes which
violated all manner of abstraction boundary. ericm assures me that I
have not broken anything major in liblustre.
Also, I moved a good chunk of inline functions into llite_internal.h
(which is where I secretly believe that most of lustre_lite.h will end up),
and renamed ll_ino2fid (which no longer takes an inode) to mdc_pack_fid.
rread [Fri, 14 Nov 2003 01:12:31 +0000 (01:12 +0000)]
- fix del_route
alex [Thu, 13 Nov 2003 20:49:31 +0000 (20:49 +0000)]
- update this patch to apply against vanilla-2.4.22
zab [Thu, 13 Nov 2003 20:21:48 +0000 (20:21 +0000)]
Silence most of the warnings in the x86_64 build, and kill some Real Bugs in
the process. (sanity checked in an x86 uml build, as well)
- include linux/init.h from some modules that use __init and company
- x86_64 has 64 bit longs but uses 'long long' for u64 in the kernel. we
add its own specific section to LP*64 definitions. Sadly, there are still
a huge number of warnings from this gcc when we try to LP*64 print uint64_t
obdo arguments.
- use min_t in some defines to avoid the duplicate const prefacing that comes
with nesting min()
- LPX64 printing -1UL doesn't work so well
- i_nlink can be any of unsigned short, int, or long. when printing cast
to unsigned long.
- kern_addr_valid takes a 'unsigned long' argument and shifts it.. sigh.
- don't #define EXPORT_SYMTAB in the source, that's the job of the kernel
makefiles
- x86_64/suse has THREAD_SIZE defined in userspace
- s/long flags/unsigned long flags/. Again.
- va_list ap = NULL; is not legal, as far as I know. it doesn't seem
to actually do anything in this code path either.
- x86_64 passes CONFIG_X86 but had thread->rsp as the stack pointer. this
code is going away eventually anyway.
- print a pointer with %p, not %x
- some portals callback pointer definitions used size_t while some nal's
functions used ptl_size_t in the function defintions. I switched the
functions over to avoid pushing changes on all the nals.
alex [Thu, 13 Nov 2003 15:30:09 +0000 (15:30 +0000)]
- ide_end_request() was used wrong way: fixed
NOTE: tested on the all related series
alex [Thu, 13 Nov 2003 15:06:15 +0000 (15:06 +0000)]
- kmem_cache_validate patch has been removed from all the series
NOTE: all the supported series still build
ericm [Thu, 13 Nov 2003 13:01:48 +0000 (13:01 +0000)]
liblustre: zconf adjustment for recovery_small and replay_single.
ericm [Thu, 13 Nov 2003 06:56:20 +0000 (06:56 +0000)]
liblustre:
- adjust the way of zeroconf
- bring lltest/recovery_small to zeroconf
tianying [Thu, 13 Nov 2003 05:57:06 +0000 (05:57 +0000)]
b:2215 - OSTs fetch unlink llog records from MDS post replay
1. add lop_connect and lop_precleanup to llog_operations
2. rename llog_obd_ctxt to llog_ctxt; llog_commit_data to llog_canceld_ctxt
3. split out llog functions in llog_client.c and llog_server.c and remove llogd.c
4. add one test-59 to sanity.sh to verify cancellation of llog records async
5. fix calling of mds_cleanup_orphans, add test-34 to replay-single.sh
6. fix some codes about llog
rread [Thu, 13 Nov 2003 01:27:36 +0000 (01:27 +0000)]
- return replay-ost-single to runable state
now just need to pass
- commonize the zconf mount/umount
adilger [Thu, 13 Nov 2003 01:00:08 +0000 (01:00 +0000)]
Fix ia64 compile warnings. Please folks, use LPU64 instead of %llu.
rread [Wed, 12 Nov 2003 23:17:22 +0000 (23:17 +0000)]
- enable KMOD
(CONFIG_MODE_TT=y is added by make oldconfig)
rread [Wed, 12 Nov 2003 23:14:01 +0000 (23:14 +0000)]
sample modules.conf for zeroconf
adilger [Wed, 12 Nov 2003 23:11:46 +0000 (23:11 +0000)]
Remove kmem_cache_validate_hp from hp-pnnl-2.4.20 series.
rread [Wed, 12 Nov 2003 21:16:28 +0000 (21:16 +0000)]
b=2244
r=shaver
Pass force flag to ldlm_cleanup.
rread [Wed, 12 Nov 2003 21:11:24 +0000 (21:11 +0000)]
- fix set_route
- add kptlrouter to list of modules
adilger [Wed, 12 Nov 2003 19:49:42 +0000 (19:49 +0000)]
Add process pid into console log messages.
ericm [Wed, 12 Nov 2003 14:15:15 +0000 (14:15 +0000)]
liblustre: support zeroconf.
but current existed tests still use dumpfile, switch to zconf later.
wangchao [Wed, 12 Nov 2003 07:56:04 +0000 (07:56 +0000)]
b=2134
r=shaver
add a test case of unix domain socket test to sanity.sh (test case 54)
ericm [Wed, 12 Nov 2003 07:31:46 +0000 (07:31 +0000)]
liblustre: add missing lib for shared so creation.
adilger [Wed, 12 Nov 2003 06:27:19 +0000 (06:27 +0000)]
Don't have a separate (inconsistent) MTU define for portals routers.
Print out portals router messages with nicely formatted NIDs.
rread [Wed, 12 Nov 2003 06:18:48 +0000 (06:18 +0000)]
- add /sbin/mount.lustre to rpm
rread [Wed, 12 Nov 2003 06:18:10 +0000 (06:18 +0000)]
cleanup replay-single.sh
rread [Wed, 12 Nov 2003 02:41:21 +0000 (02:41 +0000)]
b=2243
fix router config breakage. Now that the router config commands are
NAL_CMDs, need to add a gw_nal to pcfg.
rread [Wed, 12 Nov 2003 00:54:34 +0000 (00:54 +0000)]
create ibnal/Makefile
shaver [Wed, 12 Nov 2003 00:17:01 +0000 (00:17 +0000)]
Quiet warnings.
rread [Tue, 11 Nov 2003 23:13:14 +0000 (23:13 +0000)]
Add new "lustre" fs type which supports only zeroconf mounts.
- old zeroconf client code removed from lustre-lite, and the lconf
--zeroconf option deleted
- common code factored out for ll/lustre fill_super and put_super
- lconf still uses lustre_lite (but not for long)
llmount will be used by mount for lustre filesystems if copied to
/sbin/mount.lustre:
mount -t lustre mds_host:/mds_servicee/profile /mnt/lustre
Multiple mounts of the same filesystem are supported.
Remove unused mds and filter nspath code.
eeb [Tue, 11 Nov 2003 16:42:34 +0000 (16:42 +0000)]
* fixed kportal_router_cmd() to return -EINVAL on unrecognised command
wangdi [Tue, 11 Nov 2003 10:31:39 +0000 (10:31 +0000)]
update netconsole-2.4.20-rh.patch
ericm [Tue, 11 Nov 2003 05:18:13 +0000 (05:18 +0000)]
liblustre:
- support llog facilities
- remove unused wait_for_completion/completion pairs
zab [Tue, 11 Nov 2003 01:09:42 +0000 (01:09 +0000)]
- we don't have an arch/x86_64 for kmem_cache_validate(), but the code
doesn't use it anymore, so we just won't include it in the series.
alex [Tue, 11 Nov 2003 00:35:13 +0000 (00:35 +0000)]
- async deletion for suse kernels
alex [Tue, 11 Nov 2003 00:19:18 +0000 (00:19 +0000)]
- suse series update
rread [Mon, 10 Nov 2003 18:44:06 +0000 (18:44 +0000)]
- remove ptlrpc_lib.c. The remaining functions there were moved to
ldlm_lib.c when b_zcfg landed.
youfeng [Mon, 10 Nov 2003 09:36:30 +0000 (09:36 +0000)]
b_2075
make portals_debug_dumpstack() also can be used for vanilla-2.4.20 serie on
i386 host
wangchao [Mon, 10 Nov 2003 02:39:41 +0000 (02:39 +0000)]
b=2005
r=Peter
Add a check for current->fsuid == 0, to protect portals device from non-root usage.
zab [Sat, 8 Nov 2003 01:21:37 +0000 (01:21 +0000)]
- the ancient fstat/fstat64 wart does not warrant a #warning
shaver [Fri, 7 Nov 2003 21:55:22 +0000 (21:55 +0000)]
Up MAXARGS to 512, so that we can have > 95 OSTs visible to lov_setup.
rread [Fri, 7 Nov 2003 21:15:05 +0000 (21:15 +0000)]
- set default timeout at 10, so I can run this without timing out on UML
rread [Fri, 7 Nov 2003 18:52:24 +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:15 +0000 (18:52 +0000)]
b=2225 fix obd_self_export issues
rread [Fri, 7 Nov 2003 18:09:56 +0000 (18:09 +0000)]
- convert the IOC_*_ROUTE constants to to NAL_CMDs so they are now
just integers and 64bit safe.
adilger [Fri, 7 Nov 2003 17:25:52 +0000 (17:25 +0000)]
Bump kernel version to 30 because of portals_debug_dumpstack() kernel patch.
Put workaround in place until l30 kernels are available so we can work.
sice [Fri, 7 Nov 2003 08:22:15 +0000 (08:22 +0000)]
Add define of LCONF LMC LCTL in replay-dual.sh replay-single.sh replay-ost-single.sh test-framework.sh
youfeng [Fri, 7 Nov 2003 08:17:27 +0000 (08:17 +0000)]
fix the malform error in kernel_patches/patches/kernel_text_address-2.4.20-vanilla.patch of my previous patch for b_2075
youfeng [Fri, 7 Nov 2003 07:06:11 +0000 (07:06 +0000)]
romve the reduntant/useless modifications in kernel_patches/patches/kernel_text_address-2.4.20-rh.patch on my bugfix 2075
youfeng [Fri, 7 Nov 2003 03:56:29 +0000 (03:56 +0000)]
b_2075
print out the call stack
eeb [Wed, 5 Nov 2003 09:23:11 +0000 (09:23 +0000)]
* Added .cvsignore
* Fixed typo in Makefile.am
rread [Wed, 5 Nov 2003 08:35:47 +0000 (08:35 +0000)]
- change NETWORKTYPE to NETTYPE, and make sure it can be overridden.
rread [Wed, 5 Nov 2003 06:18:18 +0000 (06:18 +0000)]
b=2004
There is enough zeroconf infrastructure in place to enable replay-dual
to be used. It fails the first test, though.
rread [Wed, 5 Nov 2003 05:57:46 +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.
ericm [Wed, 5 Nov 2003 02:28:44 +0000 (02:28 +0000)]
liblustre: minor fix to shared lib creation.
phil [Wed, 5 Nov 2003 00:49:25 +0000 (00:49 +0000)]
b=1028
The totally non-controversial parts of my outstanding mds epoch code.
- add I/O epoch fields to the mds_body, mds_obd, and ll_inode_info
- store the epoch in the LLI after a successful open
- add a data structure, which will go into an MDS inode's i_filterdata
eeb [Tue, 4 Nov 2003 19:50:20 +0000 (19:50 +0000)]
* Addid portals/knals/ibnal
eeb [Tue, 4 Nov 2003 19:49:40 +0000 (19:49 +0000)]
* Removed dead code
ericm [Tue, 4 Nov 2003 04:36:16 +0000 (04:36 +0000)]
liblustre: improve the makefile. and generation of shared libs.
phil [Tue, 4 Nov 2003 00:08:47 +0000 (00:08 +0000)]
add two -ETXTBSY tests, and a pre-creation OST vs. MDS test
I hope sanity.sh is not expected to work on multi-node setups?
alex [Tue, 4 Nov 2003 00:05:02 +0000 (00:05 +0000)]
- vanilla-2.4.22 series
adilger [Mon, 3 Nov 2003 23:41:31 +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.
adilger [Mon, 3 Nov 2003 22:57:30 +0000 (22:57 +0000)]
Print a more useful error if we have problems cleaning up the portals slabs.
I don't know why this would fail (we check refcounts above), but it did.
eeb [Mon, 3 Nov 2003 16:48:18 +0000 (16:48 +0000)]
* Stale socknal connections culled when a rebooted node reconnects
(Bug 2062)
* Removed all userspace HELLO handshake (== nid exchange) code. It's
all done by 1 procedure in the kernel now.
* Portals protocol version up: 0.3
ericm [Sat, 1 Nov 2003 09:23:51 +0000 (09:23 +0000)]
liblustre:
- support rename() & related sanity test
- fixes in getattr, according to libsysio changes
ericm [Sat, 1 Nov 2003 08:17:23 +0000 (08:17 +0000)]
liblustre:
- support hard link()
- fix memory leak in getattr()
ericm [Sat, 1 Nov 2003 03:12:20 +0000 (03:12 +0000)]
liblustre: follow the libsysio changes
rread [Fri, 31 Oct 2003 19:39:23 +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.
wangdi [Fri, 31 Oct 2003 09:52:15 +0000 (09:52 +0000)]
add crash support and fix some bugs in netconsole
sice [Fri, 31 Oct 2003 06:55:51 +0000 (06:55 +0000)]
add lov-sanity.sh for extra EA test
adilger [Thu, 30 Oct 2003 22:57:00 +0000 (22:57 +0000)]
Print out all failures in wiretest instead of just the first one.
Don't automatically build wiretest.c (it should only be rebuilt rarely).
b=1343,1821
radhika [Thu, 30 Oct 2003 18:43:27 +0000 (18:43 +0000)]
Added a new manpage for lwizard.
sravi [Thu, 30 Oct 2003 15:55:02 +0000 (15:55 +0000)]
This file contains few generic functions and used by lhealth and lconf.
find_prog moved to this file, so lhealth and lconf are using the same.
wangdi [Thu, 30 Oct 2003 14:09:24 +0000 (14:09 +0000)]
Add find_irq_function, so we do not need add any ethernet driver patch
wangdi [Thu, 30 Oct 2003 09:35:34 +0000 (09:35 +0000)]
add netconsole patch for rh-2.4.20
wangdi [Thu, 30 Oct 2003 09:30:05 +0000 (09:30 +0000)]
add netconsole 2.4.20-rh patch
zab [Thu, 30 Oct 2003 01:44:55 +0000 (01:44 +0000)]
- put it more consistent debug message that track pages through llite.
Hopefully it will shed some light on bug 2192.
alex [Wed, 29 Oct 2003 23:30:22 +0000 (23:30 +0000)]
- ext3-inode-reuse patch agaist all the supported series (bug 2185)
NOTE: still under testing. therefore they aren't included in series
alex [Wed, 29 Oct 2003 23:21:56 +0000 (23:21 +0000)]
- Suse series introduced
NOTE: it builds, but isn't tested yet
radhika [Wed, 29 Oct 2003 22:47:06 +0000 (22:47 +0000)]
Added a manpage for lfs and some formatting changes to the lctl manpage.
adilger [Wed, 29 Oct 2003 22:25:56 +0000 (22:25 +0000)]
Commit wiretest.c as built on i386 for use on other platforms, instead of
(duh) building it on each platform.
b=1343