Whamcloud - gitweb
alex [Thu, 23 Oct 2003 21:42:39 +0000 (21:42 +0000)]
- trusted EAs support in ext3
- MAX_VERSION increase
green [Thu, 23 Oct 2003 20:18:33 +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.
zab [Thu, 23 Oct 2003 16:28:24 +0000 (16:28 +0000)]
b=2010
This time, actually initialize the OSC's maximum number of pages allowed
in each RPC to the nice value that we calculate, rather than just setting the
tunable max. We export the math from portals so that client_obd_setup() can
use it to initialize the OSC from its summer home in ptlrpc/.
wangdi [Thu, 23 Oct 2003 14:00:47 +0000 (14:00 +0000)]
a better way to fix the build error for work_struct in 2.6
tianying [Thu, 23 Oct 2003 13:33:31 +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.
phil [Thu, 23 Oct 2003 00:52:52 +0000 (00:52 +0000)]
b=2150
r=shaver
- filter_next_id increased the last_id counter, even before we know whether the
create succeeded
- failed create would dereference NULL inode
adilger [Wed, 22 Oct 2003 22:41:01 +0000 (22:41 +0000)]
Parser should print out command help when a single command returns CMD_HELP.
zab [Wed, 22 Oct 2003 17:56:54 +0000 (17:56 +0000)]
- trivial bugs in the write_*.c race tests. use vprintf() to print va_list
arguments and proprely check open()s result for errors.
mfrey [Wed, 22 Oct 2003 17:14:21 +0000 (17:14 +0000)]
completed propagation tests
alex [Wed, 22 Oct 2003 11:30:53 +0000 (11:30 +0000)]
- remove .pc files
NOTE: please, use quilt
eeb [Wed, 22 Oct 2003 11:22:32 +0000 (11:22 +0000)]
* Applied HEAD fixes for lclt set_route
alex [Wed, 22 Oct 2003 10:59:35 +0000 (10:59 +0000)]
- listman patches against all supported series
- hlist defines removed from lustre_compat25.h
alex [Tue, 21 Oct 2003 21:39:04 +0000 (21:39 +0000)]
- dev_read_only patch against 2.6.0-test6
NOTE: it differs from 2.4's patch:
1) struct block_device * must be passed instead of kdev_t
2) dev_set_rdonly() sets flag in request queue. after that
queue becomes rdonly
green [Tue, 21 Oct 2003 20:56:02 +0000 (20:56 +0000)]
Fixing dead code from "comparing unisgned with zero" class
zab [Tue, 21 Oct 2003 18:18:51 +0000 (18:18 +0000)]
- add the rprintf() that w_a_t.c has.
- lots of general style cleanup
- teach it to call 'od' to display the corrupt data on exit
mfrey [Tue, 21 Oct 2003 16:30:19 +0000 (16:30 +0000)]
cleaned test 3
adilger [Tue, 21 Oct 2003 10:03:03 +0000 (10:03 +0000)]
Remove tabs from lfs.c.
adilger [Tue, 21 Oct 2003 10:01:55 +0000 (10:01 +0000)]
Add a PATH to lfind, lstripe scripts in case lfs isn't in current PATH.
b=1944
adilger [Tue, 21 Oct 2003 10:00:29 +0000 (10:00 +0000)]
Fix lfs_getstripe not to declare variables after code. This does not work
with GCC < 3.0, and most Lustre users use GCC 2.9x.
b=1944
niu [Tue, 21 Oct 2003 09:49:43 +0000 (09:49 +0000)]
b: 2136
add missed patchs from hp-pnnl-2.4.20.
wangchao [Tue, 21 Oct 2003 09:26:35 +0000 (09:26 +0000)]
1. add "lfs getstripe"
2. other modification for replacing lfind.c and lstripe.c with lfind and lstripe
wangchao [Tue, 21 Oct 2003 09:15:35 +0000 (09:15 +0000)]
These two shell scripts call "lfs find" and "lfs setstripe", they will be removed later when people aware of lfs. lfind will be replaced by "lfs find" and lstripe will be replaced by "lfs setstripe".
zab [Mon, 20 Oct 2003 21:50:42 +0000 (21:50 +0000)]
- add an explanatory comment and turn tabs into spaces
zab [Mon, 20 Oct 2003 21:42:46 +0000 (21:42 +0000)]
- commit the write_disjoint test from bug 968 so we can always have it on hand
and change it to actually provide information in the case of failure
zab [Mon, 20 Oct 2003 18:18:15 +0000 (18:18 +0000)]
Two bugs that were stopping write_disjoint from passing. First, an awesome
typo in lov_lock_contains() prevented llite from recognizing a lock cancelation
associated with the furthest cached region of a file. Second, a comparision in
obdo_refresh_inode() without a complimentary drop of i_size to 0 prevented a
node from getting size updates after a remote truncate.
zab [Mon, 20 Oct 2003 18:05:20 +0000 (18:05 +0000)]
- ll_sparseness_verify had problems with certain combinations of file
length and the number of offsets to test for. It took me a while to find
the problem in the old code -- this cleanup fixes it and gives people
less code to debug in the future.
green [Mon, 20 Oct 2003 14:05:59 +0000 (14:05 +0000)]
This patch fixes various issues with too long constants not fitting 32 bits,
and causing some code to be disabled unexpectedly (#2147)
zab [Fri, 17 Oct 2003 22:43:52 +0000 (22:43 +0000)]
- don't accidentally copy a whole page of debug log to the user when there
is less than a page of data in the log
shaver [Fri, 17 Oct 2003 21:34:37 +0000 (21:34 +0000)]
Revert ldlm-auto-create/destroy changes until some combination of robert, phik
and myself is smart enough to make it do what we want.
shaver [Fri, 17 Oct 2003 20:41:59 +0000 (20:41 +0000)]
Fix implicit declaration warnings.
alex [Fri, 17 Oct 2003 20:34:02 +0000 (20:34 +0000)]
- Oleg's fixes against 2.4.20-uml packed into single patch:
uml_missing_include.patch - this one fixes a problem where uml cannot be
built on new glibc system (e,g, RedHat severn)
uml_signal_fix.patch - backport from 2.4.22-2um of signal fixes. Makes uml
to work on 2.6.0-testX where X < 6
uml_newthreads_fix.patch - fixes immediate uml segfault when linked with new
threads stuff (also from 2.4.22-2um)
eeb [Fri, 17 Oct 2003 13:19:43 +0000 (13:19 +0000)]
* Applied fix for 2119
ericm [Fri, 17 Oct 2003 07:08:49 +0000 (07:08 +0000)]
change test lock cancel to: stat + unlink
zab [Fri, 17 Oct 2003 01:48:00 +0000 (01:48 +0000)]
b=2109
Flesh out the async OBD IO API to be more user friendly. llite behaviour
should be the same, but easier to follow. Each OBD layer gets its own
struct of state to associate with a page in flight. A struct of callback
members is introduced to manage the communication between the obd async
api providers (lov/osc) and the callers (llite/lov).
This is landing now, instead of after 1.0, to give liblustre a more reasonable
interface into the RPC concurrency engine in the OSC. This mechanism is most
evident in the part of ll_commit_write() that falls back to sync IO. O_DIRECT
will also want to use this.
These changes pass acceptance-small on real hardware.
zab [Fri, 17 Oct 2003 00:26:16 +0000 (00:26 +0000)]
b=2127
A dbench run that ran into ENOSPC got stuck in the osc waiting for
rpcs to complete and free up room in the cache. These changes make
the mechanics of waiting for the cache space less fragile. After the
changes dbench could run into the ENOSPC condition and not get stuck.
adilger [Thu, 16 Oct 2003 23:44:50 +0000 (23:44 +0000)]
Quiet some LustreError messages that are not really errors.
Make CWARN() output to the console as a replacement (just prefix Lustre:).
alex [Thu, 16 Oct 2003 17:56:12 +0000 (17:56 +0000)]
- minor changes to run luster on 2.6
alex [Thu, 16 Oct 2003 16:41:24 +0000 (16:41 +0000)]
- use USERMODEHELPER macro
mdoyle [Thu, 16 Oct 2003 13:22:28 +0000 (13:22 +0000)]
Remove unrequired EXPORT_SYMBOL macros
alex [Thu, 16 Oct 2003 11:36:15 +0000 (11:36 +0000)]
- minor changes to let lustre build on 2.6.0-test7
ericm [Thu, 16 Oct 2003 11:15:06 +0000 (11:15 +0000)]
minor lock_test script init fix.
alex [Thu, 16 Oct 2003 07:28:14 +0000 (07:28 +0000)]
- we need not this patch (large inodes support is part of fast ea patch)
wangdi [Thu, 16 Oct 2003 05:36:05 +0000 (05:36 +0000)]
remove 2.6.0-test5-mm4.patch
rread [Wed, 15 Oct 2003 23:55:27 +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.
jacob [Wed, 15 Oct 2003 19:14:26 +0000 (19:14 +0000)]
Add failover mds/ost support, and general cleanup.
I meant to commit this a while ago.
b=1941
alex [Wed, 15 Oct 2003 18:45:57 +0000 (18:45 +0000)]
- fast ea patches go in all the supported series
shaver [Wed, 15 Oct 2003 00:17:02 +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:51 +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:17:47 +0000 (13:17 +0000)]
- added iopen.o to fs/ext3/Makefile
alex [Tue, 14 Oct 2003 12:58:56 +0000 (12:58 +0000)]
- netconsole should place at include/asm-i386/ not include/asm because
last one is symlink
alex [Tue, 14 Oct 2003 12:44:45 +0000 (12:44 +0000)]
- .pc files for new 2.6 patches
youfeng [Tue, 14 Oct 2003 11:10:05 +0000 (11:10 +0000)]
b_1666 new log format "020000:001000:0:
1066038144.520164:2980:916:2813:(ldlm_resource.c:536:ldlm_resource_add_lock()) About to add this lock:" for uml, if not on uml "020000:001000:0:
1066038144.520164:2980:916::(ldlm_resource.c:536:ldlm_resource_add_lock()) About to add this lock:" (the last number is leaving blank).
rread [Mon, 13 Oct 2003 22:44:45 +0000 (22:44 +0000)]
msg
phil [Mon, 13 Oct 2003 22:31:01 +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.
rread [Mon, 13 Oct 2003 18:49:01 +0000 (18:49 +0000)]
* also copy pcfg back to user
phil [Mon, 13 Oct 2003 17:48:36 +0000 (17:48 +0000)]
- add some assertions to the lock reprocessing code
- print a CERROR if ldlm_run_ast_work is called with ns_lock held
phil [Mon, 13 Oct 2003 17:08:33 +0000 (17:08 +0000)]
"buffer overlapped" message was missing \n
mdoyle [Mon, 13 Oct 2003 16:40:39 +0000 (16:40 +0000)]
Maintain separate list of transmit descriptors for large messages.
tianying [Mon, 13 Oct 2003 11:06:24 +0000 (11:06 +0000)]
Make two functions for mds_cleanup_orphans, and put mds_log_op_unlink into
a transaction, remove unused mds_unlink_orphan func.
wangdi [Mon, 13 Oct 2003 10:28:59 +0000 (10:28 +0000)]
remove redundant fsfilt_ext3.o in Makefile.mk
alex [Sun, 12 Oct 2003 12:49:50 +0000 (12:49 +0000)]
- xattr_sem protects block-stored EAs only.
fast EAs are protected by inode->i_sem only
wangdi [Sun, 12 Oct 2003 12:18:23 +0000 (12:18 +0000)]
fix netconsole (show_task bug)
wangdi [Sun, 12 Oct 2003 12:17:42 +0000 (12:17 +0000)]
fix kgdb retransmission bugs \n
phil [Sat, 11 Oct 2003 22:28:23 +0000 (22:28 +0000)]
b=99
Andreas's sync patch, with an (almost) related journal cleanup to remove
fsfilt_journal_data; we no longer use this barely-maintained eature,
and our special files don't see normal write()s anyways
phil [Sat, 11 Oct 2003 21:55:52 +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 07:28:21 +0000 (07:28 +0000)]
liblustre compiling fixes:
- define llog related to null in user space
- various fixes in user space
phil [Fri, 10 Oct 2003 22:49:55 +0000 (22:49 +0000)]
b=2117
Fix some 'make rpms' bitrot:
- add missing headers to include/linux/Makefile.am; remove
lustre_build_version.h, which may not be present at DIST time
- add llog_internal.h to obdclass/Makefile.am
- fix lustre.spec.in paths
- remove unnecessary EXTRA_DIST mcreate in tests/Makefile.am
shaver [Fri, 10 Oct 2003 19:55:12 +0000 (19:55 +0000)]
b=2099: protect ldlm_cancel_locks_for_export from races with lock granting
and cancellation. Do one cancel_for_export at disconnect time, and
another at export destroy time to catch stragglers.
zab [Fri, 10 Oct 2003 19:54:32 +0000 (19:54 +0000)]
- teach the filter survey script to collect vmstat and oprofile results
jacob [Fri, 10 Oct 2003 19:39:56 +0000 (19:39 +0000)]
make the lustre-lite-utils doc files owned by root
jacob [Fri, 10 Oct 2003 09:20:12 +0000 (09:20 +0000)]
* scripts/lmake:
* scripts/lustre-kernel.spec.in:
- build like red hat's kernel
* scripts/linux-merge-config.awk:
* scripts/linux-merge-modules.awk:
- include from red hat kernel srpm
* kernel_patches/targets/rh-2.4.target:
- update to new .target format
* kernel_patches/kernel-configs/kernel-2.4.20-rh-2.4-i386.config:
- generic i386 kernel config for rh-2.4 target
phil [Fri, 10 Oct 2003 08:18:04 +0000 (08:18 +0000)]
b=2104
Clean up a spaghetti of pointers between the open request, close
request, obd_client_handle, and mdc_open_data. Notable changes:
- the obd_client_handle points to the mdc_open_data, and the mdc_open_data
points back to the och. Previously, och pointed to open_req, and open_req
pointed to mod.
- mod also points to open_req and close_req, which both point back to mod in
the req_cb_data. Previously, open_req pointed to mod, close_req pointed to
open_req, and mod only pointed to close_req.
- we no longer avoid the normal decref at the end of open (ll_file_open and
ll_lov_setstripe), only to "balance" that with a decref in mdc_commit_close.
Instead, we decref at the end of open and rely on open_req->rq_replay to pin
the request until mdc_commit_close sets rq_replay to 0.
- mdc_commit_open does a better job of cleaning up, by clearing
mod->close_req->rq_cb_data
- mdc_commit_close now recognizes the possibility that open_req was freed
before close_req (when the import is invalidated, for example), and handles the
missing mdc_open_data with grace
- the new pointer arrangement requires mdc_pin/unpin to alloc/free an
mdc_open_data
- mdc_close, in an error case which returned an open request without a transno,
would "manually" commit that request by calling the commit_cb, which I found
distasteful. Instead, the more general after_reply(), if it does not save a
request for replay, calls commit_cb.
phil [Fri, 10 Oct 2003 07:27:56 +0000 (07:27 +0000)]
When the debug daemon buffer overflows, this needs to be printed to
the console, not buried in a gigabyte of log data
jacob [Fri, 10 Oct 2003 07:03:46 +0000 (07:03 +0000)]
lustre kernel spec is now in scripts/ with the non-kernel lustre spec file
jacob [Fri, 10 Oct 2003 06:57:37 +0000 (06:57 +0000)]
Move lwzard to utils/
mfrey [Thu, 9 Oct 2003 21:53:58 +0000 (21:53 +0000)]
save state of QOS unit test - far away from doing what it should
adilger [Thu, 9 Oct 2003 21:40:37 +0000 (21:40 +0000)]
Fix minor kernel compile time warning added during bug 1516 fix.
phil [Thu, 9 Oct 2003 19:18:20 +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.
green [Thu, 9 Oct 2003 16:43:59 +0000 (16:43 +0000)]
New test, to check that device nodes are created and then visible correctly.
green [Thu, 9 Oct 2003 16:35:06 +0000 (16:35 +0000)]
Properly propagate minor/major information of device nodes to local inodes.
(#2091)
phil [Thu, 9 Oct 2003 15:44:26 +0000 (15:44 +0000)]
b=2101
Fix mds/mds_log.c compilation with gcc 2.96
wangdi [Thu, 9 Oct 2003 15:20:21 +0000 (15:20 +0000)]
update 2.6.0-test6 patches
wangdi [Thu, 9 Oct 2003 15:15:03 +0000 (15:15 +0000)]
add kexec-2.6.0-test6
wangdi [Thu, 9 Oct 2003 15:13:22 +0000 (15:13 +0000)]
remove kexec-2.6.0-test5
wangdi [Thu, 9 Oct 2003 15:11:14 +0000 (15:11 +0000)]
add lkcd-kernel-changes-2.6.0-test6
wangdi [Thu, 9 Oct 2003 15:09:38 +0000 (15:09 +0000)]
remove lkcd-kernel-changes
wangdi [Thu, 9 Oct 2003 15:07:49 +0000 (15:07 +0000)]
update netconsole over netpoll
wangdi [Thu, 9 Oct 2003 15:06:46 +0000 (15:06 +0000)]
update dump_netdev
wangdi [Thu, 9 Oct 2003 15:04:27 +0000 (15:04 +0000)]
add lkcd-cvs-2.6.0-test6.patch
wangdi [Thu, 9 Oct 2003 15:02:59 +0000 (15:02 +0000)]
delete lkcd-cvs-2.6.0-test5.patch
wangdi [Thu, 9 Oct 2003 14:59:05 +0000 (14:59 +0000)]
add kgdb-over-netpoll.patch
wangdi [Thu, 9 Oct 2003 14:55:37 +0000 (14:55 +0000)]
fix some flaws in netpoll-core.patch
wangdi [Thu, 9 Oct 2003 14:51:34 +0000 (14:51 +0000)]
add 2.6.0-test6-mm4.patch
wangdi [Thu, 9 Oct 2003 14:48:41 +0000 (14:48 +0000)]
add lwt.o to Makefile.mk
wangdi [Thu, 9 Oct 2003 14:42:27 +0000 (14:42 +0000)]
change tq_struct to work_struct in 2.6
wangdi [Thu, 9 Oct 2003 14:35:36 +0000 (14:35 +0000)]
add Makefile.mk for 2.6 build
wangdi [Thu, 9 Oct 2003 14:26:57 +0000 (14:26 +0000)]
add mds_unlink_open.c to 2.6
mfrey [Thu, 9 Oct 2003 13:59:38 +0000 (13:59 +0000)]
driver scripts for upcoming QOS unit tests
mdoyle [Thu, 9 Oct 2003 09:59:43 +0000 (09:59 +0000)]
Fix for new portal_cfg structure.
braam [Thu, 9 Oct 2003 09:08:10 +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.