Whamcloud - gitweb
fs/lustre-release.git
14 years agob=20997 Reset imp_vbr_fail flag upon eviction
Mike Tappro [Wed, 17 Feb 2010 07:45:43 +0000 (10:45 +0300)]
b=20997 Reset imp_vbr_fail flag upon eviction

Flag was reset when recovery ends but recovery can be aborted and this flag
stands after reconnection and cause false eviction later

i=rread
i=zam

14 years agob=21501 flock in process hangs on eviction, does not fail
Oleg Drokin [Wed, 17 Feb 2010 07:01:03 +0000 (10:01 +0300)]
b=21501 flock in process hangs on eviction, does not fail

Wake up waiters when failed lock gets completion AST due to eviction.

i=adilger
i=bzzz

14 years agob=21982 long file truncate problem
Vladimir Saveliev [Tue, 16 Feb 2010 16:30:28 +0000 (19:30 +0300)]
b=21982 long file truncate problem

fix (use loff_t for truncate size instead of size_t) and unit test

i=jinshan.xiong
i=adilger

14 years agob=21147 several fixes and enhancements for quota
Andrew Perepechko [Sat, 13 Feb 2010 00:27:14 +0000 (03:27 +0300)]
b=21147 several fixes and enhancements for quota

1) allow consecutive quotaons
2) a locking fix
3) call build_lqs from a single point in the code

i=Johann Lombardi
i=ZhiYong Tian

14 years agob=16195 handle request size correctly in ptlrpc_add_rqs_to_pool()
Vitaly Fertman [Fri, 12 Feb 2010 15:45:05 +0000 (18:45 +0300)]
b=16195 handle request size correctly in ptlrpc_add_rqs_to_pool()

i=adilger
i=johann

14 years agob=21881 Fix trap in rpc.sh.
Robert Read [Fri, 12 Feb 2010 17:27:23 +0000 (09:27 -0800)]
b=21881  Fix trap in rpc.sh.

14 years agob=21881 mdt_num_threads tuning
Nicolas Williams [Thu, 11 Feb 2010 21:26:24 +0000 (15:26 -0600)]
b=21881 mdt_num_threads tuning

Fixes to mdt_handler.c so that it honors mdt_num_threads in the same manner as
ost_handler.c does for oss_num_threads.  Enhancements to the test framework and
new tests (53a and b, to check for thread tunable behavior) for conf-sanity are
included.

i=adilger@sun.com
i=robert.read@sun.com

14 years agob=19069 save nid string into buffer before creating dir
hongchao.zhang [Thu, 11 Feb 2010 20:41:06 +0000 (12:41 -0800)]
b=19069 save nid string into buffer before creating dir

in lprocfs_exp_setup, save the nid string gotten from
libcfs_nid2str into a temporary buffer before calling
lprocfs_register to create proc directory, then to
avoid the race on the internal nid string buffer.

i=johann@sun.com
i=zhen.liang@sun.com

14 years agob=1028 drop SOM dependency on quota
Vitaly Fertman [Thu, 11 Feb 2010 20:39:36 +0000 (12:39 -0800)]
b=1028 drop SOM dependency on quota

once SOM attributes are moved to EA, there is no need to disabled quota when SOM is enabled

i=fanyong
i=tappro

14 years agob=21882 handle SLV==1 on client side
Vitaly Fertman [Thu, 11 Feb 2010 20:39:33 +0000 (12:39 -0800)]
b=21882 handle SLV==1 on client side

Initialize ldlm pool SLV to 0 on client side to handle SLV==1 obtained from server correctly

i=reen
i=adilger

14 years agob=21882 lru resize SLV can get stuck
Vitaly Fertman [Thu, 11 Feb 2010 20:39:33 +0000 (12:39 -0800)]
b=21882 lru resize SLV can get stuck

calculate SLV with a greater precision to not lose small changes due to interger math truncation;
round up SLV only if the amount of granted locks less than the limit to not get stuck with this SLV

i-adilger
i=green

14 years agob=15977 analyse only consistent part of the log
Vitaly Fertman [Thu, 11 Feb 2010 20:39:25 +0000 (12:39 -0800)]
b=15977 analyse only consistent part of the log

due to debug log buffer overflow, old messages are lost;
as each CPU has its own buffers which overflows at different time,
it may happen that FREE is lost for still existing ALLOC;
make leak_finder to analyze the log since the oldest overflow time.

i=rread
i=green

14 years agob=20057 Add the timestamp back to the test headers.
Robert Read [Thu, 11 Feb 2010 05:07:17 +0000 (21:07 -0800)]
b=20057 Add the timestamp back to the test headers.

a=manoj
i=rread
i=grev

14 years agob=21411 Improvement for AT to handle timeout more accurate.
yangsheng [Tue, 9 Feb 2010 21:06:02 +0000 (05:06 +0800)]
b=21411 Improvement for AT to handle timeout more accurate.

i=nathan
i=tappro

14 years agob=16909 Simplify MDT/OST service start message
Landen [Tue, 9 Feb 2010 05:23:49 +0000 (13:23 +0800)]
b=16909 Simplify MDT/OST service start message

i=nathan
i=adilger

14 years agob=21900 ost-pools test_25: FAIL: /mnt/lustre/d0.ost-pools/d25/file1 not allocated...
Dmitry Zogin [Tue, 9 Feb 2010 02:56:16 +0000 (21:56 -0500)]
b=21900 ost-pools test_25: FAIL: /mnt/lustre/d0.ost-pools/d25/file1 not allocated from OSTs 0.

Modify ost-pools test_25 to wait for MDS-OST connection to re-establish.

 i=johann

14 years agob=21278 fix linkea definition and unaligned access.
Eric Mei [Mon, 8 Feb 2010 23:57:43 +0000 (16:57 -0700)]
b=21278 fix linkea definition and unaligned access.

link_ea_entry->lee_reclen should be defined as unsigned char instead
of char which might get sign expansion during conversion.
fix unaligned memory access to link_ea_entry->lee_parent_fid.

i=nathan
i=rahul

14 years agob=21278 fix a memory leak in mdd_links_get().
Eric Mei [Mon, 8 Feb 2010 23:57:23 +0000 (16:57 -0700)]
b=21278 fix a memory leak in mdd_links_get().

i=nathan
i=rahul

14 years agob=17197 stride read-ahead fix
Wang Di [Mon, 8 Feb 2010 23:52:21 +0000 (18:52 -0500)]
b=17197 stride read-ahead fix

14 years agob=16526 don't send raw inode flags on the wire.
Eric Mei [Mon, 8 Feb 2010 23:24:46 +0000 (16:24 -0700)]
b=16526 don't send raw inode flags on the wire.

inode flags should be convert to platform-neutral MDS_*_FL before
being sent on the wire. Also removed unused flags MDS_BFLAG_EXT_FLAGS.

i=adilger

14 years agob=21049 Fix a missed change from original patch.
Robert Read [Wed, 10 Feb 2010 18:47:19 +0000 (10:47 -0800)]
b=21049 Fix a missed change from original patch.

14 years agob=21486 Unlink truncated reply buffer
Liang Zhen [Wed, 10 Feb 2010 13:30:31 +0000 (05:30 -0800)]
b=21486 Unlink truncated reply buffer

i=eric.mei
i=eeb

14 years agob=21396 Don't hog cpu in connd.
Liang Zhen [Wed, 10 Feb 2010 13:30:10 +0000 (05:30 -0800)]
b=21396 Don't hog cpu in connd.

i=he.huang
i=maxim.patlasov

14 years agob=21564 Print mmp_check_interval in kmmpd
Girish Shilamkar [Fri, 5 Feb 2010 15:04:15 +0000 (20:34 +0530)]
b=21564 Print mmp_check_interval in kmmpd

The patch not only prints mmp_check_interval but also makes it possible
to abort mount operation in case it takes too long.

i=adilger

14 years agob=18030 deadlock fix
Alexander.Zarochentev [Fri, 5 Feb 2010 07:25:08 +0000 (10:25 +0300)]
b=18030 deadlock fix

Start the transaction earlier in llog_lvfs_destroy to get transaction start
and inode mutex lock nested properly.

i=zam
i=adilger

14 years agob=21738 conf-sanity 42 should set conf_param on the MGS
Nathan Rutman [Wed, 3 Feb 2010 20:33:30 +0000 (12:33 -0800)]
b=21738 conf-sanity 42 should set conf_param on the MGS

i=rread

14 years agob=21551 holding ->lli_size_sem to update inode size
Jay Xiong [Thu, 4 Feb 2010 04:17:05 +0000 (12:17 +0800)]
b=21551 holding ->lli_size_sem to update inode size

- Fixed i_size_write in vvp_io_commit_write, it has to be called under ->lli_size_sem
- clenaup the code.

i=wangdi
i=green

14 years agoPrepare for Build 36. 1.10.0.36 2.0.0_alpha7 v1_10_0_36
Robert Read [Thu, 4 Feb 2010 23:55:21 +0000 (15:55 -0800)]
Prepare for Build 36.

14 years agob=21924 create test dir before starting changelogs
Nathan Rutman [Wed, 3 Feb 2010 20:09:37 +0000 (12:09 -0800)]
b=21924 create test dir before starting changelogs

i=rread
A test-level directory (d0.lustre-rsync-test) was recently added to the $tdir path.
This directory is created before the tests are run.  But lustre-rsync requires the
source and target systems to be identical before the changelog is started; the
presence of this directory in the source, missing in the target, causes the
failure seen here.  This patch simply creates $tdir on the source and target
before each test is run, insuring a coherent starting state.

14 years agob=21558 improve test 21b COS=0 check
Alexander.Zarochentev [Wed, 3 Feb 2010 18:01:03 +0000 (21:01 +0300)]
b=21558 improve test 21b COS=0 check

In test 21b, when testing that the dependent renames are not replied if COS=0,
there is still a window when transactions may be written to disk before the
mds device is set R/O. To avoid such a rare test failure, the check is
repeated several times.

i=tappro
i=rober.read

14 years agob=21264 workaround dd bus error
Alexander.Zarochentev [Wed, 3 Feb 2010 18:01:02 +0000 (21:01 +0300)]
b=21264 workaround dd bus error

A buggy coreutils/gettext combination workaround.  Suppressing dd xfer
statistic makes dd do not call gnu gettext library and avoid crashing.

i=robert.read

14 years agob=21259 "lfs check" is only allowed for root.
Dmitry Zogin [Wed, 3 Feb 2010 14:41:27 +0000 (09:41 -0500)]
b=21259 "lfs check" is only allowed for root.

Code cleanup around obd_class_*() functions and sanity test for non-root lfs check

 i=adilger
 i=andrew.perepechko

14 years agob=21879 fix hr->hr_index overload
Alexander.Zarochentev [Wed, 3 Feb 2010 09:00:47 +0000 (12:00 +0300)]
b=21879 fix hr->hr_index overload

i=eric.barton
i=zhen.liang

14 years agob=21355 fix initiailzation of recovery thread
Jay Xiong [Wed, 3 Feb 2010 03:13:22 +0000 (11:13 +0800)]
b=21355 fix initiailzation of recovery thread

Recovery thread calls cfs_daemonize() to detach the thread context, this causes all recovery threads share a common fs_struct: init_fs. We should call cfs_daemonize_ctxt() instead.

i=wangdi
i=tappro

14 years agob=21632 Kernel update for RHEL5.4 2.6.18-164.11.1.el5.
yangsheng [Tue, 2 Feb 2010 12:40:24 +0000 (20:40 +0800)]
b=21632 Kernel update for RHEL5.4 2.6.18-164.11.1.el5.

i=johann

14 years agob=21433 trace the processing for "no quota" flag on client-side
Fan Yong [Tue, 2 Feb 2010 10:54:58 +0000 (18:54 +0800)]
b=21433 trace the processing for "no quota" flag on client-side

Trace the processing for "no quota" flag on client-side.

i=robert
i=landen

14 years agob=19742 fixed the fiemap functionality
Rahul Deshmukh [Tue, 2 Feb 2010 08:44:41 +0000 (14:14 +0530)]
b=19742 fixed the fiemap functionality

Fixed the fiemap functionality and enable sanity test_130*.

i=adilger
i=johann

14 years agob=21890 Remove bash -TE flags from acceptance-small.sh
Robert Read [Wed, 3 Feb 2010 08:15:15 +0000 (00:15 -0800)]
b=21890 Remove bash -TE flags from acceptance-small.sh

These flags is not needed since test-framework sets the error trap in all the scripts.

14 years agob=20989 Don't search for inode in nfs get_dentry
Oleg Drokin [Tue, 2 Feb 2010 05:20:23 +0000 (00:20 -0500)]
b=20989 Don't search for inode in nfs get_dentry

Getting inode separately without some sort of locking enabled a situation where
several threads tried to populate same inode with different lsm data at the same
time leading to lsm pointer change (and leak).

i=johann
i=bzzz

14 years agob=21499 check stale object before version checks
Mikhail Pershin [Mon, 1 Feb 2010 19:27:24 +0000 (11:27 -0800)]
b=21499 check stale object before version checks

i=wangdi
i=fanyong

14 years agob=21489 fix several write+utimes race conditions
Andrew Perepechko [Mon, 1 Feb 2010 19:27:18 +0000 (11:27 -0800)]
b=21489 fix several write+utimes race conditions

Disable mtime updates on write and serialize fmd_mactime_xid checks in order to
avoid certain write(2)+utimes(2) race conditions on OSS

i=Johann Lombardi
i=Vitaly Fertman

14 years agob=20970 need add an additional barrier for write_disjoint
Landen [Fri, 29 Jan 2010 07:04:54 +0000 (15:04 +0800)]
b=20970 need add an additional barrier for write_disjoint

i=grev
i=rread

14 years agob=21846 add a hs_key entry in lqs hash operations
Landen [Fri, 29 Jan 2010 07:04:53 +0000 (15:04 +0800)]
b=21846 add a hs_key entry in lqs hash operations

When lqs rehashes, it will call its hs_key method. If it isn't
defined, an assert will be triggered. The patch just add it
for lqs hash.

a=johann
i=landen
i=adilger

14 years agob=21882 lru-resize comments
Brian Behlendorf [Fri, 29 Jan 2010 01:11:46 +0000 (17:11 -0800)]
b=21882 lru-resize comments

Unrelated to the actual bug, this commit just cleanups up various
spelling mistakes in the comments.

14 years agob=19808 2.6.29-fc11 patchless client support changes.
Rahul Deshmukh [Thu, 28 Jan 2010 11:36:39 +0000 (17:06 +0530)]
b=19808 2.6.29-fc11 patchless client support changes.

Final changes (except build related changes) for adding FC11
patchless client support.

i=alexey.lyashkov
i=oleg.drokin

14 years agob=19813 add missing lprocfs_exp_cleanup calls
Alexander.Zarochentev [Wed, 27 Jan 2010 15:01:12 +0000 (18:01 +0300)]
b=19813 add missing lprocfs_exp_cleanup calls

add missing lprocfs_exp_cleanup calls to
error handling paths in {mdt,filter,mgs}_connect.

i=tappro
i=andrew.perepechko

14 years agob=18690 Enable rehashing and increase max hash table sizes.
Robert Read [Sat, 23 Jan 2010 00:29:27 +0000 (16:29 -0800)]
b=18690 Enable rehashing and increase max hash table sizes.

i=eric.mei

14 years agob=19387 integrate LST into acc-sm
Elena Gryaznova [Tue, 26 Jan 2010 14:10:59 +0000 (17:10 +0300)]
b=19387 integrate LST into acc-sm

new acc-sm test suite: lnet-selftest

i=Maxim.Patlasov
i=He.Huang

14 years agob=21490 1.8<->2.0 interop: in 2.0 server and 1.8 client env. read 1. 8 file hung
Nicolas Williams [Mon, 25 Jan 2010 22:09:10 +0000 (16:09 -0600)]
b=21490 1.8<->2.0 interop: in 2.0 server and 1.8 client env. read 1. 8 file hung

The fix for bug 18631 introduced an interop bug for 1.8.x clients with 2.0 OSTs.
The problem was that a zero-length RMF_RCS was included in the OST_BRW replies
for READs, which caused the RPC header to have eight more bytes for storing the
length of that zero-length buffer.  The fix is to split RQF_OST_BRW into two,
one for READs and one for WRITEs, with RMF_RCS present only in the reply for
OST_BRW_WRITE.

i=robert.read@sun.com
i=tom.wang@sun.com

14 years agob=21746 compare full filename when writeconf'ing
Nathan Rutman [Mon, 25 Jan 2010 20:01:21 +0000 (12:01 -0800)]
b=21746 compare full filename when writeconf'ing

When erasing MGS logs, we could confuse fsname e.g. test with test2 and erase both sets of logs.

i=breitz
i=brian

14 years agob=21889 Rename lustre-resync-test
Robert Read [Mon, 25 Jan 2010 19:36:28 +0000 (11:36 -0800)]
b=21889 Rename lustre-resync-test

Fix Makefile.

14 years agob=20918 improve log warning
Elena Gryaznova [Mon, 25 Jan 2010 11:42:11 +0000 (14:42 +0300)]
b=20918 improve log warning

i=Brian

14 years agob=20866 DEPS assignment needs quotes
Elena Gryaznova [Mon, 25 Jan 2010 11:28:36 +0000 (14:28 +0300)]
b=20866 DEPS assignment needs quotes

o=Brian
i=grev

14 years agob=21828 drop number of active requests when queued for recovery
Dmitry Zogin [Mon, 25 Jan 2010 05:15:53 +0000 (00:15 -0500)]
b=21828 drop number of active requests when queued for recovery

Now that we take a reference on the original request instead of
making a copy of it for recovery.  We need to drop the number of
active requests or the queued requests will prevent all request
processing when they exceed (srv->srv_threads_running - 1).

i=nathaniel.ruthman
i=tappro

14 years agob=21565 filter_last_id() NULL dereference
Dmitry Zogin [Mon, 25 Jan 2010 05:13:27 +0000 (00:13 -0500)]
b=21565 filter_last_id() NULL dereference

lprocfs_filter_rd_last_id() should check for the fully setup obd device
 before proceeding further.

 i=johann
 i=andrew.perepechko

14 years agob=20139 prevent parent thread to be killed before its child becoming daemon
Fan Yong [Sat, 23 Jan 2010 06:08:13 +0000 (14:08 +0800)]
b=20139 prevent parent thread to be killed before its child becoming daemon

Prevent parent thread to be killed before its child becoming daemon.

i=tappro
i=robert

14 years agob=17682 fix time unit in message
Dmitry Zogin [Fri, 22 Jan 2010 23:16:02 +0000 (18:16 -0500)]
b=17682 fix time unit in message

14 years agob=19557 actually make lustre_hash_for_each_empty() more efficient
Robert Read [Wed, 13 Jan 2010 02:25:03 +0000 (18:25 -0800)]
b=19557 actually make lustre_hash_for_each_empty() more efficient

a=johann
i=adilger
i=herring4

14 years agob=19557 Add cond_resched calls to avoid hogging the cpu
Robert Read [Wed, 13 Jan 2010 01:48:48 +0000 (17:48 -0800)]
b=19557 Add cond_resched calls to avoid hogging the cpu

a=johann
i=adilger
i=andrew.perepechko

14 years agob=21889 Rename lustre_rsync-test.sh to lustre-rsync-test.sh.
Robert Read [Mon, 25 Jan 2010 16:38:48 +0000 (08:38 -0800)]
b=21889 Rename lustre_rsync-test.sh to lustre-rsync-test.sh.

14 years agob=21370 Double qos maxage timeout
Robert Read [Sat, 23 Jan 2010 00:52:51 +0000 (16:52 -0800)]
b=21370 Double qos maxage timeout

a=simmonsja@ornl.gov
i=adilger

14 years agoPrepare for Build 35. 1.10.0.35 v1_10_0_35
Robert Read [Fri, 22 Jan 2010 18:48:15 +0000 (10:48 -0800)]
Prepare for Build 35.

14 years agojbd2 spinlock hang fix for rhel5 and added error check
Rahul Deshmukh [Fri, 22 Jan 2010 02:42:24 +0000 (08:12 +0530)]
jbd2 spinlock hang fix for rhel5 and added error check

b=21595 mdsrate-create-large.sh, BUG: soft lockup - CPU#0 stuck for 10s!
[ll_ost_io_04:8153]

jbd2 spinlock hang fix for rhel5 and added error check

i=johann
i=girish

14 years agob=16715 NFS cannot files in HEAD, MDS crashing
LiuYing [Thu, 21 Jan 2010 09:03:16 +0000 (17:03 +0800)]
b=16715 NFS cannot files in HEAD, MDS crashing

For NFS open, return after anon fid lookup even for ENOENT

i=oleg.drokin
i=eric.mei
o=wangdi

14 years agob=20057 Autovetting and test-framework enhancements
Manoj Joseph [Wed, 20 Jan 2010 09:06:26 +0000 (02:06 -0700)]
b=20057 Autovetting and test-framework enhancements

Test-framework and script changes to support autovetting and buffalo V2

i=rread
i=grev

14 years agoRevert "b=21489 fix several write+utimes race conditions"
Robert Read [Fri, 22 Jan 2010 17:54:06 +0000 (09:54 -0800)]
Revert "b=21489 fix several write+utimes race conditions"

This reverts commit af0e77badba6094e792e5ebf7857f7862dcd4046.

14 years agoRevert "b=15692 statahead should hold parent dir's i_mutex..."
Robert Read [Thu, 21 Jan 2010 20:06:08 +0000 (12:06 -0800)]
Revert "b=15692 statahead should hold parent dir's i_mutex..."

This reverts most of e99ff8c12711281dc7e7e6bfd02c96eb956e4a33. The #ifdef
DCACHE_LUSTRE_INVALID changes remain, but everything else is reverted. This also
normalizes the ll_lookup_lock.

o=ericm
i=rread

14 years agob=21448 send recovery rpc ASAP
Fan Yong [Wed, 20 Jan 2010 18:41:39 +0000 (10:41 -0800)]
b=21448 send recovery rpc ASAP

1) send recovery rpc ASAP.
2) add more diagnostic information for RPC failure.

i=robert.read
i=tappro

14 years agob=21716 Reduce memory consumptions in directio utility
Alexander.Zarochentev [Wed, 20 Jan 2010 18:41:39 +0000 (10:41 -0800)]
b=21716 Reduce memory consumptions in directio utility

use one memory mapped file buffer in directio.c instead of two.

i=tappro
i=andrew.perepechko

14 years agob=21709 do not trigger quota processing for SOM operation
Fan Yong [Wed, 20 Jan 2010 18:41:39 +0000 (10:41 -0800)]
b=21709 do not trigger quota processing for SOM operation

Do not trigger quota processing for SOM operation.

i=robert.read
i=vitaly.fertman

14 years agob=18790 Add config check to avoid type conflict.
yangsheng [Wed, 20 Jan 2010 18:41:39 +0000 (10:41 -0800)]
b=18790 Add config check to avoid type conflict.

i=panda
i=yangsheng

14 years agob=20758 Update SLES10 kernel to 2.6.16.60-0.42.8(only patchless).
yangsheng [Wed, 20 Jan 2010 18:41:39 +0000 (10:41 -0800)]
b=20758 Update SLES10 kernel to 2.6.16.60-0.42.8(only patchless).

i=johann

14 years agob=19673 Add ldiskfs maxdirsize mount option
Cliff White [Tue, 19 Jan 2010 19:54:20 +0000 (11:54 -0800)]
b=19673 Add ldiskfs maxdirsize mount option

i=girish.shilamkar
i=johann

14 years agob=19720 use min_t() to force comparison to unsigned
Brian J. Murrell [Tue, 19 Jan 2010 19:14:49 +0000 (14:14 -0500)]
b=19720 use min_t() to force comparison to unsigned

In older kernels num_online_cpus() is an int, and in newer
kernels it is an unsigned so force the comparison to unsigned
so that it's portable to both new and old kernels.

i=panda
i=whitebear

14 years agob=21671 Eliminate a warning for the ldiskfs module
Andrew Perepechko [Tue, 19 Jan 2010 18:34:21 +0000 (21:34 +0300)]
b=21671 Eliminate a warning for the ldiskfs module

o=Yang Sheng
i=Andrew Perepechko
i=Rahul Deshmukh

14 years agob=21489 fix several write+utimes race conditions
Andrew Perepechko [Tue, 19 Jan 2010 18:10:50 +0000 (21:10 +0300)]
b=21489 fix several write+utimes race conditions

Disable mtime updates on write and serialize fmd_mactime_xid checks in order to
avoid certain write(2)+utimes(2) race conditions on OSS

i=Johann Lombardi
i=Vitaly Fertman

14 years agob=15864 insanity test_6 : use stat -f instead of df for determining the recovery...
Elena Gryaznova [Tue, 12 Jan 2010 20:36:09 +0000 (23:36 +0300)]
b=15864 insanity test_6 : use stat -f instead of df for determining the recovery status

i=Jian.Yu

14 years agob=19702 fix COUNT to work properly
Elena Gryaznova [Tue, 12 Jan 2010 20:26:35 +0000 (23:26 +0300)]
b=19702 fix COUNT to work properly

i=Andrew.Perepechko

14 years agob=17167 libcfs: ensure all libcfs exported symbols to have cfs_ prefix
Lisa Week [Thu, 14 Jan 2010 05:44:06 +0000 (22:44 -0700)]
b=17167 libcfs: ensure all libcfs exported symbols to have cfs_ prefix

i=Andreas Dilger

14 years agob=21670 use int instead of char to hold getopt rc in accordance with its prototype
Andrew Perepechko [Tue, 12 Jan 2010 19:13:42 +0000 (22:13 +0300)]
b=21670 use int instead of char to hold getopt rc in accordance with its prototype

i=Brian Murrell

14 years agob=21670 use int instead of char to hold getopt rc in accordance with its prototype
Andrew Perepechko [Mon, 11 Jan 2010 12:55:42 +0000 (15:55 +0300)]
b=21670 use int instead of char to hold getopt rc in accordance with its prototype

i=Brian Murrell

14 years agob=21670 use the correct fmt specifier for *printf in check_cur_qunit
Andrew Perepechko [Mon, 11 Jan 2010 14:45:48 +0000 (17:45 +0300)]
b=21670 use the correct fmt specifier for *printf in check_cur_qunit

i=Dmitry Zogin
i=Sheng Yang

14 years agob=21586 More stderr/stdout redirections
Brian J. Murrell [Fri, 8 Jan 2010 16:25:44 +0000 (11:25 -0500)]
b=21586 More stderr/stdout redirections

Just a few more redirections to get some commands' output into the
appropriate log files.

We should actually return the 255, not just assign it to a unused variable.

i=yangsheng
i=wangyb

14 years agob=21670 revert new version of find_linux_devel_paths
Andrew Perepechko [Fri, 8 Jan 2010 16:25:43 +0000 (11:25 -0500)]
b=21670 revert new version of find_linux_devel_paths

i=Andrew Perepechko
o=Brian Murrell

14 years agob=21586 further build message cleanups
Andrew Perepechko [Fri, 8 Jan 2010 16:25:42 +0000 (11:25 -0500)]
b=21586 further build message cleanups

i=Yibin Wang
i=Sheng Yang

14 years agob=21759 Miscellaneous build fixes
Brian J. Murrell [Tue, 12 Jan 2010 17:06:04 +0000 (12:06 -0500)]
b=21759 Miscellaneous build fixes

The message string given to fatal() cannot be slit with line continuations
as you would strings elsewhere -- for whatever reason.  So let's just un-
split them for now.
Coding style fixups.
Adds a "--set-var" option to lbuild to set/override an environment variable.
This is mainly meant for lbuild testers.
Fix missing - from tar so that the --exclude parameters will be honoured.
Some stderr->stdout redirections to get output into the correct log.

14 years agob=20645 fix potential stale-read.
Eric Mei [Fri, 8 Jan 2010 23:30:39 +0000 (16:30 -0700)]
b=20645 fix potential stale-read.

Due to race between read and truncate, read may populate cache pages outside
of the file size range, then next truncate-expand will see the stale page.
To fix this, we do a second vmtruncate at the end of truncation.

i=jay
i=robert

14 years agob=21656 Quiet dirty_max CERROR
Dmitry Zogin [Fri, 8 Jan 2010 16:52:31 +0000 (11:52 -0500)]
b=21656 Quiet dirty_max CERROR

The atomic_read() allowing the atomic_inc() are not covered
 by a lock. Thus they may safely race and trip this CERROR()
 unless we add in a small fudge factor (+1).

 i=adilger
 i=dmitry.zogin

14 years agob=19556 Ignore broken cancel_dirty_page() in OFED 1.4.1
Brian J. Murrell [Fri, 8 Jan 2010 14:42:59 +0000 (09:42 -0500)]
b=19556 Ignore broken cancel_dirty_page() in OFED 1.4.1

OFED 1.4.1 had a broken implementation of cancel_dirty_page for SLES10.
This patch detects that and ignores the function if found.

i=johann
i=yangsheng

14 years agob=20301 Fix mkfs.lustre for 16TB+ LUNs
Girish Shilamkar [Fri, 8 Jan 2010 11:19:55 +0000 (16:49 +0530)]
b=20301 Fix mkfs.lustre for 16TB+ LUNs

Mounting 16TB LUNs failed due to three bugs in mkfs.lustre. This patch
fixes this.

Patch by James Simmons.

a=simmonsja@ornl.gov
i=adilger
i=girish

14 years ago Prepare for Build 34 1.10.0.34 v1_10_0_34
Terry Rutledge [Fri, 8 Jan 2010 00:31:21 +0000 (17:31 -0700)]
Prepare for Build 34

      - Increment build number.

14 years agoRevert "b=19808 2.6.29-fc11 patchless client support"
Robert Read [Wed, 6 Jan 2010 02:05:45 +0000 (18:05 -0800)]
Revert "b=19808 2.6.29-fc11 patchless client support"

Causing kernel BUG in my testing, see bug 19808.

This reverts commit 95dbd166988cf0a2912c51305572c78a9aa2d324.

14 years agob=21519 fix race between ldlm_pools_thread and ldlm_space_free
Eric Mei [Tue, 5 Jan 2010 17:28:57 +0000 (10:28 -0700)]
b=21519 fix race between ldlm_pools_thread and ldlm_space_free

After ldlm_space_free dropped the refcount of a namespace to 0, it
may start to cleanup data structures in the namespace, while the
ldlm_pools_thread can still pick up the freeing namespace. This patch
is to instruct ldlm_pools_thread to skip namespace which is being
freed.

i=oleg
i=wangdi

14 years agob=21551 Ensure visible pages are sane.
Jay Xiong [Tue, 5 Jan 2010 07:47:53 +0000 (15:47 +0800)]
b=21551 Ensure visible pages are sane.

Revise the page initialization path so that if the page is able to be seen by
osc, it must be sane.

i=wangdi
i=eric.mei

14 years agob=19808 2.6.29-fc11 patchless client support
Rahul Deshmukh [Tue, 5 Jan 2010 07:17:35 +0000 (12:47 +0530)]
b=19808 2.6.29-fc11 patchless client support

Changes required to support fc11 patchless client on HEAD.

i=oleg.drokin
i=tappro

14 years agob=21433 Add debug information for quota_setdq/quota_chkdq.
Fan Yong [Tue, 5 Jan 2010 02:55:08 +0000 (10:55 +0800)]
b=21433 Add debug information for quota_setdq/quota_chkdq.

i=vitaly.fertman
i=tianzy

14 years agob=20591 fix race on obd_device::md_stats
LiuYing [Tue, 5 Jan 2010 00:42:18 +0000 (08:42 +0800)]
b=20591 fix race on obd_device::md_stats

call lprocfs_free_per_client_stats() before mdt_procfs_fini() frees
all the lprocfs data

i=liuying
i=wangdi
o=vitaly

14 years agob=21547 Move cascading_rw.c to correct location.
Robert Read [Mon, 4 Jan 2010 22:37:39 +0000 (14:37 -0800)]
b=21547 Move cascading_rw.c to correct location.

14 years agob=21547 add cascading_rw into lustre mpi tests
Elena Gryaznova [Thu, 24 Dec 2009 10:07:27 +0000 (13:07 +0300)]
b=21547 add cascading_rw into lustre mpi tests

o=James Simmons
i=Johann
i=grev
i=Robert Read

14 years agob=21670 output format specifiers fixes in LQS_DEBUG
Andrew Perepechko [Thu, 24 Dec 2009 14:10:10 +0000 (17:10 +0300)]
b=21670 output format specifiers fixes in LQS_DEBUG

i=Andreas Dilger