Whamcloud - gitweb
wangdi [Wed, 4 Jun 2003 02:41:44 +0000 (02:41 +0000)]
add ext3-orhan_lock-2.4.19.pc
wangdi [Wed, 4 Jun 2003 02:39:38 +0000 (02:39 +0000)]
add ext3-orphan_lock-2.4.19.patch
wangdi [Wed, 4 Jun 2003 02:34:25 +0000 (02:34 +0000)]
add ext3-delete_thread-2.4.19.pc
wangdi [Wed, 4 Jun 2003 02:32:35 +0000 (02:32 +0000)]
add ext3-delete_thread-2.4.19.patch
adilger [Wed, 4 Jun 2003 02:05:52 +0000 (02:05 +0000)]
Put an obd_ucred struct in the mds_update_record struct so we can pass it
directly to push_ctxt(). This saves allocating an additional obd_run_ctxt
struct on the stack in mds_reint_rec() (in one of the major stack using paths).
adilger [Wed, 4 Jun 2003 00:00:30 +0000 (00:00 +0000)]
Make LBUG() just a special case of LBUG_WITH_LOC().
adilger [Tue, 3 Jun 2003 23:27:01 +0000 (23:27 +0000)]
Remove bogus extra arg from delete thread warning message.
adilger [Tue, 3 Jun 2003 22:52:06 +0000 (22:52 +0000)]
Include the EXT3_MOUNT_ASYNCDEL addition from ext3-delete-thread into the
context of the iopen patch (as it is in the 2.4.20 version), otherwise the
iopen patch fails to apply.
braam [Tue, 3 Jun 2003 13:32:26 +0000 (13:32 +0000)]
- intent fixes for exec.c
- it->disposition status fix (should be backported, sent email to
it->phil)
- pick up Alex sunrpc fixes.
- redo ll_follow_link for 2.5
alex_tomas [Tue, 3 Jun 2003 10:55:06 +0000 (10:55 +0000)]
- net/sunrpc/rpc_pipe.c didn't pass 3rd argument to lookup_hash()
adilger [Tue, 3 Jun 2003 07:51:16 +0000 (07:51 +0000)]
Implement cancel thread:
- we only start two threads to begin with
- new threads are started if it is possible that all threads will be blocked,
up to a predefined maximum number of threads (should be ~num_osts)
- cookie pages are kept in a pool (refilled by the threads normally), but if
the pool is empty and we need a page we try a GFP_ATOMIC allocation
- donot block the cookie commit callback when sending log cancels
Todo
- start up first commit callback thread on the MDS
- figure out where to stash llog_commit_parent pointer (ideally in MDS, since
it is the one who will be allocating it and starting the thread, but we
need it when sending the cancel cookies). Parameter to obd_log_cancel?
- clean up all commit callback threads at shutdown
- emulate "no recovery" behaviour of osc_brw_prep_request()/osc_brw_internal()
so the cancel thread can detect OST failures and start MDS<->OST recovery
wangdi [Tue, 3 Jun 2003 01:34:31 +0000 (01:34 +0000)]
add ext3-delete_thread-2.4.18.pc
wangdi [Tue, 3 Jun 2003 01:31:44 +0000 (01:31 +0000)]
add ext3-delete_thread-2.4.18.patch
rread [Mon, 2 Jun 2003 17:25:56 +0000 (17:25 +0000)]
add --force to cleanup in the clumanager service script.
i think that is also necessary now.
braam [Mon, 2 Jun 2003 09:33:25 +0000 (09:33 +0000)]
- many further changes to clean up intent handling
- indicate clearly to the FS when the last component is hit in
lookup with an nd flag LOOKUP_TAIL
- change prototype of lookup_it and revalidate_it to have struct
nameidata * for this reason.
- upshot: createmany works, finally!
wangdi [Mon, 2 Jun 2003 09:26:14 +0000 (09:26 +0000)]
remove config-2.4.18-linux-2.4.18-p4smp-52chaos
wangdi [Mon, 2 Jun 2003 09:25:30 +0000 (09:25 +0000)]
remove config-2.4.18-linux-2.4.18-i386-52chaos
wangdi [Mon, 2 Jun 2003 09:09:34 +0000 (09:09 +0000)]
add config-files
pschwan [Mon, 2 Jun 2003 06:28:04 +0000 (06:28 +0000)]
update invalidate_show again for 2.4.20-9; 2.4.20-8 is no longer supported.
braam [Mon, 2 Jun 2003 05:05:44 +0000 (05:05 +0000)]
- more 2.5 cleanups:
- initialization function for intents
- remove d_it
- clean up llite accordingly
- multiple mcreates now work
pschwan [Mon, 2 Jun 2003 04:02:12 +0000 (04:02 +0000)]
- print the error code if portals_do_debug_dumplog fails
- demote "mmap readpage - check locks" message to a CDEBUG
- don't try to set mtime on OSTs if there's no LSM (file not yet opened)
- print which client (nid) returned an error from a blocking AST
pschwan [Sun, 1 Jun 2003 18:49:20 +0000 (18:49 +0000)]
b=1384
r=braam
Clear supplementary groups in push_ctxt (restore in pop_ctxt), to
avoid inheriting all supp. groups for all operations.
braam [Sun, 1 Jun 2003 07:20:07 +0000 (07:20 +0000)]
- remove unused references to d_it etc.
- make fixes for getattr and setattr methods
braam [Sun, 1 Jun 2003 02:26:47 +0000 (02:26 +0000)]
- Makefile for tests
zab [Sun, 1 Jun 2003 01:33:20 +0000 (01:33 +0000)]
- NULL d_it in the 2.5 LL_SAVE_INTENT macro
- get rid of the early ll_intent_release EXIT, it should be fine now that
d_it is always null..
- bring the 'called from open' argument to 2.5's do_truncate so mdc_reint
and mds_reint don't deadlock on O_TRUNC
thantry [Fri, 30 May 2003 16:51:00 +0000 (16:51 +0000)]
Bug1275 - enhance debug_daemon to dump out previouse log, as debug_daemon, on starts up
braam [Fri, 30 May 2003 10:23:54 +0000 (10:23 +0000)]
- retore -O2, it really doesn't work without it.
braam [Fri, 30 May 2003 09:35:57 +0000 (09:35 +0000)]
- fixes to yesterday morning's check in: fix broken vfs_create_it
shaver [Thu, 29 May 2003 21:30:14 +0000 (21:30 +0000)]
b=1378: (bizarro-twin of 1272, also DBA 1366) --force again means "don't talk to
the servers" when shutting down, regardless of recovery state. (This
will go back to a try-once mode after the pinger appears.)
braam [Thu, 29 May 2003 14:40:10 +0000 (14:40 +0000)]
- fixes for open, it _may_ just work now, but I suspect that we also need to
give the open method itself a nameidata as a parameter to pass the intent
(we no longer save intents in 2.5)
- some fixes to the patches: the scripts have a problem, poppatch works too
easily.
- Zach over to you for the night / day shift!
meijia [Thu, 29 May 2003 08:56:47 +0000 (08:56 +0000)]
[liblustre]:
- various fixes, mostly related to intent. Now iozone and IOR2 could
run again.
braam [Thu, 29 May 2003 08:47:13 +0000 (08:47 +0000)]
- add new patch for the VFS race conditions we are fixing.
braam [Thu, 29 May 2003 08:43:55 +0000 (08:43 +0000)]
- continue to reorganize the patches
wangdi [Thu, 29 May 2003 06:56:22 +0000 (06:56 +0000)]
add tcp-zero-copy patch
wangdi [Thu, 29 May 2003 06:19:59 +0000 (06:19 +0000)]
add tcp-zero-copy patch
wangdi [Thu, 29 May 2003 06:11:18 +0000 (06:11 +0000)]
rename tcp-zero-copy-2.4.18.patch tcp-zero-copy.patch
wangdi [Thu, 29 May 2003 06:07:14 +0000 (06:07 +0000)]
fix a flaw in invalidate_show-2.4.20-rh.patch
wangdi [Thu, 29 May 2003 02:52:26 +0000 (02:52 +0000)]
add include to extra_dist
shaver [Thu, 29 May 2003 00:15:32 +0000 (00:15 +0000)]
More fixing for recovery-small/b=1300:
- fix type of o_destroy_export
- getattr reconstruction can't rely on the mcd or exp_outstanding_reply,
because getattrs no longer have transnos. Happily, they don't need to.
- reconstruct_open doesn't need to worry about the lock enqueued on the
client's behalf, because we already fix all that up in
fixup_handle_for_resent_req -- and it really doesn't need to LBUG.
Fix for MCR's MDS-side recovery LBUG today: pack a reply to send when aborting
queued recovery requests at timer-expiry.
When we fail an LASSERT, call the LBUG upcall with the location of the
assertion, not the constant-and-useless location of kportal_assertion_failed.
shaver [Wed, 28 May 2003 21:17:27 +0000 (21:17 +0000)]
b=1300: Factor disconnect into disconnect and destroy_export, so that we can
delay freeing of export-specific data until all in-play requests have
finished with it.
Removed an assertion in ptlrpc_abort_reply: if we just skip sending the reply,
it's OK for rq_want_ack to still be 1 when we fail to unlink the MD.
A little bit of debugging for the waiting-lock list.
$FSTYPE for recovery-small.sh.
pschwan [Wed, 28 May 2003 18:58:09 +0000 (18:58 +0000)]
The latest RH 2.4.20 errata kernel (-9) breaks the invalidate_show
patch; here is a new one.
adilger [Wed, 28 May 2003 18:28:33 +0000 (18:28 +0000)]
More from b_devel->b_orphan merge (I guess I didn't commit anything last night).
DEVEL_ORPHAN_UPDATE_PARENT_20030522->DEVEL_ORPHAN_UPDATE_PARENT_20030528
adilger [Wed, 28 May 2003 18:20:34 +0000 (18:20 +0000)]
Reduce CHECK_STACK, CDEBUG and RETURN stack usage (caused by GCC 2.x bug) -
this uses __builtin_dwarf_cfa() to get stack depth on ia64 which is
_supposed_ to be much better than __builtin_stack_frame(), but if problems
appear on ia64 again we can just live without stack info for now.
Add optional no-op CDEBUG/ENTRY/RETURN macros (improves perf noticably).
Remove some CVS $Id tags (might be some initial merge conflicts from that,
but saves us more in the future).
wangdi [Wed, 28 May 2003 11:26:36 +0000 (11:26 +0000)]
fix a flaw in hp-pnnl-2.4.20
meijia [Wed, 28 May 2003 10:52:44 +0000 (10:52 +0000)]
[liblustre]: add and open reference count, to handle the multiple open case
which is not handled by libsysio.
braam [Wed, 28 May 2003 10:38:32 +0000 (10:38 +0000)]
- most of the non-intent operations implemented.
- open is next.
- started splitting the patch in small parts for Linus
adilger [Wed, 28 May 2003 08:50:36 +0000 (08:50 +0000)]
Merge b_devel->b_orphan:
DEVEL_ORPHAN_UPDATE_PARENT_20030522->DEVEL_ORPHAN_UPDATE_PARENT_20030528
rread [Tue, 27 May 2003 23:27:55 +0000 (23:27 +0000)]
b=1352
- removed extra class_disconnect
- renamed conn parameter to class_import_{connect,disconnect} to
dlm_handle.
adilger [Tue, 27 May 2003 21:40:55 +0000 (21:40 +0000)]
Remove lib/simple.c functions from ldlm/ldlm_lib.c into obdclass/simple.c
Remove duplicate declarations of client_obd_{setup,cleanup}() in ldlm/ldlm_lib.c
Remove duplicate declarations of client_sanobd_setup()/path2dev.
rread [Tue, 27 May 2003 21:14:56 +0000 (21:14 +0000)]
b=1348
r=shaver
- send correct handle during reconnect.
- the client now cleans up the dlm export with class_disconnect()
- removed remaining references to imp_export, as it was unused
- fixed ptlbd to use new connection protocol
- rename ptlrpc_import_{connect,disconnect} to client_import_*
- cleaup debugging messages
shaver [Tue, 27 May 2003 17:40:08 +0000 (17:40 +0000)]
Replace explicit strcmps with obd_uuid_equals.
Replace (most) literal "OBD_CLASS_UUID" string use with a shared lctl_fake_uuid
structure.
Fix leak of reqmsg for delayed replies that are aborted (such as when recovery
times out after some clients have completed their replay).
b=1300: When we drop a reply due to obd_fail_loc, wait for ack-or-commit.
Also, find locks for resent lock enqueues without use of
exp_outstanding reply, which may well be long gone.
Send the right handle for reconnect (not the portals_handle, which has h_link
where we want to find a cookie, etc.).
Don't allocate transnos for requests that already have them (read: requests that
are being replayed).
braam [Tue, 27 May 2003 14:16:41 +0000 (14:16 +0000)]
- a few fixes to get mount close, but not quite working.
wangdi [Tue, 27 May 2003 12:23:08 +0000 (12:23 +0000)]
rename some patch
wangdi [Tue, 27 May 2003 11:56:50 +0000 (11:56 +0000)]
rename ext3-san-2.4.20-hp.pc to ext3-san-2.4.20.pc
wangdi [Tue, 27 May 2003 11:51:42 +0000 (11:51 +0000)]
rename ext3-san-2.4.20-hp.patch to ext3-san-2.4.20.patch
wangdi [Tue, 27 May 2003 11:45:27 +0000 (11:45 +0000)]
rename exports_hp_2.4.20.pc to exports_2.4.20-rh-hp.pc
wangdi [Tue, 27 May 2003 11:40:32 +0000 (11:40 +0000)]
rename exports_hp_2.4.20.patch to exports_2.4.20-rh-hp.patch
wangdi [Tue, 27 May 2003 11:33:30 +0000 (11:33 +0000)]
rename exports_hp.pc to exports_2.4.20.pc
wangdi [Tue, 27 May 2003 11:30:50 +0000 (11:30 +0000)]
mv exports_hp.patch exports_2.4.20.patch
wangdi [Tue, 27 May 2003 11:22:19 +0000 (11:22 +0000)]
rename dev_read_only_hp to dev_read_only_2.4.20
wangdi [Tue, 27 May 2003 11:19:06 +0000 (11:19 +0000)]
rename dev_read_only_2.4.20 dev_read_only_2.4.20-rh
wangdi [Tue, 27 May 2003 11:15:16 +0000 (11:15 +0000)]
rename dev_read_only_hp.patch dev_read_only_2.4.20.patch
wangdi [Tue, 27 May 2003 11:11:04 +0000 (11:11 +0000)]
rename dev_read_only_2.4.20 to dev_read_only_2.4.20-rh
wangdi [Tue, 27 May 2003 10:46:59 +0000 (10:46 +0000)]
fix make rpms bugs
adilger [Tue, 27 May 2003 09:08:49 +0000 (09:08 +0000)]
Remove (false) distinction between llog_catalog_hdr and llog_object_hdr -
they have to be the same for LOV-nested logfiles to work.
Change llog_current_log() to have an explicit pointer to the current log for
that catalog, so we don't get confused by LOV-nested logfiles on the list.
Mark the LOV catalogs initialized so we don't create a new log each time.
Use the right message for the unlink cookies being sent to the OSTs.
Set the MDS unlink record type.
pschwan [Tue, 27 May 2003 04:59:46 +0000 (04:59 +0000)]
I think I've finally got it; we don't want to save the cppflags before
doing the rh-2.4.20 check
pschwan [Tue, 27 May 2003 03:17:51 +0000 (03:17 +0000)]
Fix bug in the rh-2.4.20 detector which would always think it's 2.4.20
zab [Tue, 27 May 2003 01:25:13 +0000 (01:25 +0000)]
get b_ad compiling after the b_devel merge.
- move the possibly broken waitfor_one_page to one place
- o_mtime is seconds, that's what ll_ts2u64 returns. s/%Lu/LPU64/
- get rid of client_tgt2uuid2obd copies, export it from obdclass
- move client_obd_{setup,cleanup} into obdclass, export, kill dupes
- remove empty ptlrpc_lib
- get rid of random sanobd dupe in lov
- hoist ll_alloc_brw out of a kernel version ifdef
- no, seriously, unsigned long flags.
pschwan [Tue, 27 May 2003 01:11:03 +0000 (01:11 +0000)]
- remove duplicate client_tgtuuid2obd from ldlm_lib
- export it from obdclass
pschwan [Tue, 27 May 2003 00:45:35 +0000 (00:45 +0000)]
- remove some comments from makefiles
- fix small unused 'rc' bug in target_handle_connect
pschwan [Tue, 27 May 2003 00:43:15 +0000 (00:43 +0000)]
- Commit wangdi's configure macro for detecting 2.4.20-rh (with backported 2.5
structure changes)
- move the signal compat macros to a new portals_compat25.h
- use them everywhere for 2.5.x and 2.4.20-rh
zab [Mon, 26 May 2003 22:49:31 +0000 (22:49 +0000)]
- bring recent b_devel changes into b_ad, only minor corrections needed. the
only significant of which was making sure changes in super.c made it to
b_ad's llite_lib.c
eeb [Mon, 26 May 2003 15:01:39 +0000 (15:01 +0000)]
* Declared portals wire structs packed for ia64 compatibility
eeb [Mon, 26 May 2003 12:58:25 +0000 (12:58 +0000)]
* Changed portals wire checks to check ptl_hdr_t variant types in-place in
the header.
wangdi [Mon, 26 May 2003 09:07:05 +0000 (09:07 +0000)]
get rid of MCP in Makefile.am
wangdi [Mon, 26 May 2003 09:02:37 +0000 (09:02 +0000)]
get rid of package build in portals
braam [Mon, 26 May 2003 08:55:42 +0000 (08:55 +0000)]
- add llite to 2.5 compile chain.
- start abstracting super.c commonality in llite_lib.c
- fix obvious problems
- start restoring the vfs_intent patch for 2.5 to one that hinges on
path_release not the sprinkle of intent_release stuff from calsoft.
pschwan [Mon, 26 May 2003 08:18:17 +0000 (08:18 +0000)]
b=1173
Remove all files from lib/, put the functions into various other
modules as appropriate, and remove the bits to create the symlinks.
Tested in UML and lightly on dev. Builds, inserts, mounts.
braam [Mon, 26 May 2003 05:28:09 +0000 (05:28 +0000)]
- automatically set up a 2.5 bk repository with symlink and Makefile
fixes for builds
- fix up patches, series files etc. Use some new names.
adilger [Sun, 25 May 2003 18:17:59 +0000 (18:17 +0000)]
Mostly working full cookie create-send-cancel cycle for MDS unlinks.
MDS now establishes a connection (LOV only, getting UUID from LOVDESC pending
bug 1280 resolution).
We cannot clean up as a result of this (MDS->LOV connection). Might be
possible to fix by changing cleanup order so we do llite/mdc/mds cleanup
before lov/osc/ost cleanup.
meijia [Sun, 25 May 2003 09:31:08 +0000 (09:31 +0000)]
fix build portals in user space, for WangDi
meijia [Sun, 25 May 2003 01:55:37 +0000 (01:55 +0000)]
[liblustre]:
- add back lustrerun script
meijia [Sat, 24 May 2003 08:55:49 +0000 (08:55 +0000)]
[liblustre]:
- make liblustre compile again
meijia [Sat, 24 May 2003 08:54:57 +0000 (08:54 +0000)]
[liblustre}:
- bring back liblustre.c, sharelib.sh again
braam [Sat, 24 May 2003 07:47:34 +0000 (07:47 +0000)]
- fix a variety of midnight PST build problems...
- include portalsconf into archdep to get Nikke' NALs to build.
- move a LIBLUSTRE test to archdep for Eric
zab [Sat, 24 May 2003 01:23:45 +0000 (01:23 +0000)]
- start to bring llite into the fold
- fix up the truncate page exporting patch
- continue moving to 2.5's hlist d_hash usage
- rename ext2_* to ll_ext2* in llite to avoid link collisions
- mknod's final arg is dev_t in 2.5, should also work in 2.4..
- create a shared lli init func
- fix bad OBD_SLAB_FREE use in ll_destroy_inode
- use ll_follow_link in 2.5?
- minor path fixup in runregression-brw
zab [Fri, 23 May 2003 22:44:35 +0000 (22:44 +0000)]
- add a 2.5 iopen patch
- remove the old 2.5 patch work
eeb [Fri, 23 May 2003 22:04:07 +0000 (22:04 +0000)]
* Added portals + lustre wire constant and struct size/offset assertions
* Added portals + lustre wirecheck programs to generate these assertions
on the reference platform.
zab [Fri, 23 May 2003 21:34:06 +0000 (21:34 +0000)]
- add mdc, obdfilter, and lov to the mix
- static out more duplicate lprocfs symbols, xprocfs too
- move lustre code to the 2.5 d_hash hlist_ api and have compat map it back to
2.4's list_heads
- ->bmap now enjoys sector_t
zab [Fri, 23 May 2003 00:22:26 +0000 (00:22 +0000)]
- this seems to pass runregression-net.sh..
- bring the osc and ost into the mix for the benefit of echo.sh
- get lprocfs building into the kernel by not defining the same 3 symbols in
every lprocfs object (sigh)
- compat out path_lookup, we may need to EXPORT it for 2.5 later
- s/uint flags/ulong flags/ in ptlrpc (eep)
adilger [Thu, 22 May 2003 21:44:29 +0000 (21:44 +0000)]
Fix obdo_from_inode() to only set flags in dst for fields we actually set.
Only create/return log cookies if requested.
zab [Thu, 22 May 2003 21:30:14 +0000 (21:30 +0000)]
- build ldlm and ptlrpc 'cause obdecho wants them
- don't mess about with 2.5's host app shared library mechanisms, just link
ptlctl in explicitly
- add a 2.5 ext3 san patch for ext3_get_block_handle and journal_handle_stop
- at least pretend to track the patches in series/jdike-2.5
- 'int flags', doh.
zab [Thu, 22 May 2003 18:26:24 +0000 (18:26 +0000)]
get utils/ building
- use 2.5's nice shared lib helpers to build libptlctl
girish_c [Thu, 22 May 2003 14:43:33 +0000 (14:43 +0000)]
lstat as per b 888
replacing c implemntation of lstat with python
zab [Thu, 22 May 2003 07:51:54 +0000 (07:51 +0000)]
- N instances of lib objs will collide in the final link, lets try building
it explicitly..
- get obdecho/lib compiling, make headway into obdclass
- I'm tired of adding Makefile.mk entries to configure.in
- lproc's awesome code duplication was saddening the final link, just call me
cap'n static
zab [Thu, 22 May 2003 05:04:55 +0000 (05:04 +0000)]
- this mindless patch is based on the monolithic lustre-2.5.63-patch and needs
to be cut up into its seperate patches, but it gets things building for now..
pschwan [Wed, 21 May 2003 17:54:02 +0000 (17:54 +0000)]
Quiet the now-common "dropping ACK" message to a CDEBUG
shaver [Wed, 21 May 2003 15:23:11 +0000 (15:23 +0000)]
Use our own upcall for r-s, instead of relying on ltest.
shaver [Wed, 21 May 2003 13:43:59 +0000 (13:43 +0000)]
b=1301: don't perform our mdc_getstatus in ll_put_super if we're forcing the
unmount.
b=1272: umount -f should only skip the disconnect RPCs if in recovery, to
reduce the unfriendliness of gratuitous forces.
eeb [Wed, 21 May 2003 13:12:47 +0000 (13:12 +0000)]
* Fixed 1299:aborted request tripped LASSERT(!req->rq_receiving_reply)
* Fixed ll_readpage() to read file's preferred block size to take
advantage of obd_brw_async()
* made obdstat names consistent ('echo' and 'filter')
* fixed what looked like a type in portals/configure.in and hacked
portals/knals/qswnal/Makefile.am to -I the qsw headers from the
configured dir.
* Put magic into portals network interface handles and put type info into
portals ME and MD handles, and portals' own internal EQ handles. Misuse
now makes things fail/crash more promptly.