Whamcloud - gitweb
fs/lustre-release.git
20 years agoLanding b_bug974 onto HEAD (20040213_1538).
adilger [Fri, 13 Feb 2004 23:17:53 +0000 (23:17 +0000)]
Landing b_bug974 onto HEAD (20040213_1538).

Adds support for client-side write cache accounting via OST write credits
(grants).  There is not yet a "correction" algorithm for grants if they
get out of sync between the client and OST (OST can handle clients who think
they have grant but do not).  Peter had previously suggested that grants
should decay over time (faster on the clients than on the OSTs) so idle
nodes do not consume space they aren't using.

Use /proc/fs/lustre/osc/OSC*/cur_grant_bytes (and existing cur_dirty_bytes)
to check client-side cache values.

Includes lustre-side changes for lfsck support (create files with
specific objids, create specific objids on OSTs).

Also includes some changes to the testing scripts (local.sh, lov.sh, acc-sm)
so that they include a "client nid '*'" client and can be used for sanityN.sh
testing.  This has been put into the main acceptance-small.sh loop so that
sanityN.sh will be run on both single and multi-OST setups.

b=974 b=2349
r=shaver

20 years agoLand b_smallfix onto HEAD (20040213_1402)
adilger [Fri, 13 Feb 2004 21:32:19 +0000 (21:32 +0000)]
Land b_smallfix onto HEAD (20040213_1402)

20 years agoOr rather just old ones, since this bites me sometimes.
adilger [Fri, 13 Feb 2004 18:00:39 +0000 (18:00 +0000)]
Or rather just old ones, since this bites me sometimes.

20 years agoIgnore all .mergeinfo files.
adilger [Fri, 13 Feb 2004 17:59:21 +0000 (17:59 +0000)]
Ignore all .mergeinfo files.

20 years agoUpdate smfs: fix bugs of smfs_create
wangdi [Fri, 13 Feb 2004 14:28:46 +0000 (14:28 +0000)]
Update smfs: fix bugs of smfs_create

20 years agoUpdate smfs: some fix about clear_inode in smfs
wangdi [Fri, 13 Feb 2004 07:23:00 +0000 (07:23 +0000)]
Update smfs: some fix about clear_inode in smfs

20 years agob=2618
nic [Thu, 12 Feb 2004 20:13:10 +0000 (20:13 +0000)]
b=2618
r=shaver

get lconf to panic() when no host entry is found. using panic() will prevent
lconf from exiting cleanly when this happens.

20 years agoDon't pass garbage mode bits to the filesystem with O_CREAT.
adilger [Thu, 12 Feb 2004 18:19:54 +0000 (18:19 +0000)]
Don't pass garbage mode bits to the filesystem with O_CREAT.
It is really the fault of K&R that there are 2 different open prototypes.

20 years agoFix obvious cut-n-paste error in lov_brw_check() (would only be noticable
adilger [Thu, 12 Feb 2004 10:29:25 +0000 (10:29 +0000)]
Fix obvious cut-n-paste error in lov_brw_check() (would only be noticable
during OSC failure).

20 years agoFix comment to refer to a function which actually exists.
adilger [Thu, 12 Feb 2004 09:29:59 +0000 (09:29 +0000)]
Fix comment to refer to a function which actually exists.

20 years ago- tagging RC_CURRENT
buffalo-pull [Thu, 12 Feb 2004 04:43:53 +0000 (04:43 +0000)]
- tagging RC_CURRENT

20 years agob=2699
rread [Thu, 12 Feb 2004 01:28:08 +0000 (01:28 +0000)]
b=2699

Make sure this request was replied before unpacking, and if not return
an error.

20 years ago- be sure to run the tests with 0 debugging
zab [Wed, 11 Feb 2004 22:19:49 +0000 (22:19 +0000)]
- be sure to run the tests with 0 debugging

20 years agoHave the loopback OST/MDS files use the same names as the other tests, so
adilger [Wed, 11 Feb 2004 18:19:32 +0000 (18:19 +0000)]
Have the loopback OST/MDS files use the same names as the other tests, so
that my root filesystem doesn't fill up with all the different files.

20 years agoupdate smfs, some fix about read in smfs
wangdi [Wed, 11 Feb 2004 09:29:52 +0000 (09:29 +0000)]
update smfs, some fix about read in smfs

20 years ago- tagging RC_CURRENT
buffalo-pull [Wed, 11 Feb 2004 03:02:55 +0000 (03:02 +0000)]
- tagging RC_CURRENT

20 years agob=2019
wangchao [Wed, 11 Feb 2004 02:22:36 +0000 (02:22 +0000)]
b=2019
r=adilger

have lconf create large journals

20 years agob=2079
wangchao [Wed, 11 Feb 2004 02:18:04 +0000 (02:18 +0000)]
b=2079
r=shaver

replace OBD_IOC_LIST ioctl with reading /proc/fs/lustre/devices

20 years ago- record 'readprofile' profiles if they are available
zab [Tue, 10 Feb 2004 22:25:15 +0000 (22:25 +0000)]
- record 'readprofile' profiles if they are available
- record all the test commands that are run

20 years agoinitialize force_umount = 0
rread [Tue, 10 Feb 2004 21:39:45 +0000 (21:39 +0000)]
initialize force_umount = 0

20 years agoLanding b_smallfix onto HEAD (20040210_1202)
adilger [Tue, 10 Feb 2004 20:32:56 +0000 (20:32 +0000)]
Landing b_smallfix onto HEAD (20040210_1202)

20 years agoAdd cvsdiffclient and cvs-modified-files.pl to CVS (needs a usage note).
adilger [Tue, 10 Feb 2004 20:20:36 +0000 (20:20 +0000)]
Add cvsdiffclient and cvs-modified-files.pl to CVS (needs a usage note).

20 years agoAdd land[12].sh and add some extra checks to merge[12].sh.
adilger [Tue, 10 Feb 2004 20:19:28 +0000 (20:19 +0000)]
Add land[12].sh and add some extra checks to merge[12].sh.

20 years agofile Makefile.in was initially added on branch b_bug1414.
shaocheng [Tue, 10 Feb 2004 09:44:50 +0000 (09:44 +0000)]
file Makefile.in was initially added on branch b_bug1414.

20 years agofile Makefile was initially added on branch b_bug1414.
shaocheng [Tue, 10 Feb 2004 09:44:49 +0000 (09:44 +0000)]
file Makefile was initially added on branch b_bug1414.

20 years agofile lustre_user.h was initially added on branch b_bug1414.
shaocheng [Tue, 10 Feb 2004 09:44:48 +0000 (09:44 +0000)]
file lustre_user.h was initially added on branch b_bug1414.

20 years agofile liblustreapi.h was initially added on branch b_bug1414.
shaocheng [Tue, 10 Feb 2004 09:44:47 +0000 (09:44 +0000)]
file liblustreapi.h was initially added on branch b_bug1414.

20 years agofile Makefile.am was initially added on branch b_bug1414.
shaocheng [Tue, 10 Feb 2004 09:44:46 +0000 (09:44 +0000)]
file Makefile.am was initially added on branch b_bug1414.

20 years agofile ll_dirstripe_verify.c was initially added on branch b_bug1414.
shaocheng [Tue, 10 Feb 2004 09:34:13 +0000 (09:34 +0000)]
file ll_dirstripe_verify.c was initially added on branch b_bug1414.

20 years agofile ll_dirstripe_verify was initially added on branch b_bug1414.
shaocheng [Tue, 10 Feb 2004 09:34:09 +0000 (09:34 +0000)]
file ll_dirstripe_verify was initially added on branch b_bug1414.

20 years agoFix a merge error in conf-sanity.sh. Using CMDVERBOSE this way was
rread [Tue, 10 Feb 2004 08:59:13 +0000 (08:59 +0000)]
Fix a merge error in conf-sanity.sh.  Using CMDVERBOSE this way was
passing "> /dev/null" as an extra argument to the functions, and this
is not really what we want.  Since I don't think it's all that bad to
see the output of lconf, anyway, I just deleted the >/dev/null
entirely.

While looking into this, I also noticed that mount -f was still
attempting to fetch the log from the MDS. That is fixed, too.

20 years agoupdate smfs, some minor fix about symlink, link and rename
wangdi [Tue, 10 Feb 2004 04:32:11 +0000 (04:32 +0000)]
update smfs, some minor fix about symlink, link and rename

20 years agoCorrect description for bug 1934.
adilger [Tue, 10 Feb 2004 04:15:04 +0000 (04:15 +0000)]
Correct description for bug 1934.

20 years ago- tagging RC_CURRENT
buffalo-pull [Tue, 10 Feb 2004 00:35:50 +0000 (00:35 +0000)]
- tagging RC_CURRENT

20 years agoFix mkfsoptions support for osts.
adilger [Tue, 10 Feb 2004 00:21:17 +0000 (00:21 +0000)]
Fix mkfsoptions support for osts.
b=2603, b=2604

20 years agoAdditional debugging for MDS client eviction problem (from 1.0.4).
adilger [Tue, 10 Feb 2004 00:15:19 +0000 (00:15 +0000)]
Additional debugging for MDS client eviction problem (from 1.0.4).
b=2443

20 years agoPrint out dotted-quad IP addresses in the socknal (from 1.0.4)
adilger [Tue, 10 Feb 2004 00:11:08 +0000 (00:11 +0000)]
Print out dotted-quad IP addresses in the socknal (from 1.0.4)
b=2302

20 years agoFix timeouts when evicting a client with a single lock held (from 1.0.4).
adilger [Tue, 10 Feb 2004 00:07:02 +0000 (00:07 +0000)]
Fix timeouts when evicting a client with a single lock held (from 1.0.4).
b=2642

20 years agoDon't leave stale dentries around after renames (from 1.0.4).
adilger [Tue, 10 Feb 2004 00:02:17 +0000 (00:02 +0000)]
Don't leave stale dentries around after renames (from 1.0.4).
b=2428

20 years agoZero end of page at obdfilter for partial page writes (from 1.0.4).
adilger [Mon, 9 Feb 2004 23:40:41 +0000 (23:40 +0000)]
Zero end of page at obdfilter for partial page writes (from 1.0.4).
b=2648
r=phil

20 years agoRPM build fix from 1.0.4
adilger [Mon, 9 Feb 2004 23:27:33 +0000 (23:27 +0000)]
RPM build fix from 1.0.4
r=jacob

20 years agoDon't flag the ptlrpcd thread with PF_MEMALLOC (from 1.0.4).
adilger [Mon, 9 Feb 2004 23:10:25 +0000 (23:10 +0000)]
Don't flag the ptlrpcd thread with PF_MEMALLOC (from 1.0.4).
b=2636

20 years agoFix truncate-vs-write corruption - truncate wasn't marking the last partial
adilger [Mon, 9 Feb 2004 23:07:20 +0000 (23:07 +0000)]
Fix truncate-vs-write corruption - truncate wasn't marking the last partial
page dirty in any lists (from 1.0.4).
b=2366

20 years agoFix for failed assertion in iopen_connect_dentry (2.4 kernels only, from b1_0).
adilger [Mon, 9 Feb 2004 22:29:42 +0000 (22:29 +0000)]
Fix for failed assertion in iopen_connect_dentry (2.4 kernels only, from b1_0).
b=1792, b=2517

20 years agoFix "implicit declaration" warning
rread [Mon, 9 Feb 2004 21:59:58 +0000 (21:59 +0000)]
Fix "implicit declaration" warning

20 years agoUpdate ChangeLog with fixes from b_recovery landing.
adilger [Mon, 9 Feb 2004 21:49:23 +0000 (21:49 +0000)]
Update ChangeLog with fixes from b_recovery landing.

20 years agoupdate smfs 1)delete inode->i_list in smfs_delete_inode for the cache inode will...
wangdi [Mon, 9 Feb 2004 16:39:39 +0000 (16:39 +0000)]
update smfs 1)delete inode->i_list in smfs_delete_inode for the cache inode will have no chance to release it in iput 2)fix bugs in file read and write 3) some fixs for unlink and rmdir

20 years agoFixes and improvements in tmpfs-sanity.sh
yury [Mon, 9 Feb 2004 14:00:59 +0000 (14:00 +0000)]
Fixes and improvements in tmpfs-sanity.sh

20 years agoFixes in tmp-sanity.sh
yury [Mon, 9 Feb 2004 13:55:50 +0000 (13:55 +0000)]
Fixes in tmp-sanity.sh

20 years agoadded tmpfs-xattr to vanilla-2.4.20
yury [Mon, 9 Feb 2004 13:26:30 +0000 (13:26 +0000)]
added tmpfs-xattr to vanilla-2.4.20

20 years agoAdded CONFIG_TMPFS_XATTR=y in vanilla 2.4.20 config
yury [Mon, 9 Feb 2004 13:25:12 +0000 (13:25 +0000)]
Added CONFIG_TMPFS_XATTR=y in vanilla 2.4.20 config

20 years agoAdded tmpfs-xattr patch for vanilla 2.4.20
yury [Mon, 9 Feb 2004 13:23:49 +0000 (13:23 +0000)]
Added tmpfs-xattr patch for vanilla 2.4.20

20 years agoAdded tmpfs-sanity.sh which checks if xattr support for tmpfs works fine.
yury [Mon, 9 Feb 2004 13:20:28 +0000 (13:20 +0000)]
Added tmpfs-sanity.sh which checks if xattr support for tmpfs works fine.

20 years agominor fix about smfs in Makefile.am
wangdi [Mon, 9 Feb 2004 04:44:31 +0000 (04:44 +0000)]
minor fix about smfs in Makefile.am

20 years ago- missed some calls to zconf_mount/umount in the test scripts when I
rread [Sun, 8 Feb 2004 22:45:24 +0000 (22:45 +0000)]
- missed some calls to zconf_mount/umount in the test scripts when I
  updated insanity

20 years agoupdate smfs.c 1)fix bugs of inode and dentry in dir.c
wangdi [Sun, 8 Feb 2004 18:35:26 +0000 (18:35 +0000)]
update smfs.c 1)fix bugs of inode and dentry in dir.c

20 years agoLanding b_recovery
rread [Sat, 7 Feb 2004 21:59:04 +0000 (21:59 +0000)]
Landing b_recovery

The principal change here is ptlrpc_connect_import and recovery are
merged and are now asynchronous and are run on ptlrpcd.

This branch also includes fixes for

  2477 (this was the initial bug)

  2355 recover for initial connections

  1934 (b_1934 was merged directly to b_recovery)

  1901 block all file creations until orphan recovery completes

  2423 client remove rq_connection from request struct

  2640 conf-sanity test_5, and proper cleanup in umount when
       cleanup log is not availale.

  2670 recovery timer race

  2532 mdc_close recovey bug

And few others that werent' filed.

20 years agooops! just forget commit a fix in the last commit
wangdi [Sat, 7 Feb 2004 18:52:59 +0000 (18:52 +0000)]
oops! just forget commit a fix in the last commit

20 years agoupdate smfs 1)fix read file bugs 2)add some superblock operations 3)some minor fix
wangdi [Sat, 7 Feb 2004 18:46:05 +0000 (18:46 +0000)]
update smfs 1)fix read file bugs 2)add some superblock operations 3)some minor fix

20 years ago* Fixed 2634 ("instant" socknal timeout?)
eeb [Sat, 7 Feb 2004 11:44:41 +0000 (11:44 +0000)]
*  Fixed 2634 ("instant" socknal timeout?)

*  Fixed 2684 ("static declaration of ep_nmd_merge...)

20 years ago- tagging RC_CURRENT
buffalo-pull [Sat, 7 Feb 2004 04:18:54 +0000 (04:18 +0000)]
- tagging RC_CURRENT

20 years agoQuiet warning on ia64 compiles.
adilger [Sat, 7 Feb 2004 01:26:30 +0000 (01:26 +0000)]
Quiet warning on ia64 compiles.

20 years agoFix type mismatch errors found on ia64.
adilger [Sat, 7 Feb 2004 01:19:35 +0000 (01:19 +0000)]
Fix type mismatch errors found on ia64.

20 years agob=2683
zab [Sat, 7 Feb 2004 00:37:01 +0000 (00:37 +0000)]
b=2683
In the echo_client's prep/commit test ioo_bufcnt could be out of
sync with the npages given to obd_{prep,commit}rw.

20 years ago- use-after-free debugging tool against 2.4.24
alex [Fri, 6 Feb 2004 22:54:44 +0000 (22:54 +0000)]
- use-after-free debugging tool against 2.4.24
- additional functionality: free routine checks for possible corruptions
  after given size

20 years ago- we have to get undo access for block bitmaps
alex [Fri, 6 Feb 2004 22:51:28 +0000 (22:51 +0000)]
- we have to get undo access for block bitmaps
- check for invalid goald in ext3_new_blocks() and correct if needed

20 years agoUpdate ChangeLog
adilger [Fri, 6 Feb 2004 21:14:38 +0000 (21:14 +0000)]
Update ChangeLog
b=2370

20 years agoMake it clear which error was hit in test 62 (failed in buffalo testing of 974).
adilger [Fri, 6 Feb 2004 21:03:22 +0000 (21:03 +0000)]
Make it clear which error was hit in test 62 (failed in buffalo testing of 974).

20 years agoupdate smfs, 1)add dir and files methods of smfs 2) some fixes of it
wangdi [Fri, 6 Feb 2004 16:38:06 +0000 (16:38 +0000)]
update smfs, 1)add dir and files methods of smfs 2) some fixes of it

20 years agofile dirstripe.sh was initially added on branch b_bug1414.
shaocheng [Fri, 6 Feb 2004 09:19:03 +0000 (09:19 +0000)]
file dirstripe.sh was initially added on branch b_bug1414.

20 years ago- few additional asserts added
alex [Fri, 6 Feb 2004 07:21:20 +0000 (07:21 +0000)]
- few additional asserts added

20 years ago- tagging RC_CURRENT
buffalo-pull [Fri, 6 Feb 2004 03:12:30 +0000 (03:12 +0000)]
- tagging RC_CURRENT

20 years agob=2623
nic [Fri, 6 Feb 2004 02:20:29 +0000 (02:20 +0000)]
b=2623
r=ccooper

Fix problem where none of the tests were checking for a successfull cleanup.
Error in cleanup when modules are still loaded.

20 years ago- add an overwrite pass
zab [Fri, 6 Feb 2004 01:48:56 +0000 (01:48 +0000)]
- add an overwrite pass
- clean up output directory creation

20 years agoadd some methods in file.c
wangdi [Thu, 5 Feb 2004 18:25:41 +0000 (18:25 +0000)]
add some methods in file.c

20 years ago- ext3 batching allocation against suse2 series
alex [Thu, 5 Feb 2004 17:58:11 +0000 (17:58 +0000)]
- ext3 batching allocation against suse2 series
- ext3-mballoc* patches export ext3_new_blocks()

20 years ago- export few extents-related functions
alex [Thu, 5 Feb 2004 17:56:30 +0000 (17:56 +0000)]
- export few extents-related functions

20 years agoupdate smfs 1)some fix in cache mount 2)some fix in lookup and touch, create
wangdi [Thu, 5 Feb 2004 17:37:36 +0000 (17:37 +0000)]
update smfs 1)some fix in cache mount 2)some fix in lookup and touch, create

20 years ago* Removed support for old (pre open source) QSW installations
eeb [Thu, 5 Feb 2004 11:51:17 +0000 (11:51 +0000)]
*  Removed support for old (pre open source) QSW installations

20 years ago- tagging RC_CURRENT
buffalo-pull [Thu, 5 Feb 2004 01:15:24 +0000 (01:15 +0000)]
- tagging RC_CURRENT

20 years ago- collect basic oprofile results when it is available
zab [Thu, 5 Feb 2004 01:02:07 +0000 (01:02 +0000)]
- collect basic oprofile results when it is available
- make the output directory if it doesn't exist
- add a forgotten item to the key

20 years ago- require iozone with the -+o patch
zab [Wed, 4 Feb 2004 18:21:40 +0000 (18:21 +0000)]
- require iozone with the -+o patch
- simplify iozone file cleanup a little
- scale each thread's io contribution based on the number of threads
- fix sloppy shell arg passing that accidentally worked

20 years agoupdate smfs 1.fix bugs of read_super. 2.some minor fix
wangdi [Wed, 4 Feb 2004 17:08:26 +0000 (17:08 +0000)]
update smfs 1.fix bugs of read_super. 2.some minor fix

20 years ago- tagging RC_CURRENT
buffalo-pull [Wed, 4 Feb 2004 00:30:28 +0000 (00:30 +0000)]
- tagging RC_CURRENT

20 years ago- clean up last_block cleanup a little
zab [Tue, 3 Feb 2004 19:47:14 +0000 (19:47 +0000)]
- clean up last_block cleanup a little
- teach the iozone test to use multiple threads
- add a -e argument to specify the obdecho module by hand
- the echo_filter test performs reads and on the right number of pages
- use more representative io sizes
- use 'getconf PAGE_SIZE' to find the page size on the machine

20 years ago- series for uml on 2.6.0
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

20 years agoupdate smfs. 1)fix bugs in sm_read_super 2) add some methods in symlink ops
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

20 years agopython 1.5 doesn't have isspace() (I know, how barbaric), but this should
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.

20 years agob=2603
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

20 years ago- tagging RC_CURRENT
buffalo-pull [Tue, 3 Feb 2004 02:03:28 +0000 (02:03 +0000)]
- tagging RC_CURRENT

20 years ago- add a helper to call bc with a specified precision
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

20 years ago* Modified socknal to...
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.

20 years ago- try to verify that a bdev is alive by reading from it
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

20 years ago- add an argument to select which tests to run
zab [Mon, 2 Feb 2004 18:31:22 +0000 (18:31 +0000)]
- add an argument to select which tests to run

20 years agoupdate smfs
wangdi [Mon, 2 Feb 2004 16:48:15 +0000 (16:48 +0000)]
update smfs

20 years agoupdate smfs, add some files dir.c cache.c inode.c still many problems, will fix them...
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

20 years ago- ldlm builds as part of ptlrpc
alex [Sat, 31 Jan 2004 20:58:36 +0000 (20:58 +0000)]
- ldlm builds as part of ptlrpc

20 years agoadd mount cache in sm_read_super
wangdi [Sat, 31 Jan 2004 17:00:59 +0000 (17:00 +0000)]
add mount cache in sm_read_super

20 years agoadd smfs
wangdi [Sat, 31 Jan 2004 09:00:38 +0000 (09:00 +0000)]
add smfs

20 years ago- tagging RC_CURRENT
buffalo-pull [Sat, 31 Jan 2004 00:52:01 +0000 (00:52 +0000)]
- tagging RC_CURRENT