Whamcloud - gitweb
eeb [Fri, 30 Jan 2004 23:42:59 +0000 (23:42 +0000)]
* Cray compatibility fixes.
- Added #if CRAY_PORTALS for compiling against cray portals.
- PTLRPC_MTU, PTLRPC_MAX_IOV derived from PTL_MTU, PTL_MAX_IOV if
defined.
- PTLRPC_MAX_BRW_PAGES, PTLRPC_MAX_IOV defined consistently from
PTLRPC_MTU, PTLRPC_MAX_IOV, and are the constants used by the OSC.
- Changed bulk descriptors to merge contiguous fragments. Bulk I/O only
uses iovs/kiovs if # frags > 1.
If compiling with cray kernel portals, PTL_MD_PHYS is expected to be
defined and bulk descriptors contain struct iovec with physical
addresses. NB. Cray requested this method, rather than the ptl_kiov_t
our portals uses. If they can't use physical addresses (we can always
turn PTLRPC_MAX_BRW_PAGES down to 1 until they can handle multiple
frags), we have a problem, since we'll have to re-write the old
kmap/kunmap code.
- Added PtlSnprintHandle(char *str, int str_len, ptl_handle_any_t handle)
to keep handles opaque but provide useful debug messages.
- Implemented PtlEQPoll(), and PtlEQGet()/PtlEQWait() in terms of it.
Fixed tcpnal non-busy wait hack by changing nal::yield() to take a
timeout and do the right locking, and cb_callback() to schedule
waiting processes.
Implemented non-busy wait for socknal and qswnal as programming
examples (we don't actually drain event queues in the kernel) and
cleaned up tcpnal to only schedule when required.
- Conformed to the portals spec on...
. PTL_TIME_FOREVER
. PTL_EQ_HANDLER_NONE
. PTL_NI_OK
. event field names
. PTL_MD_MAX_SIZE usage
- Defined PTL_EVENT_XXX_{START,END}. We don't actually implement START
events, but rather LASSERT() our callers have disabled them.
- Added liblustre/cray callback handling.
- #define PTLRPC_MD_OPTIONS as lustre's MD options. Includes the "Hello
Cray portals; lustre calling" flag and disables start events.
- Removed PTL_MD_AUTO_UNLINK; it's specified in the 'unlink' parameter
of PtlMDBind/Attach() etc.
* Other fixes/cleanups
- Removed 'struct lustre_peer'
- Added liblustre/tests/.cvsignore
- Removed PtlNIBarrier() and some cruddy portals globals.
- Fixed lib_msg_alloc() to allocate ATOMIC if necessary (NB socknal
never needs ATOMIC here, neither does qswnal if EKC is tuned
properly).
- Fixed lib_finalize() to only unlink if the MD was created with
PTL_UNLINK (lustre always does, so we never noticed this before).
- Cleaned up our asynchronous PtlMDUnlink()....>PTL_EVENT_UNLINK to
invalidate the MD handle immediately on the unlink (manual and
automatic).
- factored some common code in lib-move.c
adilger [Fri, 30 Jan 2004 18:36:42 +0000 (18:36 +0000)]
Make the debugging more clear as to which OST/client it is for (hard to see
otherwise with multiple OSTs on one node).
Take pending writes into account in totals.
Don't spew errors when hit.
adilger [Thu, 29 Jan 2004 03:51:39 +0000 (03:51 +0000)]
Update b_bug974 from HEAD (20040128_1901)
cvs2svn [Thu, 29 Jan 2004 02:16:19 +0000 (02:16 +0000)]
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.1.2'.
zab [Thu, 29 Jan 2004 02:16:18 +0000 (02:16 +0000)]
a block device profiling script which is built to reliably run different
tests by itself and give detailed results.
buffalo-pull [Thu, 29 Jan 2004 00:21:27 +0000 (00:21 +0000)]
- tagging RC_CURRENT
adilger [Thu, 29 Jan 2004 00:15:39 +0000 (00:15 +0000)]
Kernel RPM build fixes from b1_0.
b=2516
rread [Thu, 29 Jan 2004 00:11:21 +0000 (00:11 +0000)]
don't use +=, because old pythons don't have it
adilger [Wed, 28 Jan 2004 23:40:34 +0000 (23:40 +0000)]
Always disable nagle in the socknal, even for 0conf setups (from b1_0).
b=2578
adilger [Wed, 28 Jan 2004 22:47:19 +0000 (22:47 +0000)]
Allow OST read cache to be disabled (already on b1_0).
b=2591
r=zab,shaver
adilger [Wed, 28 Jan 2004 18:41:17 +0000 (18:41 +0000)]
Some debugging from testing at LLNL.
adilger [Wed, 28 Jan 2004 18:20:52 +0000 (18:20 +0000)]
Fix oos.sh and oos2.sh test so that we don't fail test if one OST is full and
returns ENOSPC but others have space.
Update lov.sh to match local.sh setup more closely.
Add a "client" config to lov.sh and local.sh so they can be mounted easily
on /mnt/lustre2 for sanityN.sh testing.
b=974
alex [Wed, 28 Jan 2004 17:32:01 +0000 (17:32 +0000)]
changes in extents:
- fixed goal selection
- more bits of batching allocation
tianying [Wed, 28 Jan 2004 08:32:12 +0000 (08:32 +0000)]
update from HEAD
wangchao [Wed, 28 Jan 2004 02:06:05 +0000 (02:06 +0000)]
b=2323
r=shaver
Deal with the double-quote,single-quote, and backslash in batchfile of "lmc --batch batchfile".
buffalo-pull [Wed, 28 Jan 2004 01:04:56 +0000 (01:04 +0000)]
- tagging RC_CURRENT
adilger [Wed, 28 Jan 2004 00:49:04 +0000 (00:49 +0000)]
Land b_bug2370 to HEAD (20040127_1701)
b=2370
r=zab
adilger [Wed, 28 Jan 2004 00:25:08 +0000 (00:25 +0000)]
Land b_bug2503 onto HEAD (20040127_1701)
b=2503
r=zab,shaver
buffalo-pull [Wed, 28 Jan 2004 00:13:16 +0000 (00:13 +0000)]
- tagging RC_CURRENT
adilger [Tue, 27 Jan 2004 23:39:17 +0000 (23:39 +0000)]
Don't dereference NULL dentry for NFS root (BG/l testing).
b=2464
adilger [Tue, 27 Jan 2004 21:25:16 +0000 (21:25 +0000)]
Don't hard-code lconf path, use PATH instead.
jacob [Tue, 27 Jan 2004 20:28:13 +0000 (20:28 +0000)]
synchronize changelog with final 1.0.3 version
adilger [Tue, 27 Jan 2004 17:15:38 +0000 (17:15 +0000)]
Update b_smallfix from HEAD (20040116_1201).
wangdi [Tue, 27 Jan 2004 17:00:08 +0000 (17:00 +0000)]
add ext3-extents patch to snapfs
cvs2svn [Tue, 27 Jan 2004 16:56:59 +0000 (16:56 +0000)]
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.1.2'.
wangdi [Tue, 27 Jan 2004 16:56:55 +0000 (16:56 +0000)]
add ext3-record-extents-ea.patch for sparse extents in snapfs
wangdi [Tue, 27 Jan 2004 16:53:31 +0000 (16:53 +0000)]
rename snapfs-core-2.4.20.patch to ext3-snapfs-2.4.20.patch, resolve some confilcts after add ext3-extents patch, some minor fix
wangchao [Tue, 27 Jan 2004 04:13:12 +0000 (04:13 +0000)]
b=2552
r=shaver
Don't allow batchfile contain --merge, --input and --output for lmc --batch batchfile.
jacob [Tue, 27 Jan 2004 03:27:04 +0000 (03:27 +0000)]
b=2516
merge up to RC_1_0_3_5:
work around lameness in mkkerneldoth
shaver [Mon, 26 Jan 2004 23:38:28 +0000 (23:38 +0000)]
b=2605: fix conf-sanity test 9 (--ptldebug/--subsystem in lmc and lconf)
r=ccooper
buffalo-pull [Mon, 26 Jan 2004 23:32:02 +0000 (23:32 +0000)]
- tagging RC_CURRENT
alex [Mon, 26 Jan 2004 20:33:49 +0000 (20:33 +0000)]
- port of extents for 2.4.21-suse2 series
- bug in extents fixed: it could cause tree corruption
- minor bug in extents fixed: during tree growing it could possible
to get suboptimal size for index block
adilger [Mon, 26 Jan 2004 17:54:09 +0000 (17:54 +0000)]
Merge HEAD->bug974 (20040126_1001).
b=974
wangdi [Mon, 26 Jan 2004 17:49:36 +0000 (17:49 +0000)]
1)In migration, get rid of page and buffer of src inode(fs_flushinval_pages). 2)fix some lock problems in ext3_create_indirect
adilger [Mon, 26 Jan 2004 17:42:17 +0000 (17:42 +0000)]
Allow sanityN.sh to be run with SANITYLOG so all tests are run and failure
is reported at the end.
wangdi [Mon, 26 Jan 2004 17:42:03 +0000 (17:42 +0000)]
some fix about snapfs
1)add clonefs check before snap delete
2)some fix about orphan list
3)initialize inode in mknod, mkdir symlink ...
4)some fix about symlinks
5)add some snapshot filter operations (listxattr, getxattr)
6)some fix about sparse files
7)fix page buffer problems in snap delete and snap_do_cow
8)adding some functions in snapconf.
: ----------------------------------------------------------------------
adilger [Mon, 26 Jan 2004 06:25:31 +0000 (06:25 +0000)]
Don't fail llog test if no MDS is available on the client.
phil [Mon, 26 Jan 2004 03:10:59 +0000 (03:10 +0000)]
- Call fdatasync before brw_kiovec in the filter write path (part of 2366 fix)
- Fix an incorrect LVB cdebug
cvs2svn [Sat, 24 Jan 2004 12:23:57 +0000 (12:23 +0000)]
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.1.2'.
alex [Sat, 24 Jan 2004 12:23:54 +0000 (12:23 +0000)]
- reworked extents patch against 2.4.20
- support for extents in EA
- access to extents stored in EA via ioctl
adilger [Sat, 24 Jan 2004 00:58:45 +0000 (00:58 +0000)]
Do what I actually did in b_bug974 when I was testing this.
adilger [Sat, 24 Jan 2004 00:52:42 +0000 (00:52 +0000)]
Don't run test 56 with bogus /proc file name on client-only setup.
buffalo-pull [Sat, 24 Jan 2004 00:42:18 +0000 (00:42 +0000)]
- tagging RC_CURRENT
adilger [Fri, 23 Jan 2004 23:35:36 +0000 (23:35 +0000)]
Ignore XMLCONFIG file.
jacob [Fri, 23 Jan 2004 22:47:22 +0000 (22:47 +0000)]
b=2516
finish landing patch. (merge up to RC_1_0_3_4 of b1_0)
nic [Fri, 23 Jan 2004 19:36:40 +0000 (19:36 +0000)]
b=2255
r=adliger
fix bug in sanity test 60 where llog_test was oopsing in insmod on ia64
shaver [Fri, 23 Jan 2004 18:21:02 +0000 (18:21 +0000)]
b=2572: default to large inodes, sized according to default striping pattern,
with --inode-size override for lmc and lconf
r=rread,adilger
alex [Fri, 23 Jan 2004 16:08:57 +0000 (16:08 +0000)]
- minor bug fixed in ea-in-inode for ext3
adilger [Fri, 23 Jan 2004 01:52:40 +0000 (01:52 +0000)]
Always remove test files after test completes to avoid ENOSPC for other tests.
Allow slightly more space to be left in case of uneven OST usage.
b=974
adilger [Fri, 23 Jan 2004 00:50:34 +0000 (00:50 +0000)]
ENOSPC test for two mountpoints for sanityN.sh. It even passes ;-).
b=974
adilger [Fri, 23 Jan 2004 00:50:32 +0000 (00:50 +0000)]
file oos2.sh was initially added on branch b_bug974.
zab [Fri, 23 Jan 2004 00:25:19 +0000 (00:25 +0000)]
b=2301
jacob's fix which stops the spec from altering slapd.conf
( this time on HEAD for realsies )
buffalo-pull [Fri, 23 Jan 2004 00:01:27 +0000 (00:01 +0000)]
- tagging RC_CURRENT
adilger [Thu, 22 Jan 2004 21:47:38 +0000 (21:47 +0000)]
Fix bug 2587 - sanity test 56 - so I can pass this on LOV on my system.
b=2587
buffalo-pull [Thu, 22 Jan 2004 04:32:53 +0000 (04:32 +0000)]
- tagging RC_CURRENT
jacob [Thu, 22 Jan 2004 01:56:50 +0000 (01:56 +0000)]
requested by radhika:
* remove lustre-HOWTO from cvs/build, as it's now on a wiki page.
* disable lustre.pdf building by default.
adilger [Wed, 21 Jan 2004 18:23:03 +0000 (18:23 +0000)]
Sync up HEAD ChangeLog to match b1_0.
adilger [Wed, 21 Jan 2004 05:47:55 +0000 (05:47 +0000)]
Move lov/lov_pack.c messages into LOV subsystem.
buffalo-pull [Wed, 21 Jan 2004 03:07:21 +0000 (03:07 +0000)]
- tagging RC_CURRENT
buffalo-pull [Tue, 20 Jan 2004 01:07:19 +0000 (01:07 +0000)]
- tagging RC_CURRENT
shaver [Mon, 19 Jan 2004 18:47:33 +0000 (18:47 +0000)]
Landing b_elan4.
wangdi [Mon, 19 Jan 2004 07:44:38 +0000 (07:44 +0000)]
some minor fix in delete snapshot
wangdi [Mon, 19 Jan 2004 07:43:59 +0000 (07:43 +0000)]
some fix in delete snapshot
tianying [Mon, 19 Jan 2004 04:09:56 +0000 (04:09 +0000)]
* update b_orphan from HEAD (HEAD_ORPHAN_UPDATE_PARENT_20040119_1101)
zab [Sun, 18 Jan 2004 23:08:15 +0000 (23:08 +0000)]
- revert the b=1934 fix from 1/16 to stop llmount from hanging
wangdi [Sun, 18 Jan 2004 17:16:31 +0000 (17:16 +0000)]
1) some minor fix in copy_back_pages 2)add snap_delete 3) some minor fix
niu [Sun, 18 Jan 2004 04:47:18 +0000 (04:47 +0000)]
* update head to localrpc
* remove needless lock operations in localrpc
wangdi [Sat, 17 Jan 2004 18:00:31 +0000 (18:00 +0000)]
1 add some initial snapfs process in ext3_readsupre, 2 get rid of copy_block for reguarl file in snapfs kernel patch
wangdi [Sat, 17 Jan 2004 17:45:33 +0000 (17:45 +0000)]
some minor fix in copy_back_pages
wangdi [Sat, 17 Jan 2004 13:46:45 +0000 (13:46 +0000)]
put copy_block method of regular file in snapfs module not in kernel patches
buffalo-pull [Sat, 17 Jan 2004 06:42:51 +0000 (06:42 +0000)]
- tagging RC_CURRENT
tianying [Sat, 17 Jan 2004 04:02:05 +0000 (04:02 +0000)]
* b:1934 - fix mds_cleanup_orphans
* r: Robert
allocate dirent dynamicly
wangchao [Sat, 17 Jan 2004 02:05:02 +0000 (02:05 +0000)]
b=2510
r=adilger
add a test case to sanity.sh for lfs find
zab [Fri, 16 Jan 2004 20:06:08 +0000 (20:06 +0000)]
- print the uuid string, not the struct that contains it.
adilger [Fri, 16 Jan 2004 18:57:30 +0000 (18:57 +0000)]
Ignore test-generated files.
wangdi [Fri, 16 Jan 2004 15:35:26 +0000 (15:35 +0000)]
add .cvsignore and get rid of -lptlctl flag
wangdi [Fri, 16 Jan 2004 13:19:34 +0000 (13:19 +0000)]
update snapfs kernel patch 1)rewrite ext3_copy_blk according to the generic_file_write 2)get rid of some useless code 3)some minor fix in debug print
wangdi [Fri, 16 Jan 2004 13:03:05 +0000 (13:03 +0000)]
update snapfs 1)add mntget and mntput for snap_current when mount snap_clone 2)get rid of bmap in currentfs_write and fix some bug in it 3)some minor fix
ericm [Fri, 16 Jan 2004 08:24:29 +0000 (08:24 +0000)]
liblustre:
- revert yesterday's build change. current must work with old libsysio.
buffalo-pull [Thu, 15 Jan 2004 23:24:36 +0000 (23:24 +0000)]
- tagging RC_CURRENT
ericm [Thu, 15 Jan 2004 11:48:18 +0000 (11:48 +0000)]
liblustre:
- forward fix #2451
- other minor fix
ericm [Thu, 15 Jan 2004 11:30:35 +0000 (11:30 +0000)]
liblustre:
- minor fix
ericm [Thu, 15 Jan 2004 10:25:29 +0000 (10:25 +0000)]
merge from HEAD:
20030115
tianying [Thu, 15 Jan 2004 08:27:44 +0000 (08:27 +0000)]
Update from HEAD
niu [Thu, 15 Jan 2004 06:59:59 +0000 (06:59 +0000)]
* minor fix
ericm [Thu, 15 Jan 2004 05:00:06 +0000 (05:00 +0000)]
liblustre:
- minor build fix
niu [Thu, 15 Jan 2004 03:54:12 +0000 (03:54 +0000)]
* refine local rpc code
* update from HEAD
wangchao [Thu, 15 Jan 2004 02:48:38 +0000 (02:48 +0000)]
b=2510
r=adilger
Fix "lfs find --obd" to limit the output as it should.
adilger [Thu, 15 Jan 2004 02:04:48 +0000 (02:04 +0000)]
Revert inclusion of ldlm/Makefile in configure.in in v26 landing so
"make rpms" works again. The ldlm files are really built as part of
ptlrpc/Makefile (symlinks, ugh). If we want a better solution we
should include ldlm in lustre/Makefile.am SRCDIR and test it all first.
buffalo-pull [Thu, 15 Jan 2004 01:35:06 +0000 (01:35 +0000)]
- tagging RC_CURRENT
rread [Thu, 15 Jan 2004 01:06:12 +0000 (01:06 +0000)]
put declaration before the code.
alex [Thu, 15 Jan 2004 00:06:25 +0000 (00:06 +0000)]
- 2.6 fixes landed
rread [Wed, 14 Jan 2004 23:47:15 +0000 (23:47 +0000)]
Update the subsystem and ptldebug arrays to reflect reality. Also add
support for just setting the debug and/or subsystem, which I often use
with -nv so I can see what the hex value of some set of levels is.
rread [Wed, 14 Jan 2004 23:37:22 +0000 (23:37 +0000)]
Set SUBSYSTEM to the default, so we get decent logs from buffalo
again.
Increase OSTSIZE to 50MB, so replay-ost-single.sh doesn't fill the
filesystem.
adilger [Wed, 14 Jan 2004 21:47:48 +0000 (21:47 +0000)]
Add finished line to iopentest1.
adilger [Wed, 14 Jan 2004 20:56:08 +0000 (20:56 +0000)]
Re-enable test 42b. UML testing shows no ill effects. This might have been
fixed with the introduction of OST-destroy [0-EOF] locking.
b=1979
alex [Wed, 14 Jan 2004 16:29:15 +0000 (16:29 +0000)]
- fast ea patch against 2.6.0 added (builds and passes sanity/acc-sm)
cvs2svn [Wed, 14 Jan 2004 16:29:14 +0000 (16:29 +0000)]
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.1.2'.
alex [Wed, 14 Jan 2004 16:29:13 +0000 (16:29 +0000)]
file ext3-ea-in-inode-2.6.0.patch was initially added on branch b_v26.
wangdi [Wed, 14 Jan 2004 14:17:56 +0000 (14:17 +0000)]
update snapfs 1. fix bug in write table_count in write snap_table 2. fixbug in replace write method of filter ops 3.prepare parent dentry before lookup 4. some minor fix