Whamcloud - gitweb
mmex [Wed, 9 Apr 2003 18:27:55 +0000 (18:27 +0000)]
These update the patch files so that they apply cleanly in the
PNNL world.
mmex [Wed, 9 Apr 2003 17:58:55 +0000 (17:58 +0000)]
Updated complete patch for hp-pnnl kernels.
mmex [Wed, 9 Apr 2003 17:55:41 +0000 (17:55 +0000)]
Added a hp-pnnl-2.4.20 series to the kernel patchs and fixed up the patch
files to work correctly.
mmex [Wed, 9 Apr 2003 17:46:54 +0000 (17:46 +0000)]
Fixed patch scripts so they can once again locate the patching tools.
braam [Wed, 9 Apr 2003 10:25:30 +0000 (10:25 +0000)]
This gives a good first shot at fixing the patch management issues:
- we followed the instructions that are being posted on the wiki
and wich were discussed this morning
- patches are now fairly easy to create and update
nfshp [Tue, 8 Apr 2003 09:34:56 +0000 (09:34 +0000)]
the last merge b_devel to b_cray
adilger [Tue, 8 Apr 2003 08:55:55 +0000 (08:55 +0000)]
Add in some missing bits to the vfs_intent patch (lib, exec).
adilger [Tue, 8 Apr 2003 07:54:26 +0000 (07:54 +0000)]
One final fix for wantedi.
adilger [Tue, 8 Apr 2003 07:37:20 +0000 (07:37 +0000)]
Fix context when not applying ext3-2.4.18-ino_sb_macro.patch
braam [Tue, 8 Apr 2003 07:18:40 +0000 (07:18 +0000)]
- fixup xattr patch slightly
- put old scripts back, the new ones have some problems
adilger [Tue, 8 Apr 2003 07:11:25 +0000 (07:11 +0000)]
Fix typo in series file.
adilger [Tue, 8 Apr 2003 06:38:10 +0000 (06:38 +0000)]
We already have patches/extN-wantedi.patch.
adilger [Tue, 8 Apr 2003 06:28:03 +0000 (06:28 +0000)]
Add module.h include for proper EXPORT_SYMBOL() definition.
adilger [Tue, 8 Apr 2003 06:02:30 +0000 (06:02 +0000)]
Add exports for xattr functions for fsfilt_ext3 to use.
adilger [Mon, 7 Apr 2003 23:41:24 +0000 (23:41 +0000)]
Add several ext3 bug-fix patches from extN.
Add wantedi patch for recovery code.
adilger [Mon, 7 Apr 2003 23:38:15 +0000 (23:38 +0000)]
Minor compilation fixes:
- add new do_truncate() parameter (called_from_open) to do_coredump()
- add definition of path_lookup_it()
adilger [Mon, 7 Apr 2003 23:36:36 +0000 (23:36 +0000)]
Don't add xattr.o to export-objs twice.
adilger [Mon, 7 Apr 2003 23:36:00 +0000 (23:36 +0000)]
Minor change to match patch submitted to l-k.
adilger [Mon, 7 Apr 2003 23:18:35 +0000 (23:18 +0000)]
Remove need for whitespace formerly added by exports_hp.patch.
adilger [Mon, 7 Apr 2003 21:13:32 +0000 (21:13 +0000)]
Add bad blocks allocation fix from extN (only used when on-disk data is bad).
adilger [Mon, 7 Apr 2003 19:55:55 +0000 (19:55 +0000)]
Remove CVS tags from patch, so we don't get patch conflicts.
nfshp [Mon, 7 Apr 2003 07:21:38 +0000 (07:21 +0000)]
merge b_devel into b_cray
braam [Sat, 5 Apr 2003 11:15:56 +0000 (11:15 +0000)]
- add ext3 patches to the kernel patch instead of extN directory, and
associated changes. This branch will require a small amount of
debugging, cleanup and some testing before landing.
nfshp [Fri, 4 Apr 2003 14:57:29 +0000 (14:57 +0000)]
another segfault fix
nfshp [Fri, 4 Apr 2003 14:39:51 +0000 (14:39 +0000)]
add iop_gone() to avoid segfault
nfshp [Fri, 4 Apr 2003 14:27:33 +0000 (14:27 +0000)]
re-organize the layout under liblustre
nfshp [Fri, 4 Apr 2003 10:39:49 +0000 (10:39 +0000)]
add rudiment I/O support
nfshp [Thu, 3 Apr 2003 16:48:24 +0000 (16:48 +0000)]
initially add open support. Now it didn't involed ldlm, just simply
create object on mds/ost.
nfshp [Thu, 3 Apr 2003 11:01:13 +0000 (11:01 +0000)]
fix according to changes in b_devel merged last time:
- inter_module_get
- generate_random_bytes
braam [Thu, 3 Apr 2003 07:49:18 +0000 (07:49 +0000)]
- patches for 2.4.20: vanilla with UML, chaos, redhat 9, and hp-pnnl
ia64
braam [Wed, 2 Apr 2003 13:12:21 +0000 (13:12 +0000)]
update patches for 2.4.20. The HP kernel might well work if we are lucky.
the redhat 2.4.20 kernel is next in line
pschwan [Wed, 2 Apr 2003 03:56:24 +0000 (03:56 +0000)]
b=957
- Infrastructure for the pinger thread; needs multi-rpc and some refinements
- Add last_request_time to obd_export
- Fixed export leak in lov_brw success case
- test22 rears its head again: tar gets pissy if it can't access $PWD,
which is common for homedirs at LLNL. cd to /tmp before running tar.
Merged many of the changes from b_proto:
- multi-rpc infrastructure, but not the key bits
- removed some bitfield flags in favour of individual struct members
- merged obd_brw_write and obd_brw_read into a single obd_brw_internal
- move the Elan-related page wrangling from the IOD into the OSC
nfshp [Tue, 1 Apr 2003 16:21:24 +0000 (16:21 +0000)]
merge b_devel into b_cray
pschwan [Mon, 31 Mar 2003 18:31:23 +0000 (18:31 +0000)]
landing b_recovery on b_devel
* bug fixes
- imports and exports cleanup too early, need refcounts (349, 879, 1045)
- per-import/export recovery handling (958, 931, 959)
- multiple last-rcvd slots, for serving multiple FSes (949)
- connections are again shared between multiple imp/exports (963, 964)
- "umount -f" would hang if any requests needed to be sent (393, 978)
- avoid pinning large req buffer by copying for queued messages (989)
- add "uuid" to "lctl device" command to help upcalls (991)
- "open" RPCs with transnos would confuse recovery counters (1037)
* major user-visible changes
- fail out/fail over policy now controlled by the upcall (993)
* protocol changes
- add OBD_PING to check server availability and failure (954)
amrutjoshi [Mon, 31 Mar 2003 17:30:21 +0000 (17:30 +0000)]
Added mkdir and sys_symlink code. Removed problem of intent_release being
called twice each time.
nfshp [Mon, 31 Mar 2003 15:05:47 +0000 (15:05 +0000)]
- correct the llu_iop_lookup() with peter's help
- rename the prefix ll -> llu, avoid duplicated function name with llite
nfshp [Sun, 30 Mar 2003 13:49:14 +0000 (13:49 +0000)]
first peice of code glue liblustre with libsysio, and initial small testing
program
shorthair [Sat, 29 Mar 2003 14:39:16 +0000 (14:39 +0000)]
modification for liblustre compilation in windows
rread [Sat, 29 Mar 2003 02:50:00 +0000 (02:50 +0000)]
use older 4xslt syntax, for compatibility
rread [Sat, 29 Mar 2003 02:23:18 +0000 (02:23 +0000)]
b=1039
- ost failover is now an lmc option, and no longer a configure option.
To enable failover on an ost, use the --failover flag when
when the ost is created with with lmc.
lmc --add ost ... --failover ...
b=1056
- --journal_size=SIZE lmc option is now available for both ost and mds.
Note, the size is passed directly to the mkfs program, so you need to make
sure it is the proper units for the file system being used. (mke2fs expects
megabyets, mkreiserfs expects blocks)
rread [Fri, 28 Mar 2003 07:55:40 +0000 (07:55 +0000)]
b=965
- lconf gets a new option, --recover and will do recovery for a connection on the client
- fix bug reported by Morrone where a client would use the elan nid even
when it wanted to use tcp. (untested)
- And the bulk of this patch is a consolidation of the command line processing
for the python tools. Now all options are displayed in the usage string,
and includes the defaults if any. It's also trivial to add new options now.
pschwan [Thu, 27 Mar 2003 22:43:47 +0000 (22:43 +0000)]
b=1035
if ll_inode_getattr fails in ll_extent_lock, don't clobber the 'rc',
because it makes its way all the way back to userspace
pengzhao [Tue, 25 Mar 2003 09:00:40 +0000 (09:00 +0000)]
Checked-in by Peng Zhao.
openfile is used to enable scripts opening files with arbitrary combination of
flags and modes.
openfile.c and modified sanity.sh together handle bug894.1
bug894.2 is not handled yet. Need further feedback from Peter.
shaver [Mon, 24 Mar 2003 20:49:14 +0000 (20:49 +0000)]
- remove unused ptlrpc_uuid2conn
- lose extra dlm-hook-put CERROR
- don't need to cleanup DLM ns or schedule when forcing disconnect: it's already
cleaned up, or we don't get unmounted
- export and import extra-put assertion checking
- fix connection switching to work when we don't already have a connection created
pschwan [Mon, 24 Mar 2003 17:41:36 +0000 (17:41 +0000)]
pc file for Zach's truncate_complete_page() export patch
pschwan [Mon, 24 Mar 2003 17:41:08 +0000 (17:41 +0000)]
Add Zach's patch to export truncate_complete_page(); still needs an
hp-pnnl and vanilla equivalent
amrutjoshi [Mon, 24 Mar 2003 15:52:19 +0000 (15:52 +0000)]
Fixed the patch for intent_release. After this fix lock refs are in order now.
Most of the metadata ops are working.
pschwan [Sat, 22 Mar 2003 20:18:29 +0000 (20:18 +0000)]
unlinkmany a-la createmany and statmany
rread [Fri, 21 Mar 2003 22:57:24 +0000 (22:57 +0000)]
- don't need to unregister the recovd, since it's gone
- class_destroy_import() is doing an import_put, so
I removed an extra put from class_obd_cleanup().
amrutjoshi [Fri, 21 Mar 2003 20:41:58 +0000 (20:41 +0000)]
Refreshed patche with intent_release calls
amrutjoshi [Fri, 21 Mar 2003 13:28:52 +0000 (13:28 +0000)]
Fixing IT_GETATTR intents and many small changes.
braam [Fri, 21 Mar 2003 03:59:05 +0000 (03:59 +0000)]
- MDS/client open code changes, to open directories on the MDS.
- no more slab validation on the MDS
braam [Fri, 21 Mar 2003 03:56:20 +0000 (03:56 +0000)]
These are the kernel patches for Peter's open directory fixes. Old
code can probably work with this (we'll allow it in through a small
change in obd_class.c)
adilger [Thu, 20 Mar 2003 11:02:16 +0000 (11:02 +0000)]
I believe that this will fix the remaining threaded unlink issues, although
I wasn't able to get a chance to test it...
Basically, uncomment extN-delete_thread.diff in extN/Makefile.am and give
it a whirl under dbench and/or runtests or whatever, and if it passes we
are golden.
rread [Wed, 19 Mar 2003 20:51:37 +0000 (20:51 +0000)]
- move the xml/ldap handling class from lconf into an external module
- load_ldap.sh - loads a lustre xml config into ldap
- lactive - updates failover targets with new active devices
amrutjoshi [Sat, 15 Mar 2003 16:20:08 +0000 (16:20 +0000)]
Patches for 2.5.63. This wont work until lustre is patched for 2.5.
thantry [Sat, 15 Mar 2003 02:36:06 +0000 (02:36 +0000)]
Bugzilla 895
adilger [Sat, 15 Mar 2003 01:32:50 +0000 (01:32 +0000)]
Delete thread patch. First, tried to "fake out" the VFS by twiddling bits in
the inode to keep it around after it should have been destroyed, but no dice.
Then, I tried to allocate a "mock inode" and copy over the existing inode to
that and use it only for the unlink code. Sadly, copying list_head,
semaphore, etc does not work, so you have to end up re-initializing the whole
thing anyways, and it would just break on 2.5 anyways.
Finally, I did the "right" thing - read the same inode into a new struct
inode with iget(), and then flag that inode for "real" destruction and
have the delete thread just do an iput. Very simple, very easy.[*]
I also split the orphan list handling out of the superblock lock into
its own lock, so that we don't get stuck behind the delete thread (which
holds it for long periods doing truncates) when we are trying to add new
inodes to the truncate list.
This code passes basic acceptance testing under UML, but I'm not checking
in the Makefile.am changes that activate it until I give it a shot with
dbench 20 or "rm -r directory_full_of_large_files" so on DEV. Other
people testing it is of course welcome (just add extN-delete_thread.diff
and ext3-orphan_lock.diff to the end of EXTNP).
[*] It reminds me about a story I heard once, where an engineer who had
retired, but was on retainer for his old company in case they needed
him for consulting. Sure enough, the company's complex oil refinery
was not working properly, and after the company engineers couldn't
figure out what was wrong they called the retiree for assistance.
The retiree walked around the refinery, asking questions, looking at
valves and guages, etc., until finally he asked for a hammer, gave a
pipe a swift blow, and told them to fire up the plant again. Sure
enough, all was working properly again, and the company was happy.
Until they got the invoice - $25,000. In an outrage, they called the
retiree up and asked how he could charge $25,000 for just hitting a
pipe with a hammer. In reply, the engineer said "Hitting the pipe
with the hammer was only $10, the other $24,990 was for knowing where
to hit it."
adilger [Fri, 14 Mar 2003 21:12:07 +0000 (21:12 +0000)]
Backport of bugfix from 2.5/2.4.21-pre5 which calculates the correct value
for the number of blocks to reserve for a truncate. We were asking for 8x
as many blocks as we needed, although for large files this was capped at
EXT3_MAX_TRANS_BLOCKS anyways, so not much harm done.
Conditionally applied so when it appears in our upstream kernels we will
not die (when I commit corresponding changes to Makefile.am).
shaver [Wed, 12 Mar 2003 12:51:15 +0000 (12:51 +0000)]
- b=959: add connection-switching to import recovery. (Not yet tested: one of
my MDS nodes isn't coming up right now.)
adilger [Wed, 12 Mar 2003 00:58:12 +0000 (00:58 +0000)]
Script to grab asm output and look for heavy stack (ab)users.
Could be improved a bit by having it take a list of files as args and
running objdump and then preceding each line with the filename, so we can
run it on modules more easily than having a shell script call a perl script...
nfshp [Tue, 11 Mar 2003 14:45:06 +0000 (14:45 +0000)]
add a extra param to mmap unless it always return error.
pengzhao [Tue, 11 Mar 2003 07:17:08 +0000 (07:17 +0000)]
Bug 828 is fixed by Peng Zhao, arrpoved by Andreas.
runas.c allows the root to "runas" another user to do things.
shaver [Mon, 10 Mar 2003 07:22:15 +0000 (07:22 +0000)]
Remove liblustre-build-breaking l_wait_event define, and get rid of wait_event
while I'm at it.
shaver [Sun, 9 Mar 2003 21:01:41 +0000 (21:01 +0000)]
- b=977: C-z (and other non-fatal signals) send us into an infinite loop if
we wait for recovery. We now use signal blocking to prevent signal
delivery until we're interested in some or all signals.
- b=988: umount -f hangs when MDS is dead
- b=722: Lustre kernel threads cause load average to skyrocket. (Still get
a little boost from the socknal threads, but it's much better.)
nfshp [Sun, 9 Mar 2003 07:56:20 +0000 (07:56 +0000)]
oops, fix my last checkin.
nfshp [Sun, 9 Mar 2003 07:53:03 +0000 (07:53 +0000)]
fix IS_ERR macro: return 0/NULL is sign of success.
adilger [Sat, 8 Mar 2003 15:59:30 +0000 (15:59 +0000)]
Completely untested (but compiled) port of noread-creates patch to
2.5.current. I suspect it is OK, since the ext3 code hasn't changed much,
but needs testing.
shaver [Sat, 8 Mar 2003 02:09:49 +0000 (02:09 +0000)]
- Remove the now-unnecessary connection chaining bits from imports and exports.
- In related news, always drop the exports' and imports' connection refs when
they're destroyed.
- class_connect was leaking its "caller" (compare: "handle lifetime") ref to
the new export. We're going to try without the leak for a while, see how
it goes.
- Bulk descs now have import and export pointers, so that they can play nicely
with recovery.
- Clean, informative console diagnostics for recovery cases. (Hi, Terry!)
- Do the ldlm-hook i_m_g/i_m_p based on emptiness of the conn_list, since it's
far too late by the time the __exit routines run.
- Put an ugly-but-serviceable UUID in the server's connection's remote_uuid.
- Remember that we can already have an export in req->rq_export upon entry to
target_handle_connect, if the client and server are the same node, and
therefore share a handle table.
- Get rid of class_signal_connection_failure, which was vestigial at best.
- Welcome back to the world of connection-sharing.
- Call the upcall like:
/path/to/upcall $FAILED_IMPORT_UUID $FAILED_OBD_UUID $CONN_UUID
shaver [Fri, 7 Mar 2003 20:16:05 +0000 (20:16 +0000)]
- b=958: recovery per export/import, not per connection
- no more recovd thread:
- import failure and upcall-execution is done by the failing thread
- export failure and client eviction is done by the thread that's going
to be waiting for it to complete anyway
- import reconnection runs synchronously in the context of the lctl
invocation, which means that we can now return errors to the upcall
- no more fancy recovery state machine
- no more RPCDEV service
- b=954: zero-impact OBD_PING opcode for MDS and OST
- Grand Unified Theory of Client Recovery
- mdc_recover/osc_recovery unified in ptlrpc_recover_import
rread [Tue, 4 Mar 2003 21:42:30 +0000 (21:42 +0000)]
moved procbridge.h to include/portals
rread [Tue, 4 Mar 2003 10:00:10 +0000 (10:00 +0000)]
fix make rpms, at least for me.
- new configure option:
--enable-efence: turns on -lefence support for liblustre
This option is OFF by default, so rpms will build on a machine
that doesn't have efence-devel.
- add liblustre to DIST_SUBDIRS
rread [Tue, 4 Mar 2003 00:38:11 +0000 (00:38 +0000)]
b=941: zab's fix for ia64 compiles. untested, but it does compile
shorthair [Sun, 2 Mar 2003 04:36:47 +0000 (04:36 +0000)]
one small modification for linking libtest
braam [Sat, 1 Mar 2003 22:45:07 +0000 (22:45 +0000)]
- fixes for builds of liblustre (leave out kernel include path)
- get ptlrpc working in the library
zab [Sat, 1 Mar 2003 00:32:51 +0000 (00:32 +0000)]
- push common ldlm_handle_foo_ setup paths into their caller so it can send
the reply before descending into the callbacks
- avoid doing 0 len ll_brws in writepage by unlocking pages outside i_size
braam [Fri, 28 Feb 2003 18:43:05 +0000 (18:43 +0000)]
- minor build fixes for liblustre
adilger [Thu, 27 Feb 2003 23:44:52 +0000 (23:44 +0000)]
Add patch for handling largefile growth bug.
Remove bogus warning case from Makefile for patch application, we already
do a bunch of conditional patch application stuff so use that.
braam [Wed, 26 Feb 2003 23:35:57 +0000 (23:35 +0000)]
- miniature buildfixes for liblustre.
shaver [Tue, 25 Feb 2003 17:55:17 +0000 (17:55 +0000)]
Fixes to recovery-cleanup.sh. We clean up pretty well, but the interrupted-open
case trips an assertion (bug 912).
shaver [Tue, 25 Feb 2003 16:40:50 +0000 (16:40 +0000)]
Quick test for client cleanup while in recovery.
zab [Tue, 25 Feb 2003 01:08:41 +0000 (01:08 +0000)]
- bring b_devel changes into b_io in preparation for file size fixes
shaver [Mon, 24 Feb 2003 21:48:20 +0000 (21:48 +0000)]
- store the FID for an open file in the request, so that replay can open by
FID, in case the file has been deleted, etc.
- reconstruct replies for close (untested), link (tested), unlink (tested, but
will leak OST objects until open-unlink works).
- quickie test program for link(2)
shorthair [Sat, 22 Feb 2003 15:07:55 +0000 (15:07 +0000)]
some fixes for compilation with linux2.5.59
adilger [Sat, 22 Feb 2003 08:53:08 +0000 (08:53 +0000)]
Add return value to init_timer() to quiet compiler warning.
braam [Sat, 22 Feb 2003 03:15:57 +0000 (03:15 +0000)]
- to keep things tidy on the screen
rread [Fri, 21 Feb 2003 18:24:42 +0000 (18:24 +0000)]
fill in some sample code in libtest.c to demonstrate how to use
the ioctl dumps created by lctl.
adilger [Fri, 21 Feb 2003 11:44:56 +0000 (11:44 +0000)]
Add a new test which compiles portals and lustre in a lustre mount.
braam [Fri, 21 Feb 2003 11:05:45 +0000 (11:05 +0000)]
- another day of good progress with liblustre. We now have all the
modules initialized, ready to start playing with lctl dumpfiles.
rread [Thu, 20 Feb 2003 20:42:34 +0000 (20:42 +0000)]
Landing b_malt onto b_devel
- move uuid and handles to lustre, with config changes
- b=204,667: fix router config so network interfaces can be
created in any order.
- Make sure all the ioctl calls in obd.c are packed.
rread [Thu, 20 Feb 2003 09:42:19 +0000 (09:42 +0000)]
- fix the uuid ioctls to work on the lustre side
- add IOC_PACK() to all the ioctls in lctl
- fix a format string in super.c
- rename IOCINIT to IOC_INIT, to match other macros
- looks ready to land on b_devel
rread [Thu, 20 Feb 2003 07:25:24 +0000 (07:25 +0000)]
update b_malt
- includes multinet diffs, which will are needed on malt
rread [Thu, 20 Feb 2003 06:52:56 +0000 (06:52 +0000)]
- completing the move of UUID registration from portals to lustre.
Need to merge with multinet to finish this.
shaver [Wed, 19 Feb 2003 22:01:25 +0000 (22:01 +0000)]
Untested implementation of reconstruct_getattr_name.
Test program for single invocation of GETATTR_NAME.
thantry [Wed, 19 Feb 2003 19:58:03 +0000 (19:58 +0000)]
Deleting the dummy file.
thantry [Wed, 19 Feb 2003 19:53:21 +0000 (19:53 +0000)]
This is a test file. We have been moved to behind a firewall, and we want
to ensure that we can perform regular CVS operations. Please excuse.
braam [Wed, 19 Feb 2003 04:30:18 +0000 (04:30 +0000)]
new files with api's we'd initially put in portals
braam [Wed, 19 Feb 2003 04:29:19 +0000 (04:29 +0000)]
- add new files move over from portals
pschwan [Tue, 18 Feb 2003 05:45:11 +0000 (05:45 +0000)]
a-m-double for 2 mounts
braam [Mon, 17 Feb 2003 10:23:25 +0000 (10:23 +0000)]
- the bulk of the build fixes for liblustre. Note
that all user level programs now need to include
<liblustre.h> (as is done in the utils and test
directories.