Whamcloud - gitweb
braam [Fri, 8 Aug 2003 09:51:03 +0000 (09:51 +0000)]
b=1614
r=phil
This bug fix was complicated by the fact that many code paths that
never had run now execute. We changed intent error returns (already
committed), and error returns inside mds_open.
This includes a kernel fix but no version change, as I made it
backward compatible.
Fixes for open:
- kernel passes FMODE_EXEC to lustre, which sends it to MDS
- move all open/close code to mds_open.c, make almost everything static
- arrange for allow/deny/get/put write access in mds
- fix several problems with error handling in mds_dentry_open:
- don't do a wrong mntput
- do a dget for readability
- add test to sanityN and sanity
- simplify confusing permission checking in mds_open with helper
rread [Fri, 8 Aug 2003 06:16:53 +0000 (06:16 +0000)]
* each test is independent and cleans up after itself
* test_4: test an error replay
phil [Thu, 7 Aug 2003 18:14:02 +0000 (18:14 +0000)]
b=1505
r=shaver
- Remove confusing and uninteresting "lustre_commitd quitting" message
- downgrade the -ENOTCONN "processing error" message to D_HA from D_ERROR
ericm [Thu, 7 Aug 2003 10:27:58 +0000 (10:27 +0000)]
add a simple liblustre sanity test script
adilger [Thu, 7 Aug 2003 08:00:54 +0000 (08:00 +0000)]
Fix minor typo in error message.
zab [Wed, 6 Aug 2003 23:00:42 +0000 (23:00 +0000)]
- export some simple histograms that let us watch rpc concurrency and the
number of pages in each rpc. writing to the file clears them.
zab [Wed, 6 Aug 2003 21:30:32 +0000 (21:30 +0000)]
- trivially export some rpc/page stats from the osc so we can get some
insight into how llite is driving it
behlendo [Tue, 5 Aug 2003 22:13:14 +0000 (22:13 +0000)]
- Landed b_multinet on b_llnl_devel
behlendo [Tue, 5 Aug 2003 18:43:23 +0000 (18:43 +0000)]
- Several minor changes so llnl can build rpms of the form:
lustre-*-VERSION-RELEASE.i386.rpm; where VERSION is the CVS tag
and RELEASE is the kernel is was built against.
e.g. lustre-modules-llnl_1devel-2.4.18_p4smp_68chaos.i386.rpm
- I also started a LLNL_ChangeLog for the branch to track what patches we apply.
mfrey [Mon, 4 Aug 2003 15:12:55 +0000 (15:12 +0000)]
rebase b_qos on b_devel instead of b_ad
phil [Sun, 3 Aug 2003 23:58:40 +0000 (23:58 +0000)]
b=1598
Merge final read performance fix into b_devel
phil [Sun, 3 Aug 2003 20:57:17 +0000 (20:57 +0000)]
merge HEAD into b_devel:
- fix for bug 1598
- temporary flag-clearing until bug 974 is fixed
- new GM nal
pengzhao [Sun, 3 Aug 2003 16:52:29 +0000 (16:52 +0000)]
Improved replay-single.sh and replay-dual.sh
phil [Sun, 3 Aug 2003 16:39:50 +0000 (16:39 +0000)]
As best I could test, none of our tests were using stat.c, it was just
a convenient helper. Because most of our installations have a broken
version of the 'stat' utility installed (it reports an incorrect block
size), I replaced stat.c with v3.3 of the stat utility.
ericm [Sun, 3 Aug 2003 07:12:11 +0000 (07:12 +0000)]
various fixes liblustre: following the new llite
at this moment, many metadata can't work, and file i/o is tatally broken
ericm [Sun, 3 Aug 2003 07:06:37 +0000 (07:06 +0000)]
add implementation of rbtree from linux.
cvs2svn [Sun, 3 Aug 2003 07:06:36 +0000 (07:06 +0000)]
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.1.2'.
jacob [Fri, 1 Aug 2003 18:37:16 +0000 (18:37 +0000)]
- Fix build with rh 2.4.20 kernel series
r=phil
b=1663
mdoyle [Fri, 1 Aug 2003 09:31:53 +0000 (09:31 +0000)]
Portals NAL for Myrinet GM2 for Lustre (lgmnal)
adilger [Fri, 1 Aug 2003 09:04:28 +0000 (09:04 +0000)]
Fix for bug 1609 on CVS HEAD.
adilger [Fri, 1 Aug 2003 09:01:35 +0000 (09:01 +0000)]
Fix ia64 O_DIRECT crash (bug 1609).
- don't send less than PAGE_SIZE O_DIRECT writes... It appears that lustre
or the VFS does not handle this properly. This is the only time we send
non-page-aligned writes.
- prepare_write() takes parameters "from" and "to", and not "offset" and "len"
(this is real source of crash - we were not mapping a buffer in this case).
wangdi [Fri, 1 Aug 2003 03:36:44 +0000 (03:36 +0000)]
update changes of lookup_intent for hp kernel
rread [Fri, 1 Aug 2003 00:19:57 +0000 (00:19 +0000)]
* doh! (thanks, mike)
rread [Thu, 31 Jul 2003 23:55:56 +0000 (23:55 +0000)]
* simple cleanups to get replay-single.sh to run again, also added
a trap ERR.
zab [Thu, 31 Jul 2003 20:29:35 +0000 (20:29 +0000)]
make sanity and iozone run from llite over the lov in the new ocp
io model.
- add ocp_off to the ocp so the lov can remap it as it passes through
- fix up the page accounting a bit 'cause truncate doesn't really know
right know to subtract pages from the dirty or io counts
- pass our completion struct, _not_ a pointer to the complete function
- make sure to always free the ocp in commit_write_sync
- disable the watermark io until it actually does something
- make sure to alter the filehandle/o_id as we pass through the lov
- initialize our loi bits in lov_unpackmd
zab [Thu, 31 Jul 2003 17:15:41 +0000 (17:15 +0000)]
- introduce tunables for the aggregate amount of cached data that llite will
allow on a machine. When we have more than 'dirty_high_water_MB' meg of
data dirty we start async ocp io on the amount of data between the high
water mark and 'dirty_low_water_MB'. If we ever have more than
'max_dirty_MB' we write synchronously in commit_write, batching with other
dirty data in the inode. these watermarks are checked every time we pass
through commit_write and we account seperately for dirty pages and pages
that are under io.
- add ocp_count to the ocp so that we can write partial pages at the end
of the file. make the callback func a proper type.
- remove iod.c, the few code paths we cared about in there are moved to
rw{,24,26}.c
- turn off generic file read-ahead by setting filp->f_ramax to 0.
- have writepage and commit_write when writing sync use the plugging to batch
their io with io started from other dirty pages in the inode's dirty list
- woops, missed a hardcoded '16'. move to max_pags_per_rpc
There's still much to do. The 2.6 side needs work on its many-page variants,
kiovec->bio, etc. We need to actually start watermark io from the dirty inode
list.
adilger [Wed, 30 Jul 2003 20:35:18 +0000 (20:35 +0000)]
Ensure OST objids are unique even after a crash by using the mount count as
a generation number. Remove old "superhack" code.
Add a "force_sync" parameter to filter_update_server_data() and
fsfilt_write_record() so that we ensure the mount_count is safe on disk
when the OST has started.
b=294
r=phil
eeb [Wed, 30 Jul 2003 04:13:55 +0000 (04:13 +0000)]
* Optimized qswnal GETs use EKC rpcs to "teleport" payload (as far as
portals is concerned).
* allowed qswnal to have knowledge of lib_msg_t.
* lib_fake_reply_msg() written to allow qswnal to create replies and
deliver them in the normal fashion (with lib_finalize()).
zab [Mon, 28 Jul 2003 20:49:56 +0000 (20:49 +0000)]
- put in initial lov obd plug/async/unplug APIs. for now its giving
the stripe to the osc via an explicit loi argument. this will be
refactored when the refactoring described in 314 arrives.
alex [Mon, 28 Jul 2003 12:18:00 +0000 (12:18 +0000)]
- simple optimization for EXT3:
ext3_write_super() doesn't need to start commit as kupdated wants. this
improves things significantly in some cases
alex [Mon, 28 Jul 2003 12:17:55 +0000 (12:17 +0000)]
file ext3-no-write-super.pc was initially added on branch b_devel.
alex [Mon, 28 Jul 2003 12:17:54 +0000 (12:17 +0000)]
file ext3-no-write-super.patch was initially added on branch b_devel.
alex [Mon, 28 Jul 2003 12:02:04 +0000 (12:02 +0000)]
- minor changes in Andreas'es ext3 direct-io patch to be applicable for
2.4.18-chaos
- ext3-o_direct-1-2.4.18-chaos.patch have been added to chaos-2.4.18 series
alex [Mon, 28 Jul 2003 12:02:02 +0000 (12:02 +0000)]
file ext3-o_direct-1-2.4.18-chaos.pc was initially added on branch b_devel.
alex [Mon, 28 Jul 2003 12:02:01 +0000 (12:02 +0000)]
file ext3-o_direct-1-2.4.18-chaos.patch was initially added on branch b_devel.
adilger [Sun, 27 Jul 2003 20:31:08 +0000 (20:31 +0000)]
Config for 2-mounts-on-local-host-with LOV (currently not-usable until
bug 938 is fixed).
adilger [Sun, 27 Jul 2003 20:31:06 +0000 (20:31 +0000)]
file mount2lov.sh was initially added on branch b_devel.
eeb [Sun, 27 Jul 2003 02:38:15 +0000 (02:38 +0000)]
* Merged b_devel updates
eeb [Sun, 27 Jul 2003 02:05:48 +0000 (02:05 +0000)]
* Portals MTU now 512K (honest)
* lconf configures an EKC tunable on elan nodes to help bulk comms
braam [Sat, 26 Jul 2003 23:14:53 +0000 (23:14 +0000)]
- do not send unused uid and gid fields in mdc/mds update packets
- correctly handle subdirectories of sgid directories (owner set to
parent id - test 6g added for this)
- fix for 1607 (test 19c)
- remove unused kernel configuration files
braam [Sat, 26 Jul 2003 23:14:35 +0000 (23:14 +0000)]
file kgdb_2.6.0_test1_vmware.config was initially added on branch b_devel.
shaver [Sat, 26 Jul 2003 17:59:00 +0000 (17:59 +0000)]
b=1590, (partial 948):
Stop flushing on close, and instead flush all outstanding client data
atomically with the destruction of the final stripe.
And when flushing for destroy, or other cases of truncate-to-zero, send a
hint with the AST to indicate that dirty data should be discarded, instead of
being written back.
r=zab/phil
eeb [Sat, 26 Jul 2003 16:59:43 +0000 (16:59 +0000)]
* Guarded #define EXPORT_SYMTAB
* Bit the bullet and #defined PTL_MTU
NB currently defined in <portals/lib-types.h>; maybe should move...
ccooper [Sat, 26 Jul 2003 16:27:13 +0000 (16:27 +0000)]
Revert __attribute__((packed)) change, to preserve on-disk compatibility on
IA64 systems from before the change. Will need to revisit for heterogeneous
IA64/IA32 clusters.
shaver [Sat, 26 Jul 2003 15:21:26 +0000 (15:21 +0000)]
Import new ONLY/EXCEPT mechanism from sanity, and check in my trivial upcall.
shaver [Sat, 26 Jul 2003 15:21:24 +0000 (15:21 +0000)]
file replay-single-upcall.sh was initially added on branch b_devel.
shaver [Sat, 26 Jul 2003 03:28:16 +0000 (03:28 +0000)]
Jacob schooled me.
shaver [Sat, 26 Jul 2003 03:05:34 +0000 (03:05 +0000)]
Signals are hard.
shaver [Sat, 26 Jul 2003 02:57:06 +0000 (02:57 +0000)]
Add multi-operation microshell to aid in the testing of different replay
patterns.
shaver [Sat, 26 Jul 2003 02:57:04 +0000 (02:57 +0000)]
file multiop.c was initially added on branch b_devel.
phil [Sat, 26 Jul 2003 02:20:46 +0000 (02:20 +0000)]
clobber b_filterio patches with those from b_devel.
Until future notice, kernel patches must be changed only on b_devel,
and only with permission. Kernel patch conflicts can never be
resolved cleanly.
zab [Sat, 26 Jul 2003 01:38:11 +0000 (01:38 +0000)]
- add the /proc tunables to control the number of pages per rpc and the
number of concurrent rpcs
- make sure to check to fire new rpcs as an rpc completes
- push the rpc concurrency checks into the right place
- rearrange the rpc firing logic so it doesn't get stuck :/
braam [Sat, 26 Jul 2003 00:05:32 +0000 (00:05 +0000)]
define the it_flags correctly
shaver [Fri, 25 Jul 2003 23:57:15 +0000 (23:57 +0000)]
don't leak mcd when shutting down --failover
shaver [Fri, 25 Jul 2003 23:04:39 +0000 (23:04 +0000)]
b=1600: my version of Andreas' patch to use write_record to ensure that the
MDS server data is written at creation time
b=1597: cope with entering recovery/replay without a preceding timeout
We pass this initial single-node/single-mount replay test, yay.
adilger [Fri, 25 Jul 2003 22:35:27 +0000 (22:35 +0000)]
Recovery test script for dual-mount testing.
adilger [Fri, 25 Jul 2003 22:35:23 +0000 (22:35 +0000)]
file replay-dual.sh was initially added on branch b_devel.
zab [Fri, 25 Jul 2003 22:13:12 +0000 (22:13 +0000)]
- move the osc rpc managing thread into the osc and rename it appropriately
- osc_rpcd's set is internal to the osc instead of passed in
- evolve the temporary 'barrier' api into the proper 'plug/unplug'
- move the 'ocp' management helpers from llite into genops.c
- start and stop osc rpc thread based on the presence of osc imports
- give test_rbw/echo_client the ability to use plug/unplug
- mirror some of the b_filterio test_brw/echo_client changes
- add an osc_internal.h for the osc rpcd
zab [Fri, 25 Jul 2003 22:13:09 +0000 (22:13 +0000)]
file osc_rpcd.c was initially added on branch b_llpio.
zab [Fri, 25 Jul 2003 22:13:06 +0000 (22:13 +0000)]
file osc_internal.h was initially added on branch b_llpio.
adilger [Fri, 25 Jul 2003 22:07:31 +0000 (22:07 +0000)]
Fix llobdstat usage message.
jacob [Fri, 25 Jul 2003 21:37:41 +0000 (21:37 +0000)]
Use $(CC) instead of gcc (fixes cross compile build).
braam [Fri, 25 Jul 2003 21:28:52 +0000 (21:28 +0000)]
- backport a few name changes in the patches to 2.4.18
- include some new I/O functions.
braam [Fri, 25 Jul 2003 21:28:48 +0000 (21:28 +0000)]
file ext3-o_direct-1.patch was initially added on branch b_devel.
phil [Fri, 25 Jul 2003 21:18:41 +0000 (21:18 +0000)]
land b_unify on b_devel
- patches for 2.6
- linus-approved APIs
- lots of little reorg and fixes for 2.4/2.6 compatibility
- better code to manage MDC lock cancellation and dentry memory pressure
phil [Fri, 25 Jul 2003 18:10:53 +0000 (18:10 +0000)]
merge b_devel into HEAD, which will become 0.7.3
- dozens and dozens of fixes for working with 2.6 kernels
- new 2.4 kernel APIs
- uncountable bug fixes
braam [Fri, 25 Jul 2003 18:08:36 +0000 (18:08 +0000)]
- remove quilt again.]+|[-+]\d{4}) \s (\d\d\d\d) \s - \s (.+) \
phil [Fri, 25 Jul 2003 17:58:07 +0000 (17:58 +0000)]
merge b_devel into HEAD, which will become 0.7.3
- dozens and dozens of fixes for working with 2.6 kernels
- new 2.4 kernel APIs
- uncountable bug fixes
phil [Fri, 25 Jul 2003 17:57:53 +0000 (17:57 +0000)]
b=2225 fix obd_self_export issues
wangdi [Fri, 25 Jul 2003 09:29:51 +0000 (09:29 +0000)]
add quilt
wangdi [Fri, 25 Jul 2003 09:29:49 +0000 (09:29 +0000)]
file spec2series.in was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:29:48 +0000 (09:29 +0000)]
file rpatch.in was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:29:47 +0000 (09:29 +0000)]
file patchfns.in was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:29:46 +0000 (09:29 +0000)]
file parse-patch.in was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:29:45 +0000 (09:29 +0000)]
file apatch.in was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:28:47 +0000 (09:28 +0000)]
file unapplied.in was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:28:46 +0000 (09:28 +0000)]
file top.in was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:28:45 +0000 (09:28 +0000)]
file setup.in was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:28:44 +0000 (09:28 +0000)]
file series.in was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:28:43 +0000 (09:28 +0000)]
file remove.in was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:28:42 +0000 (09:28 +0000)]
file refresh.in was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:28:41 +0000 (09:28 +0000)]
file push.in was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:28:40 +0000 (09:28 +0000)]
file previous.in was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:28:39 +0000 (09:28 +0000)]
file pop.in was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:28:38 +0000 (09:28 +0000)]
file patches.in was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:28:37 +0000 (09:28 +0000)]
file next.in was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:28:36 +0000 (09:28 +0000)]
file new.in was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:28:35 +0000 (09:28 +0000)]
file import.in was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:28:34 +0000 (09:28 +0000)]
file fork.in was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:28:33 +0000 (09:28 +0000)]
file files.in was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:28:32 +0000 (09:28 +0000)]
file diff.in was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:28:31 +0000 (09:28 +0000)]
file delete.in was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:28:30 +0000 (09:28 +0000)]
file applied.in was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:28:29 +0000 (09:28 +0000)]
file add.in was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:26:54 +0000 (09:26 +0000)]
file quilt.pot was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:26:53 +0000 (09:26 +0000)]
file fr.po was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:26:52 +0000 (09:26 +0000)]
file de.po was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:26:51 +0000 (09:26 +0000)]
file Makefile was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:24:30 +0000 (09:24 +0000)]
file backup-files.c was initially added on branch b_unify.
wangdi [Fri, 25 Jul 2003 09:23:25 +0000 (09:23 +0000)]
file docco.txt was initially added on branch b_unify.