Whamcloud - gitweb
cvs2svn [Tue, 3 Feb 2004 18:21:49 +0000 (18:21 +0000)]
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.1.2'.
alex [Tue, 3 Feb 2004 18:21:47 +0000 (18:21 +0000)]
- series for uml on 2.6.0
NOTE: subsytem initialize order problem is to be solved yet
wangdi [Tue, 3 Feb 2004 16:39:38 +0000 (16:39 +0000)]
update smfs. 1)fix bugs in sm_read_super 2) add some methods in symlink ops
rread [Tue, 3 Feb 2004 07:43:47 +0000 (07:43 +0000)]
python 1.5 doesn't have isspace() (I know, how barbaric), but this should
do just as well.
wangchao [Tue, 3 Feb 2004 03:18:20 +0000 (03:18 +0000)]
b=2603
r=shaver
work with --mkfsoptions of ost in lmc and lconf
buffalo-pull [Tue, 3 Feb 2004 02:03:28 +0000 (02:03 +0000)]
- tagging RC_CURRENT
zab [Mon, 2 Feb 2004 22:06:26 +0000 (22:06 +0000)]
- add a helper to call bc with a specified precision
- run an iostat -x on each block device during each test
- reformat a bit to make room for the iostat reports
eeb [Mon, 2 Feb 2004 20:16:23 +0000 (20:16 +0000)]
* Modified socknal to...
. NOT bump the module refcount when a new peer is found
. Clean up all open connections and autoconnect route table entries on
module unload.
zab [Mon, 2 Feb 2004 19:42:40 +0000 (19:42 +0000)]
- try to verify that a bdev is alive by reading from it
- more carefully cleanup to avoid error messages in early cleanup
zab [Mon, 2 Feb 2004 18:31:22 +0000 (18:31 +0000)]
- add an argument to select which tests to run
wangdi [Mon, 2 Feb 2004 16:48:15 +0000 (16:48 +0000)]
update smfs
tianying [Mon, 2 Feb 2004 13:56:38 +0000 (13:56 +0000)]
Update b_bug1934 from HEAD (20040202_2102).
cvs2svn [Sun, 1 Feb 2004 17:42:37 +0000 (17:42 +0000)]
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.1.2'.
wangdi [Sun, 1 Feb 2004 17:42:36 +0000 (17:42 +0000)]
update smfs, add some files dir.c cache.c inode.c still many problems, will fix them soon
alex [Sat, 31 Jan 2004 20:58:36 +0000 (20:58 +0000)]
- ldlm builds as part of ptlrpc
wangdi [Sat, 31 Jan 2004 17:00:59 +0000 (17:00 +0000)]
add mount cache in sm_read_super
wangdi [Sat, 31 Jan 2004 09:00:38 +0000 (09:00 +0000)]
add smfs
buffalo-pull [Sat, 31 Jan 2004 00:52:01 +0000 (00:52 +0000)]
- tagging RC_CURRENT
adilger [Sat, 31 Jan 2004 00:47:46 +0000 (00:47 +0000)]
Update b_orphan from HEAD (20040130_1601)
buffalo-pull [Sat, 31 Jan 2004 00:46:14 +0000 (00:46 +0000)]
- tagging RC_CURRENT
adilger [Sat, 31 Jan 2004 00:33:58 +0000 (00:33 +0000)]
Land b_orphan on HEAD (20040130_1601)
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
eeb [Fri, 30 Jan 2004 23:42:57 +0000 (23:42 +0000)]
file .cvsignore was initially added on branch b_cray_portals_merge.
alex [Fri, 30 Jan 2004 22:58:06 +0000 (22:58 +0000)]
- ext3_ext_insert_extent() tries to merge as many extents as possible
moving to the right side
- ext3_ext_find_goal() takes into account offset of a block to be allocated
(thanks to Andreas for smart idea)
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.
alex [Fri, 30 Jan 2004 16:44:50 +0000 (16:44 +0000)]
- ext3_ext_new_extent_cb() unmaps buffer_heads in order to prevent
cache-aliasing problems
- ext3_forget() should be used in conjuction with ext3_free_blocks()
NOTE: 2.4.24 + extents + batching block allocation passes data-consistency
tests now (at least I haven't seen problems for many hours of testing)
wangchao [Fri, 30 Jan 2004 02:10:53 +0000 (02:10 +0000)]
b=1171
r=shaver
rewrite new_uuid function for lmc
buffalo-pull [Fri, 30 Jan 2004 00:52:07 +0000 (00:52 +0000)]
- tagging RC_CURRENT
shaver [Fri, 30 Jan 2004 00:46:15 +0000 (00:46 +0000)]
Add a tiny sleep to keep from hitting multiop with a signal before it gets set
up for it.
r=coop
adilger [Thu, 29 Jan 2004 19:58:26 +0000 (19:58 +0000)]
Fix build problems with RH ia64 kernel on TDEV/Thunder:
- they back-ported PDE from 2.6, which broke our compat macro
- they changed direct_IO method to pass struct file instead of struct inode
Both are now checked in portals/archdep.m4 directly instead of as a version
number check so we don't need to worry about other releases doing the same.
adilger [Thu, 29 Jan 2004 19:51:44 +0000 (19:51 +0000)]
Fix compile warnings due to print format mismatches.
alex [Thu, 29 Jan 2004 15:43:02 +0000 (15:43 +0000)]
- initial implementation of batching block allocator for ext3
lots of tweaking to be done yet
eeb [Thu, 29 Jan 2004 15:13:02 +0000 (15:13 +0000)]
* Changed qswnal.h to expect more recent QSW headers (it had a
work-around for missing #defines that are now in the QSW release).
alex [Thu, 29 Jan 2004 14:11:06 +0000 (14:11 +0000)]
- internal testing and extra checks should be disabled by default
alex [Thu, 29 Jan 2004 13:35:38 +0000 (13:35 +0000)]
- locking reworked in ext3_ext_new_extent_cb(). this change solved
possible deadlock
- locking in extent's ioctl added
- ext3_ext_walk_space() drops bh's references in path before finding
next extent
NOTE: dbench and syntetic tests work OK in vmware for many hours
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