Whamcloud - gitweb
fs/lustre-release.git
10 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

10 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

10 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

10 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

10 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

10 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

10 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.

10 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

10 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

10 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

10 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

10 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

10 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.

10 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

10 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

10 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

10 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

10 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

10 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

10 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.

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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.

10 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

10 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.

10 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

10 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

10 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

10 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.

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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.

10 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

10 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

10 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

10 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

10 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.

10 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.

10 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

10 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

10 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

10 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

10 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

10 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.

10 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

10 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

10 years agob=19808 : 2.6.29-fc11 patchless client support
Rahul Deshmukh [Thu, 24 Dec 2009 09:04:11 +0000 (12:04 +0300)]
b=19808 : 2.6.29-fc11 patchless client support

Changes need to fix to compile on gcc 4.4 (fc11)

i=tappro
i=vladimir.saveliev

10 years agob=20583 Do not create more than pre-created objects for sanity_27y
Fan Yong [Wed, 23 Dec 2009 01:41:29 +0000 (09:41 +0800)]
b=20583 Do not create more than pre-created objects for sanity_27y

i=robert.read
i=tom.wang

10 years agob=21454 Disable cl_page_in_io check for append write.
Jay Xiong [Wed, 23 Dec 2009 03:18:42 +0000 (06:18 +0300)]
b=21454 Disable cl_page_in_io check for append write.

This is because for append write, it's difficult to pass the uptodate file size to subio.

i=wangdi
i=eric.mei

10 years agob=18630 avoid the race of acquiring/releasing quota
Landen [Wed, 23 Dec 2009 07:52:25 +0000 (10:52 +0300)]
b=18630 avoid the race of acquiring/releasing quota

Before this patch, checking and computing the info of lqs
are located in two different functions(check_cur_qunit()
and schedule_dqacq()). It is racy. With this patch, they
will all happen in one function(check_cur_qunit()).

i=johann
i=panda

10 years agoRevert "b=21547 add cascading_rw into lustre mpi tests" 1.10.0.33a v1_10_0_33a
Robert Read [Tue, 22 Dec 2009 21:46:21 +0000 (13:46 -0800)]
Revert "b=21547 add cascading_rw into lustre mpi tests"

Build failure in cascade_rw.c.

This reverts commit f91373a85ceb65cb1ea8558b1da242a1770fc2a3.

10 years agoPrepare for Build 33 1.10.0.33 v1_10_0_33
Robert Read [Tue, 22 Dec 2009 19:35:20 +0000 (11:35 -0800)]
Prepare for Build 33

  - Update lustre/ChangeLog.
  - Update which_patch with correct kernels.
  - Increment build number.

10 years agob=21600 Fix unitialized pointer
Brian J. Murrell [Tue, 22 Dec 2009 18:29:12 +0000 (13:29 -0500)]
b=21600 Fix unitialized pointer

gcc warns that ctx may be used prior to assignment, so initialize it
at declaration

10 years agob=21547 add cascading_rw into lustre mpi tests
Elena Gryaznova [Tue, 22 Dec 2009 18:40:48 +0000 (10:40 -0800)]
b=21547 add cascading_rw into lustre mpi tests

o=James Simmons
 i=Johann
 i=grev

10 years agob=21544 t-f: support the dynamic switching GSS flavor
Elena Gryaznova [Tue, 22 Dec 2009 18:40:48 +0000 (10:40 -0800)]
b=21544 t-f: support the dynamic switching GSS flavor

i=Eric.Mei

10 years agob=19964 server-side extent lock for getattr
Vitaly Fertman [Tue, 22 Dec 2009 01:28:52 +0000 (04:28 +0300)]
b=19964 server-side extent lock for getattr

extend server-side locking used for punch only to other operations, getattr here

i=green
i=zam

10 years agob=19964 SOM EA
Vitaly Fertman [Tue, 22 Dec 2009 01:28:51 +0000 (04:28 +0300)]
b=19964 SOM EA

SOM stores proper size, blocks, IOEpoch and mountid in EA

10 years agob=19964 SOM cleanups, part2
Vitaly Fertman [Tue, 22 Dec 2009 01:28:50 +0000 (04:28 +0300)]
b=19964 SOM cleanups, part2

SOM cleanups, comments and some bugfixes

i=zam
i=vs

10 years agob=19964 SOM cleanups, part1
Vitaly Fertman [Tue, 22 Dec 2009 01:28:49 +0000 (04:28 +0300)]
b=19964 SOM cleanups, part1

SOM cleanups, comments and some bugfixes

i=tappro
i=vs

10 years agob=20098 mod use after free
Vitaly Fertman [Mon, 21 Dec 2009 20:39:26 +0000 (23:39 +0300)]
b=20098 mod use after free

add a refcount to md_open_data to control its usage in open-close and setattr-done-writing

i=green
i=tappro

10 years agob=20607 Use refcount on lov_request_set to prevent memory corruption.
Tom.Wang [Mon, 21 Dec 2009 13:05:46 +0000 (08:05 -0500)]
b=20607 Use refcount on lov_request_set to prevent memory corruption.

Correct the refcount of lov_request_set to make sure the set will only
be freed after all the references have been released.

i=adilger
i=ericm

10 years agob=15692 statahead should hold parent dir's i_mutex to synchronize with other operatio...
Fan Yong [Sat, 19 Dec 2009 16:08:46 +0000 (00:08 +0800)]
b=15692 statahead should hold parent dir's i_mutex to synchronize with other operations from VFS layer when inserting dentry to dcache

1) statahead should hold parent dir's i_mutex to synchronize with other operations from VFS layer when inserting dentry to dcache
2) drop unused ll_lookup_lock
3) drop unused DCACHE_LUSTRE_INVALID definition checking
4) more debug information
5) other code cleanup

i=robert.read
i=eric.mei

10 years agob=15977 Disable test 39 until it is fixed.
Robert Read [Sat, 19 Dec 2009 00:00:16 +0000 (16:00 -0800)]
b=15977 Disable test 39 until it is fixed.

This test produces are large number false positives because it is possible
for debug logs on some cpus being filled faster than other cpus. A alloc
message might appear on one cpu, but the freed message might be lost on the
second.

10 years agob=20722 Fix watchdog timer messages to be more clear.
dzogin [Fri, 18 Dec 2009 22:32:41 +0000 (17:32 -0500)]
b=20722 Fix watchdog timer messages to be more clear.

i=adilger

10 years agoRevert "b=19325 Adjust waiting extent locks on first enqeue."
Robert Read [Fri, 18 Dec 2009 23:15:49 +0000 (15:15 -0800)]
Revert "b=19325 Adjust waiting extent locks on first enqeue."

This reverts commit 6ded7c96c486ebcb069e9125d4fe94c1efddbf60.

Reverting because of issues with lock expansion.

10 years agoRevert "b=20645 Call vmtruncate again after truncate."
Robert Read [Fri, 18 Dec 2009 22:11:11 +0000 (14:11 -0800)]
Revert "b=20645 Call vmtruncate again after truncate."

This reverts commit 3bbe90f2827dd972dfb9bb5ca52bd3b60b553069.

Just hit the new assertion in racer, so backing this out for now.
http://buffalo.lustre.org:8080/display_report.pl?report_id=450093

10 years agob=17682 limit performance impact of rpctrace, dlmtrace & quota
dzogin [Fri, 18 Dec 2009 21:41:11 +0000 (16:41 -0500)]
b=17682 limit performance impact of rpctrace, dlmtrace & quota

Performance improvements for debug messages with
    D_RPCTRACE, D_LDLM, D_QUOTA

    i=alexey.lyashkov
    i=andrew.perepechko
    i=johann

10 years agob=21571 stacksize and locking fixes for loadgen patch from umka
Nathan Rutman [Fri, 18 Dec 2009 21:38:56 +0000 (13:38 -0800)]
b=21571 stacksize and locking fixes for loadgen patch from umka

i=adilger
i=nathan

10 years agob=16890 CERROR cleanups
Andrew Perepechko [Fri, 18 Dec 2009 20:38:59 +0000 (23:38 +0300)]
b=16890 CERROR cleanups

a whole lot of CERROR/CDEBUG cleanups

10 years agob=16186 Enable peer health detect for ksocklnd and ko2iblnd. i=isaac
Isaac Huang [Thu, 17 Dec 2009 23:12:19 +0000 (18:12 -0500)]
b=16186 Enable peer health detect for ksocklnd and ko2iblnd. i=isaac

10 years agob=21586 clarify lbuild error reporting
Brian J. Murrell [Thu, 17 Dec 2009 15:36:31 +0000 (10:36 -0500)]
b=21586 clarify lbuild error reporting

clarify the reporting of build errors by:
- disabling xtrace during the stack trace printing
- moving the ccache statistics printing exit trap so that it's only
  installed if ccache has been enabled
- remove some useless $() constructs around function calls
- only send the untrapped error debuggery to me

i=wangyb
i=yangsheng

10 years agob=17545 control DCACHE_LUSTRE_INVALID flag with MDS_INODELOCK_LOOKUP lock
Fan Yong [Thu, 17 Dec 2009 07:37:33 +0000 (15:37 +0800)]
b=17545 control DCACHE_LUSTRE_INVALID flag with MDS_INODELOCK_LOOKUP lock

1) "DCACHE_LUSTRE_INVALID" is controlled by "MDS_INODELOCK_LOOKUP" which is corresponding to "IT_LOOKUP", do not skip invalidate for other intent.
2) cleanup locks from former test cases for replay-single test_53d.

i=robert.read
i=jinshan.xiong

10 years agob=21593 sanityN test_33 print jbd stat fix [ext3|ext4]
Elena Gryaznova [Tue, 15 Dec 2009 13:57:39 +0000 (16:57 +0300)]
b=21593 sanityN test_33 print jbd stat fix [ext3|ext4]

i=Alex.Zhuravlev

10 years agob=20591 fix race on obd_device::md_stats
LiuYing [Thu, 17 Dec 2009 02:30:32 +0000 (10:30 +0800)]
b=20591 fix race on obd_device::md_stats

move md_stats out of export_stats_init() and cleanup mdt/mgs
procfs init/fini.

i=wangdi
i=liangzhen

10 years agoRevert "b=21527 Use %configure in the RPM SPEC file"
Robert Read [Thu, 17 Dec 2009 01:38:45 +0000 (17:38 -0800)]
Revert "b=21527 Use %configure in the RPM SPEC file"

Reverting due to build failure.

This reverts commit 98fd9942abbc7503fc9f1885e58b88887daa6e73.

10 years agob=21527 Use %configure in the RPM SPEC file
Brian J. Murrell [Wed, 16 Dec 2009 20:03:07 +0000 (15:03 -0500)]
b=21527 Use %configure in the RPM SPEC file

use the %configure macro defined by the RPM installation so that the
vendor's filesystem hierarchy preferences are observered

i=wangyb
i=yangsheng

10 years agob=16890 Reorder tests 29 and 30
Andrew Perepechko [Tue, 15 Dec 2009 20:22:55 +0000 (23:22 +0300)]
b=16890 Reorder tests 29 and 30

Put tests 29 and 30 in natural order