Whamcloud - gitweb
fs/lustre-release.git
16 years agoBranch b1_6
yangsheng [Mon, 15 Oct 2007 05:27:11 +0000 (05:27 +0000)]
Branch b1_6
b=13748
i=shadow
i=johann

Update RHEL4 kernel to fix the vulnerability described in CVE-2007-4573.

16 years agoBranch: b1_6
wangdi [Sun, 14 Oct 2007 19:32:41 +0000 (19:32 +0000)]
Branch: b1_6
b=13570
In filter_check_grant, for non_grant cache write, we should
check the left space by  if (*left > ungranted + bytes), instead
of (*left > ungranted), because only we are sure the left space
is enough for another "bytes", then the ungrant space should be
increase. In client, we should update cl_avail_grant only there is
OBD_MD_FLGRANT in the reply.
i=adilger,green

16 years agoBranch b1_6
yujian [Sun, 14 Oct 2007 04:33:14 +0000 (04:33 +0000)]
Branch b1_6
b=13207
i=nathan
i=brian

1) Adapt the lustre_config script to support upgrading 1.4 server targets
   to 1.6 in parallel.
2) Fix a path issue in lustre_createcsv.

16 years agob=13807
yury [Sat, 13 Oct 2007 09:35:44 +0000 (09:35 +0000)]
b=13807
r=adilger,nathan
- fixed race in ldlm_namespace_new() when new namespace could be aded to its list before initializing its pool. This led to panic when ldlm pools thread find this namespace before ldlm_namespace_new() finishes its init.

16 years agob=13868
yury [Sat, 13 Oct 2007 09:15:42 +0000 (09:15 +0000)]
b=13868
r=adilger,nathan
- fixed handling user input in lprocfs_wr_lru_size().

16 years agob=13028
grev [Sat, 13 Oct 2007 00:33:36 +0000 (00:33 +0000)]
b=13028
i=Adilger

add recursive symlink test_17e

16 years agob=13128
kalpak [Fri, 12 Oct 2007 22:17:57 +0000 (22:17 +0000)]
b=13128
i=kalpak, rupesh (patch by adilger)

add -type option to lfs find

16 years agoBranch b1_6
liuy [Fri, 12 Oct 2007 06:51:57 +0000 (06:51 +0000)]
Branch b1_6
b=13732
i=johann, liuy

change order of libsysio includes

16 years agob=13599
grev [Thu, 11 Oct 2007 21:27:13 +0000 (21:27 +0000)]
b=13599
i=Nathan
i=Scjody

use multiop instead of exec

16 years agob=13734
grev [Thu, 11 Oct 2007 18:03:58 +0000 (18:03 +0000)]
b=13734
i=Nathan
i=Adilger

make CLEANUP and SETUP usage more consistent

16 years agoAdd a new module llite_lloop in rpm package.
jxiong [Wed, 10 Oct 2007 06:09:30 +0000 (06:09 +0000)]
Add a new module llite_lloop in rpm package.

16 years agoBranch b1_6
adilger [Tue, 9 Oct 2007 19:32:56 +0000 (19:32 +0000)]
Branch b1_6
Add missing connect flag in obd_connect_names for flags only in HEAD.

16 years agoBranch b1_6
johann [Tue, 9 Oct 2007 07:03:36 +0000 (07:03 +0000)]
Branch b1_6
b=13659
i=nathan

enable D_OTHER (= D_ADAPTTO) for AT test.

16 years agoBranch b1_6
johann [Tue, 9 Oct 2007 05:05:37 +0000 (05:05 +0000)]
Branch b1_6
b=11686
i=adilger
i=green

Move changelog entry from lustre/ChangeLog to lnet/ChangeLog.

16 years agoBranch b1_6
johann [Mon, 8 Oct 2007 19:47:04 +0000 (19:47 +0000)]
Branch b1_6
b=11686
i=adilger
i=green

Severity   : enhancement
Bugzilla   : 11686
Description: Console message flood
Details    : Make cdls ratelimiting more tunable by adding several tunable in
     procfs /proc/sys/lnet/console_{min,max}_delay_centisecs and
     /proc/sys/lnet/console_backoff.

16 years agob=11694
komaln [Mon, 8 Oct 2007 14:44:56 +0000 (14:44 +0000)]
b=11694
r=Nathan, Adilger
This patch changes the default stripe policy, when changed on root of the
filesystem using 'lfs setstripe' command.

16 years agoBranch b1_6
yangsheng [Mon, 8 Oct 2007 08:05:04 +0000 (08:05 +0000)]
Branch b1_6
b=13751
i=shadow
i=johann

Update target & which_patch file for RHEL5 2.6.18-8.1.14.el5.

16 years agoBranch b1_6
bobijam [Mon, 8 Oct 2007 03:05:54 +0000 (03:05 +0000)]
Branch b1_6
b=12744
i=johann, adilger

NR_CPUS/smp_num_cpus -> num_possible_cpus().

16 years agob=13773
walter [Sat, 6 Oct 2007 13:36:14 +0000 (13:36 +0000)]
b=13773
i=adilger

16 years agob=13726
walter [Sat, 6 Oct 2007 13:29:34 +0000 (13:29 +0000)]
b=13726
i=adilger

16 years agob=13478
walter [Sat, 6 Oct 2007 13:20:03 +0000 (13:20 +0000)]
b=13478
i=adilger
i=green

16 years agoBranch b1_6
adilger [Sat, 6 Oct 2007 03:36:02 +0000 (03:36 +0000)]
Branch b1_6
Move block device configuration commands out of "testing (DANGEROUS)" section
of the lctl help.
b=5498

16 years agoBranch b1_6
adilger [Sat, 6 Oct 2007 03:25:47 +0000 (03:25 +0000)]
Branch b1_6
Description: enable data checksumming by default
Details    : enable checksum by default, allow --disable-checksum
     configure option and "-o nochecksum" mount option.  Checksums
     can also be disabled at runtime via $LPROC/osc/*/checksums.
b=13579
i=nathan
i=johann

16 years agoBranch b1_6
adilger [Sat, 6 Oct 2007 02:45:16 +0000 (02:45 +0000)]
Branch b1_6
Description: enable data checksumming by default
Details    : enable checksum by default, allow --disable-checksum
       configure option and "-o nochecksum" mount option.  Checksums
     can also be disabled at runtime via $LPROC/osc/*/checksum_pages.
b=13579
i=nathan
i=johann

Minor fixes to get sanity.sh running.

16 years agoBranch b1_6
adilger [Sat, 6 Oct 2007 02:29:20 +0000 (02:29 +0000)]
Branch b1_6
Use a 64-bit variable for RPC XID in case of async write error.
b=2066
i=liuy
i=nathan

16 years agoBranch b1_6
adilger [Sat, 6 Oct 2007 01:56:40 +0000 (01:56 +0000)]
Branch b1_6
Fix up acceptance-small.sh to take multiple OSTs into account when
calculating free space.  Don't setstripe on the root directory.
b=13587
i=scjody
i=nathan

16 years agob=13800
grev [Fri, 5 Oct 2007 19:11:06 +0000 (19:11 +0000)]
b=13800
i=Nathan
i=Anserper

change relative pathname to absolute

16 years agoFix off-by-one error in file length calculation.
deen [Thu, 4 Oct 2007 16:22:23 +0000 (16:22 +0000)]
Fix off-by-one error in file length calculation.
Original patch by green.

b=10919
i=adilger
i=tianzy

16 years agob=13080
komaln [Thu, 4 Oct 2007 12:52:42 +0000 (12:52 +0000)]
b=13080
r=Adilger, Shadow

Prevent large kmalloc in lprocfs_alloc_stats() for per-client statistics.

16 years agorevert fix from bug 13563, because it produce oops in tests 24o and 51.
shadow [Thu, 4 Oct 2007 06:34:34 +0000 (06:34 +0000)]
revert fix from bug 13563, because it produce oops in tests 24o and 51.
b=13723

16 years agoremove wrong debug code.
shadow [Wed, 3 Oct 2007 04:59:46 +0000 (04:59 +0000)]
remove wrong debug code.

16 years agoimprove handling recoverable errors
shadow [Tue, 2 Oct 2007 10:29:16 +0000 (10:29 +0000)]
improve handling recoverable errors
b=11710
i=green
i=johann

16 years agob=13541
walter [Tue, 2 Oct 2007 01:20:30 +0000 (01:20 +0000)]
b=13541
i=green
i=adilger

16 years agob=13491
walter [Mon, 1 Oct 2007 19:12:22 +0000 (19:12 +0000)]
b=13491
i=green
i=adilger

16 years agoBranch b1_6
yangsheng [Sun, 30 Sep 2007 03:39:22 +0000 (03:39 +0000)]
Branch b1_6
b=13452
i=scjody
i=mjmac

Kernel config & target file for vanilla kernel-2.6.18.8.

16 years agoFixed make dist.
jxiong [Fri, 28 Sep 2007 04:37:43 +0000 (04:37 +0000)]
Fixed make dist.

16 years agoBranch b1_6
yangsheng [Fri, 28 Sep 2007 04:04:02 +0000 (04:04 +0000)]
Branch b1_6
b=13518
i=shadow
i=johann

Modify the vm-tunables-rhel4.patch for RHEL4 kernel-2.6.9-55.0.6.

16 years agorecommit the patch for bug 5498.
jxiong [Fri, 28 Sep 2007 03:27:24 +0000 (03:27 +0000)]
recommit the patch for bug 5498.

16 years agob=13716
nathan [Thu, 27 Sep 2007 23:21:20 +0000 (23:21 +0000)]
b=13716
typo

16 years agob=13537
nathan [Thu, 27 Sep 2007 22:50:32 +0000 (22:50 +0000)]
b=13537
i=adilger
limit connection switch max to obd_timeout,
don't ignore the req timeout of the first reconnecting client

16 years agob=5498
mjmac [Thu, 27 Sep 2007 21:24:17 +0000 (21:24 +0000)]
b=5498
* reverting broken commit (b1_6 does not build with this commit)

16 years agob=11673
kalpak [Thu, 27 Sep 2007 13:47:02 +0000 (13:47 +0000)]
b=11673
i=andreas, green

If LAST_ID value on disk is smaller than the objects existing in the O/0/d* directories, it indicates disk corruption and causes an LBUG(). If the object is 0-length, then we should use the existing object. This will help to avoid a full fsck in most cases.

16 years agob=13454
kalpak [Thu, 27 Sep 2007 13:21:33 +0000 (13:21 +0000)]
b=13454
r=bzzz, kalpak

jbd-stats patch for rhel5 and 2.6.18.8-vanilla

16 years agonot revalidate dentry if it root dentry.
shadow [Thu, 27 Sep 2007 12:04:08 +0000 (12:04 +0000)]
not revalidate dentry if it root dentry.
b=13334
i=green
i=johann

16 years agoBranch b1_6
bwzhou [Thu, 27 Sep 2007 11:41:51 +0000 (11:41 +0000)]
Branch b1_6
b=12207

add parentheses to eliminate compiling warnings in the original patch

16 years agoBranch b1_6
adilger [Thu, 27 Sep 2007 09:09:03 +0000 (09:09 +0000)]
Branch b1_6
Quiet overly verbose messages when trying to set block device tunables.
There are many reasons why these might fail (e.g. LVM, older kernel, etc).
b=11230
i=nathan

16 years agoBranch b1_6
bwzhou [Thu, 27 Sep 2007 05:41:10 +0000 (05:41 +0000)]
Branch b1_6
b=12207
i=johann
i=shadow

hide trusted.lov to the users and export it internally as lustre.lov

16 years agorestore this file. wrongly uploaded just now.
jxiong [Thu, 27 Sep 2007 05:13:51 +0000 (05:13 +0000)]
restore this file. wrongly uploaded just now.

16 years agob=5498
jxiong [Thu, 27 Sep 2007 05:09:24 +0000 (05:09 +0000)]
b=5498
r=andreas,wangdi
w
Add support for lustre loop device emulator.

16 years agob=13541
mjmac [Thu, 27 Sep 2007 03:39:03 +0000 (03:39 +0000)]
b=13541
Reverting broken commit.

16 years agoBranch b1_6
bwzhou [Thu, 27 Sep 2007 03:15:17 +0000 (03:15 +0000)]
Branch b1_6
b=12840
i=green
i=johann

prevent self-evicting through procfs

16 years agoBranch b1_6
bobijam [Thu, 27 Sep 2007 02:52:19 +0000 (02:52 +0000)]
Branch b1_6
b=12948
i= wangdi, johann

Description: buffer overruns could theoretically occur
Details    : llapi_semantic_traverse() modifies the "path" argument by
             appending values to the end of the origin string, and a buffer
             overrun may occur. Adding buffer overrun check in liblustreapi.

16 years agoBranch b1_6
bwzhou [Thu, 27 Sep 2007 02:09:48 +0000 (02:09 +0000)]
Branch b1_6
b=13720
i=johann

check for existence of $LUSTRE/utils/l_getgroups before using it as group upcall

16 years agob=13716
nathan [Wed, 26 Sep 2007 23:36:58 +0000 (23:36 +0000)]
b=13716
i=adilger
i=green
clear invalid exp ref, take real references in ptlrpc_at_send_early_reply

16 years agobz-13541
walter [Wed, 26 Sep 2007 21:00:47 +0000 (21:00 +0000)]
bz-13541

16 years agoBranch b1_6
adilger [Wed, 26 Sep 2007 20:05:40 +0000 (20:05 +0000)]
Branch b1_6
Move patches that landed for 1.6.3 after branching into 1.6.3 section.
Remove entry for reverted patch b=10657.
Move 11270 out of 1.6.3 section.

16 years agoll_setattr_raw/truncate: there should be no
zam [Wed, 26 Sep 2007 19:10:08 +0000 (19:10 +0000)]
ll_setattr_raw/truncate: there should be no
ll_extent_lock after a successful obd_match.
b=11270
i=vitaly
i=green

16 years agob=13696
yury [Wed, 26 Sep 2007 18:49:54 +0000 (18:49 +0000)]
b=13696
r=adilger,nathan
- adds "lruresize" and "nolruresize" mount options;
- adds lru resize performance test.

16 years agob=2262
yury [Wed, 26 Sep 2007 17:21:56 +0000 (17:21 +0000)]
b=2262
r=adilger,nathan
- fixed possible divide by zero in ldlm_pools_shrink();
- in ldlm_cancel_lru_local() cancel not more than requested locks in case count is specified (not lru resize case, proc one).

16 years agob=13557
grev [Wed, 26 Sep 2007 02:00:13 +0000 (02:00 +0000)]
b=13557
i=Adilger

set stripecount correctly

16 years agoBranch b1_6
adilger [Tue, 25 Sep 2007 19:38:22 +0000 (19:38 +0000)]
Branch b1_6
Remove ancient tag file.

16 years agoBranch b1_6
adilger [Tue, 25 Sep 2007 18:17:14 +0000 (18:17 +0000)]
Branch b1_6
Move $RUNAS initialization until after cfg parsing so that $RUNAS_ID can
be set in the cfg file.  Use "error" instead of "echo".
b=12609

16 years agoBranch b1_6
adilger [Tue, 25 Sep 2007 16:39:32 +0000 (16:39 +0000)]
Branch b1_6
Description: e2fsck reports "invalid unused inodes count"
Details    : If a new ldiskfs filesystem is created with the "uninit_groups"
     feature and only a single inode is created in a group then the
     "bg_unused_inodes" count is incorrectly updated.  Creating a
     second inode in that group would update it correctly.
i=behlendorf
i=valerie

16 years agobz-13516
walter [Tue, 25 Sep 2007 16:36:06 +0000 (16:36 +0000)]
bz-13516

16 years agoconvert uint64_t to __u64
walter [Tue, 25 Sep 2007 15:18:42 +0000 (15:18 +0000)]
convert uint64_t to __u64

16 years agob=13504
grev [Tue, 25 Sep 2007 09:34:22 +0000 (09:34 +0000)]
b=13504
i=Nathan

give multiop chan��e to start before umount client.

16 years agoBranch b1_6
huanghua [Tue, 25 Sep 2007 02:42:36 +0000 (02:42 +0000)]
Branch b1_6
b=13685
b=11401
i=adilger
i=tappro

fix race condition in stopping statahead thread.

16 years agoBranch b1_6
huanghua [Tue, 25 Sep 2007 02:37:34 +0000 (02:37 +0000)]
Branch b1_6
b=13653
b=11401
i=adilger
i=green

dir entry may have been removed before statahead starts.

16 years agob=13537
nathan [Mon, 24 Sep 2007 16:53:05 +0000 (16:53 +0000)]
b=13537
b=3055
in some cases we wouldn't schedule at ptlrpc_invalidate_import
cap reconnect ping interval
use simple reconnect backoff instead of "drain"

16 years agoBranch b1_6
bwzhou [Mon, 24 Sep 2007 09:46:03 +0000 (09:46 +0000)]
Branch b1_6
b=12609
i=johann
i=tianzy

set l_getgroups as the default group upcall for MDS;
a minor fix on sanity.sh

16 years agoBranch b1_6
yangsheng [Mon, 24 Sep 2007 03:44:51 +0000 (03:44 +0000)]
Branch b1_6
b=13616
i=johann
i=scjody

Modify target file & which_kernel for RHEL5 2.6.18-8.1.10.el5 kernel.

16 years agob=13669
nathan [Thu, 20 Sep 2007 17:04:50 +0000 (17:04 +0000)]
b=13669
i=adilger
i=green
send early replies even after we've packed the final reply.

16 years agob=2262
yury [Thu, 20 Sep 2007 12:15:45 +0000 (12:15 +0000)]
b=2262
r=vitaly,nikita
- slv recalc fixes and cleanups in ldlm_pool.c;
- fixes and cleanups in lru resize sanity test 124.

16 years agob=13632
yury [Thu, 20 Sep 2007 07:46:47 +0000 (07:46 +0000)]
b=13632
r=adilger, nikita
- Do not take namespace list lock while doing pool shrink or recalc, so that locks cancel may be done without ns list lock.

16 years agoBranch b1_6
huanghua [Thu, 20 Sep 2007 07:06:27 +0000 (07:06 +0000)]
Branch b1_6
b=11401
i=shadow
i=tappro

- use cfs_* macros and functions instead of linux primitives (a=12609)
- cast fixing (a=12706)

16 years agob=13664
yury [Thu, 20 Sep 2007 06:57:39 +0000 (06:57 +0000)]
b=13664
r=adilger, nathan
- use cancel_lru_locks in replay-ost-single.sh test_4 to cancel cached locks instead of using buggy echo -n clear > $i/lru_size

16 years agoBranch b1_6
bwzhou [Thu, 20 Sep 2007 06:33:50 +0000 (06:33 +0000)]
Branch b1_6
b=12234
i=adilger
i=johann
correct the cast of 'index' in obd_device_list_seq_show()

16 years agob=13499
grev [Thu, 20 Sep 2007 03:05:33 +0000 (03:05 +0000)]
b=13499
i=Adilger

Wait recovery complete before AFTERUSED is checked.

16 years agob=13587
grev [Thu, 20 Sep 2007 00:46:20 +0000 (00:46 +0000)]
b=13587
i=Scjody

set stripe count over all OSTs; calculate SIZE based on min kbytesfree.

16 years agob=13628
grev [Thu, 20 Sep 2007 00:08:39 +0000 (00:08 +0000)]
b=13628
i=Adilger
i=Nathan

do not create recursive dirs

16 years agob=12613
grev [Wed, 19 Sep 2007 23:48:34 +0000 (23:48 +0000)]
b=12613
i=Nathan

remove 18 from A_E list

16 years agob=12613
grev [Wed, 19 Sep 2007 23:01:13 +0000 (23:01 +0000)]
b=12613
i=Adilger
i=Nathan

test_18 MDS_MKFS_OPTS fix; cfg/local.sh MKFSOPT fix.

16 years agob=10825
grev [Wed, 19 Sep 2007 22:15:05 +0000 (22:15 +0000)]
b=10825
i=Adilger

make ALWAYS_EXCEPT usage more consistent.

16 years agob=13078
grev [Wed, 19 Sep 2007 21:52:15 +0000 (21:52 +0000)]
b=13078

new 1.4 image from Andreas.

16 years agob=13078
grev [Wed, 19 Sep 2007 21:11:49 +0000 (21:11 +0000)]
b=13078
i=Adilger
b=13649
i=Nathan

SAVE_PWD fix; 32a, 32b 35 fixes: disk1_4 correct path, correct FSNAME.

16 years agocorrention patch for the lockless i/o code addesses the following problems:
zam [Wed, 19 Sep 2007 20:22:26 +0000 (20:22 +0000)]
corrention patch for the lockless i/o code addesses the following problems:
. "false conflicts" may cause file contention and switching to lockless i/o
. compilation warning on a 64-bit platform
. contention reports are recorded as lustre errors
. llap_from_page complains about wrong llap_checksums for lockless pages
. assertions needed to be sure that ll_releasepage is called on pages with
  locks only
. NS_DEFAULT_CONTENDED_LOCKS=0 was considered as wrong default value

and, the lockless read/write is disabled by default now.

b=11270
i=green
i=adilger

16 years agoBranch b1_6
johann [Wed, 19 Sep 2007 18:59:23 +0000 (18:59 +0000)]
Branch b1_6
b=13358
i=nikita

add regression test.

16 years agoBranch b1_6
johann [Wed, 19 Sep 2007 18:57:13 +0000 (18:57 +0000)]
Branch b1_6
b=13358
i=nikita
i=bobijam

Don't LASSERT correctness of data obtained through the network.

16 years agob=12900
grev [Tue, 18 Sep 2007 16:00:48 +0000 (16:00 +0000)]
b=12900
i=Adilger

export DIR2 tdir

16 years agoBranch b1_6
adilger [Mon, 17 Sep 2007 17:10:34 +0000 (17:10 +0000)]
Branch b1_6
Add OBD_CONNECT_MDS_MDS and OBD_CONNECT_REAL from HEAD so we don't get any
conflicts in the future.

16 years agoBranch b1_6
adilger [Mon, 17 Sep 2007 16:24:16 +0000 (16:24 +0000)]
Branch b1_6
Add OBD_CONNECT_MDS_MDS and OBD_CONNECT_REAL from HEAD so we don't get any
conflicts in the future.

16 years ago- fixed arguments order in ldlm_dump_all_namespaces().
yury [Sat, 15 Sep 2007 13:01:54 +0000 (13:01 +0000)]
- fixed arguments order in ldlm_dump_all_namespaces().

16 years agob=13610
kalpak [Sat, 15 Sep 2007 07:14:43 +0000 (07:14 +0000)]
b=13610

Fix typo in last commit.

16 years agob=13610
kalpak [Sat, 15 Sep 2007 07:06:58 +0000 (07:06 +0000)]
b=13610
i=andreas, johann

The changed prototype of ext_prepare_callback will be used in lustre if HAVE_EXT_PREPARE_CB_EXTENT is declared.

16 years agob=13553
nathan [Fri, 14 Sep 2007 22:38:38 +0000 (22:38 +0000)]
b=13553
i=adilger
df after clearing fail_loc

16 years agoBranch b1_6
adilger [Fri, 14 Sep 2007 21:58:43 +0000 (21:58 +0000)]
Branch b1_6
Disable client page cache checksumming by default. This does not affect
the wire checksumming, and only adds a lot of CPU overhead that is mostly
useful only for debugging rare client memory corruption vs. the more
common network transfer corruption. It can be enabled at runtime via
"echo 1 > $LPROC/llite/*/checksum_pages".
b=13579
i=scjody
i=nathan

16 years agoBranch b1_6
adilger [Fri, 14 Sep 2007 21:52:16 +0000 (21:52 +0000)]
Branch b1_6
b=13547, b=13627
Description: Data corruption for OSTs that are formatted larger than 2TB
             on 32-bit servers.
Details    : When generating the bio request for lustre file writes the
     sector number would overflow a temporary variable before being
     used for the IO.  The data reads correctly from Lustre (which
     will overflow in a similar manner) but other file data or
     filesystem metadata may be corrupted in some cases.

16 years agob=13394
grev [Fri, 14 Sep 2007 17:49:51 +0000 (17:49 +0000)]
b=13394
i=Nathan

get rid of "./"

16 years agofix small typo in last commit.
shadow [Fri, 14 Sep 2007 17:42:58 +0000 (17:42 +0000)]
fix small typo in last commit.
b=13304

16 years agob=13457
cliffw [Fri, 14 Sep 2007 17:33:14 +0000 (17:33 +0000)]
b=13457
i=nathan
i=brian

fixes option syntax for lfs