Whamcloud - gitweb
fs/lustre-release.git
9 years agob=22615 fixes for regressions caused by 11063
Vladimir Saveliev [Thu, 22 Apr 2010 19:15:32 +0000 (12:15 -0700)]
b=22615 fixes for regressions caused by 11063

set atime to past under PW EOF extent lock
fix truncate in liblustre

i=vitaly
i=ericm

9 years agob=22507 rm -rf not replicated
Manoj Joseph [Thu, 22 Apr 2010 19:15:28 +0000 (12:15 -0700)]
b=22507 rm -rf not replicated

Support replication of recursive directory removal.

i=nathan.rutman
i=robert.read

9 years agob=22520 set the thread to be uninterrupt before add to waitq
Wang Di [Thu, 22 Apr 2010 19:15:24 +0000 (12:15 -0700)]
b=22520 set the thread to be uninterrupt before add to waitq

In lov_subobject_kill, if the thread needs to wait the object being
freed, it should set the thread to be uninterrupt, otherwise, the thread
might spin there.

i=Eric.mei
i=Robert

9 years agob=22296 Fix script problem for recovery-double-scale
Wang Di [Thu, 22 Apr 2010 19:15:20 +0000 (12:15 -0700)]
b=22296 Fix script problem for recovery-double-scale

Force the test threads stopped before shutdown the clients in
recovery-double-scale.

i=Jack.Chen
i=WangDi

9 years agob=22161 Use LCK_PW for parent lock in mdt_link(). Pdirops test set
Mikhail Pershin [Wed, 21 Apr 2010 18:43:20 +0000 (11:43 -0700)]
b=22161 Use LCK_PW for parent lock in mdt_link(). Pdirops test set

i=adilger
i=bzzz
i=rread

9 years agob=19919 Supply a absolute path.
yangsheng [Wed, 21 Apr 2010 18:43:12 +0000 (11:43 -0700)]
b=19919 Supply a absolute path.

i=andreas
i=johann

9 years agob=22190 Apply 19195 patch to add tls data for recovery thread.
Mikhail Pershin [Wed, 21 Apr 2010 18:43:11 +0000 (11:43 -0700)]
b=22190 Apply 19195 patch to add tls data for recovery thread.

This will be needed anyway when sync journal will be ported

i=zam
i=oleg

9 years agofixed for bug 22237
Rahul Deshmukh [Wed, 21 Apr 2010 18:42:26 +0000 (11:42 -0700)]
fixed for bug 22237

b=22237 replay-single test-13 mmp failure, BUG: warning at
fs/proc/generic.c:764/remove_proc_entry()

The proc entry EXT4_MAX_DIR_SIZE_NAME was not remove in cleanup path. It
is now fixed.

i=johann

9 years agob=22129 add debug patch for 22129
Wang Di [Wed, 21 Apr 2010 18:42:24 +0000 (11:42 -0700)]
b=22129 add debug patch for 22129

i=Robert
i=Fangyong

9 years agob=21379 Fix orphans proceeding in osc_create
Wang Di [Wed, 21 Apr 2010 18:42:20 +0000 (11:42 -0700)]
b=21379 Fix orphans proceeding in osc_create

in "osc_create", there is no need to proceed after the orphans are deleted, which cause the
oscc->oscc_next_id is increased by 1 and break the balance between it and the last objid stored
in "mds->mds_lov_page_array"

o=Zhang Hongchao
i=Johann
I=Tappro

9 years agob=22409 Spurious error messages from smp_processor_id() on preemptible kernel
Dmitry Zogin [Mon, 19 Apr 2010 23:29:32 +0000 (16:29 -0700)]
b=22409 Spurious error messages from smp_processor_id() on preemptible kernel

 Disable a preemption by grabbing the lock in fs_trace_get_tcd() first.
 The function fs_trace_get_tcd() was moved up.

 o=andreas.dilger
 i=johann
 i=dmitry.zogin
 i=nathan.rutman

9 years agob=20953 sanity-quota test 30 fixes
Andrew Perepechko [Mon, 19 Apr 2010 23:29:30 +0000 (16:29 -0700)]
b=20953 sanity-quota test 30 fixes

i=Yong Fan

9 years agob=22310 temporary fix: align readahead window end to 1M rpc boundary.
Eric Mei [Mon, 19 Apr 2010 23:29:27 +0000 (16:29 -0700)]
b=22310 temporary fix: align readahead window end to 1M rpc boundary.

r=wangdi
r=rread

9 years agob=22310 do not break early in osc_io_submit() which might cause sub-optimal rpc size...
Eric Mei [Mon, 19 Apr 2010 23:29:25 +0000 (16:29 -0700)]
b=22310 do not break early in osc_io_submit() which might cause sub-optimal rpc size for read and synchronous write.

i=wangdi
i=rread

9 years agob=21949 echo code fixes.
Vitaly Fertman [Mon, 19 Apr 2010 23:29:21 +0000 (16:29 -0700)]
b=21949 echo code fixes.

i=eric.may
i=bzzz

1. access to a wrong page on echo server commit;
2. wrong lock type enqueue in echo client test_brw code;
3. wrong thread offset initialization in lctl test_brw code;

9 years agob=18478 Fix sanity test_180 to write to correct obj
Robert Read [Mon, 19 Apr 2010 18:24:25 +0000 (11:24 -0700)]
b=18478 Fix sanity test_180 to write to correct obj

Write small amount of data to the object that was created. This
also splits 180 into two tests for using echo client with an osc
and directly to an obdfilter.

i=vitaly

9 years agob=20647 Ensure all needed pids exits before failover in test set 53
Mikhail Pershin [Fri, 16 Apr 2010 20:31:21 +0000 (13:31 -0700)]
b=20647 Ensure all needed pids exits before failover in test set 53

i=rread
i=grev

9 years agob=21826 a small fix for quota files invalidation
Andrew Perepechko [Fri, 16 Apr 2010 20:31:18 +0000 (13:31 -0700)]
b=21826 a small fix for quota files invalidation

i=Johann Lombardi
i=ZhiYong Tian

9 years agob=20615 always send ZC_ACK on non-blocking connection
Liang Zhen [Fri, 16 Apr 2010 20:31:13 +0000 (13:31 -0700)]
b=20615 always send ZC_ACK on non-blocking connection

i=isaac
i=maxim

9 years agob=18948 Speedy recovery
Mikhail Pershin [Fri, 16 Apr 2010 20:30:30 +0000 (13:30 -0700)]
b=18948 Speedy recovery

Add hard and soft time limits for server recovery.

i=andrew.perepechko
i=Hongchao.zhang

9 years agoRevert "b=20647 Ensure all needed pids exits before failover in test set 53"
Robert Read [Thu, 15 Apr 2010 23:06:54 +0000 (16:06 -0700)]
Revert "b=20647 Ensure all needed pids exits before failover in test set 53"

The "Cleanup wait_..._import_state function" part of this patch appears to cause
bug 22594.

This reverts commit 8f6d85eebc312b64d8e8a35b0be3ae137a50a45c.

9 years agob=22147 do not reset owner for lockless lock.
Eric Mei [Thu, 15 Apr 2010 05:39:44 +0000 (22:39 -0700)]
b=22147 do not reset owner for lockless lock.

r=wangdi
r=vitaly

9 years agob=22056 hash_add not under spinlock.
Vitaly Fertman [Thu, 15 Apr 2010 05:39:41 +0000 (22:39 -0700)]
b=22056 hash_add not under spinlock.

a refcount is added to the hash, move hash_add from under spinlock with no race against hash_destroy.

i=green
i=tappro

9 years agoPrepare for build 40. 1.10.0.40 v1_10_0_40
Robert Read [Sun, 11 Apr 2010 18:27:47 +0000 (11:27 -0700)]
Prepare for build 40.

9 years agob=22190 return error on write if rdonly mode is on, don't reply if umount
Mikhail Pershin [Fri, 9 Apr 2010 01:24:07 +0000 (18:24 -0700)]
b=22190 return error on write if rdonly mode is on, don't reply if umount

i=oleg

9 years agob=22359 fix t_id for the recovery thread
Alexander.Zarochentsev [Fri, 9 Apr 2010 01:24:01 +0000 (18:24 -0700)]
b=22359 fix t_id for the recovery thread

arbitrary uninialized value in the recovery thread t_id
was the reason of filter_iobuf_get()) ASSERTION(thread_id <
filter->fo_iobuf_count) failure.

i=tappro
i=andrew.perepechko

9 years agob=11063 set mtime to past under PW EOF extent lock (v6)
Vladimir Saveliev [Fri, 9 Apr 2010 01:24:01 +0000 (18:24 -0700)]
b=11063 set mtime to past under PW EOF extent lock (v6)

(according to HLD: https://bugzilla.lustre.org/attachment.cgi?id=15441).

new IO type (CIT_SETATTR) replaces CIT_TRUNC

Eariler patches
         https://bugzilla.lustre.org/attachment.cgi?id=7933
         https://bugzilla.lustre.org/attachment.cgi?id=7882
are reversed.

i=ericm
i=vitaly

9 years agob=11063 mtime tests
Vladimir Saveliev [Fri, 9 Apr 2010 01:24:00 +0000 (18:24 -0700)]
b=11063 mtime tests

few tests from 11063 and 21114

i=grev

9 years agob=22526 rename num_possible_cpus() to cfs_num_possible_cpus()
Robert Read [Thu, 8 Apr 2010 00:39:06 +0000 (17:39 -0700)]
b=22526 rename num_possible_cpus() to cfs_num_possible_cpus()

a=kenh@cmf.nrl.navy.mil
i=rread

9 years agob=19505 changelogs - distinguish between SETATTR and [acm]time changes
Nathan Rutman [Wed, 13 Jan 2010 22:21:18 +0000 (14:21 -0800)]
b=19505 changelogs - distinguish between SETATTR and [acm]time changes

i=breitz
i=LEIBOVICI Thomas <thomas.leibovici@cea.fr>

9 years agob=21966 can not mount mdt after umount
Rahul Deshmukh [Wed, 7 Apr 2010 17:18:18 +0000 (10:18 -0700)]
b=21966 can not mount mdt after umount

i=johann

9 years agofix typo in recovery-*-scale.sh script
Johann Lombardi [Wed, 7 Apr 2010 08:17:59 +0000 (10:17 +0200)]
fix typo in recovery-*-scale.sh script

9 years agob=22505 Initialize cui_tot_nregs for liblustre
Robert Read [Sat, 3 Apr 2010 02:01:53 +0000 (19:01 -0700)]
b=22505 Initialize cui_tot_nregs for liblustre

Change 910bf010 inadvertantly broke liblustre because cio->cui_tot_nregs
was not initilized, and ccc_io_update_iov was setting cui_nregs
incorrectly.

i=eric.mei
i=yong.fan

9 years agob=22312 sanity test 33c has problems parsing llobdstat when write_bytes is large
root [Tue, 6 Apr 2010 22:23:06 +0000 (15:23 -0700)]
b=22312 sanity test 33c has problems parsing llobdstat when write_bytes is large

i=robert.read@sun.com

9 years agob=21502 symlink compatibility between 1.6 and 2.0
Rahul Deshmukh [Mon, 5 Apr 2010 18:50:40 +0000 (11:50 -0700)]
b=21502 symlink compatibility between 1.6 and 2.0

Fixed the symlink compatibility problem between 1.6/1.8 and 2.0 related to short symlinks.

i=bzzz
i=andreas
i=pravin

9 years agob=20339 Remove LPSZ definition.
pravin [Mon, 5 Apr 2010 18:50:34 +0000 (11:50 -0700)]
b=20339 Remove LPSZ definition.

a=andreas.dilger
i=alexey.lyashkov
i=pravin

9 years agob=20562 Increasing super sequence width so that there will be lesser update to fld...
pravin [Mon, 5 Apr 2010 18:50:26 +0000 (11:50 -0700)]
b=20562 Increasing super sequence width so that there will be lesser update to fld table.

We can not increase LUSTRE_SEQ_META_WIDTH, meta sequence is allocated to client
and client can loose it in case of crash and there is no recovery mechanism.
MDT can not loose super sequence as it is stored on MDT disk.

i=andreas.dilger
i=tappro

9 years agob=21476 fix race between mdt_finish and __mds_lov_synchronize
pravin [Mon, 5 Apr 2010 18:49:56 +0000 (11:49 -0700)]
b=21476 fix race between mdt_finish and __mds_lov_synchronize

i=FanYong
i=Rahul

9 years agob=20647 Ensure all needed pids exits before failover in test set 53
Mikhail Pershin [Mon, 5 Apr 2010 18:49:50 +0000 (11:49 -0700)]
b=20647 Ensure all needed pids exits before failover in test set 53

Cleanup wait_..._import_state function.

i=rread
i=grev

9 years agob=20680 add sleep to expire stat cache
Mikhail Pershin [Mon, 5 Apr 2010 18:49:48 +0000 (11:49 -0700)]
b=20680 add sleep to expire stat cache

i=grev

9 years agob=22235 llapi_uuid_match() prints bogus error message on upgraded filesystem
Dmitry Zogin [Mon, 5 Apr 2010 18:49:44 +0000 (11:49 -0700)]
b=22235 llapi_uuid_match() prints bogus error message on upgraded filesystem

 Change lov_iocontrol(), lmv_iocontrol() and mdc_iocontrol() functions to copy UUID
 string into a buffer before calling *_statfs() functions, so that UUID is
 always set when returning to the caller

 i=andreas.dilger
 i=nathan.rutman

9 years agob=22235 llapi_uuid_match() prints bogus error message on upgraded filesystem
Dmitry Zogin [Mon, 5 Apr 2010 18:49:42 +0000 (11:49 -0700)]
b=22235 llapi_uuid_match() prints bogus error message on upgraded filesystem

   1. Increase the "lfs df" column width to handle TB sized devices cleanly
   2. Allow matching OST names without trailing _UUID v2 (validate lengths)
   3. Allow negating the "--obd" option to "lfs find"
   4. Remove duplicate code in mntdf() iterating over MDTs/OSTs; handle errors

   o=andreas.dilger
   i=dmitry.zogin
   i=nathan.rutman

9 years agob=21527 Fix format for ia64 and ppc64.
Robert Read [Fri, 2 Apr 2010 20:10:24 +0000 (13:10 -0700)]
b=21527 Fix format for ia64 and ppc64.

9 years agob22312 Fix off-by-one bug in second loop in test 33c.
Nicolas Williams [Fri, 2 Apr 2010 21:59:32 +0000 (14:59 -0700)]
b22312 Fix off-by-one bug in second loop in test 33c.

i=robert.read@sun.com

9 years agoUpdated for build 39. 1.10.0.39 v1_10_0_39
Terry Rutledge [Fri, 2 Apr 2010 18:23:52 +0000 (11:23 -0700)]
Updated for build 39.

9 years agoPrepare Build 39.
Robert Read [Fri, 2 Apr 2010 18:18:05 +0000 (11:18 -0700)]
Prepare Build 39.

9 years agob=22225 Remove += and refactor equals_msg
Robert Read [Thu, 18 Mar 2010 23:05:59 +0000 (16:05 -0700)]
b=22225 Remove += and refactor equals_msg

9 years agob=19208 Add ext3_get_inode_flags()
Pravin Shelar [Fri, 2 Apr 2010 17:56:05 +0000 (10:56 -0700)]
b=19208 Add ext3_get_inode_flags()

Expose i_flags to user.
i=rahul
i=fanyong

9 years agob=22327 "lfs df" does not print stats for all mountpoints
Dmitry Zogin [Fri, 19 Mar 2010 02:14:23 +0000 (22:14 -0400)]
b=22327 "lfs df" does not print stats for all mountpoints

 1. print all mounted lustre filesystems with "lfs df"
 2. sanityn test_24b added

9 years agob=21406 remove call to clear_page_dirty_for_io()
Wang Di [Thu, 1 Apr 2010 22:40:41 +0000 (15:40 -0700)]
b=21406 remove call to clear_page_dirty_for_io()

 fix deadlock between kjournald2 trying to acquire the page lock
 owned by an ost_io thread waiting for journal commit.
 o=johann
 i=adiger
 i=girish

9 years agob=21877 protect modification of request flag's bitfield with rq_lock
Mikhail Pershin [Thu, 1 Apr 2010 22:40:41 +0000 (15:40 -0700)]
b=21877 protect modification of request flag's bitfield with rq_lock

9 years agob=22299 do not set lustre read_only device when server umount and keep client records...
Fan Yong [Thu, 1 Apr 2010 22:40:41 +0000 (15:40 -0700)]
b=22299 do not set lustre read_only device when server umount and keep client records for recoverable ones

1) do not set lustre read_only device when server umount
2) keep client records for recoverable ones under failover mode
3) do not ignore "WRITE_SYNC" (which is used by kmmpd block updating) for "dev_check_rdonly()" checking

i=andreas.dilger
i=tappro

9 years agob=21636 diagnostic patch for LDLM_BL_CALLBACK reply processing
Fan Yong [Thu, 1 Apr 2010 22:40:41 +0000 (15:40 -0700)]
b=21636 diagnostic patch for LDLM_BL_CALLBACK reply processing

diagnostic patch for LDLM_BL_CALLBACK reply processing

i=robert.read
i=tom.wang

9 years agob=22312 write_bytes are missing in obdfilter stats
Nicolas Williams [Thu, 1 Apr 2010 22:40:40 +0000 (15:40 -0700)]
b=22312 write_bytes are missing in obdfilter stats

There's a missing lprocfs_counter_add() for LPROC_FILTER_WRITE_BYTES in
filter_io.c:filter_preprw_write().  A test is also delivered.

i=robert.read@sun.com

9 years agob=20433 Move new ChangeLog entry to the top.
Robert Read [Wed, 31 Mar 2010 19:04:34 +0000 (12:04 -0700)]
b=20433 Move new ChangeLog entry to the top.

9 years agob=20057 Add init_logging to replay-vbr
Robert Read [Wed, 31 Mar 2010 18:55:00 +0000 (11:55 -0700)]
b=20057 Add init_logging to replay-vbr

Left out from original autovetting patch.

i=tappro
i=grev
a=manoj

9 years agob=21527 Portability fixes
Robert Read [Wed, 31 Mar 2010 18:15:01 +0000 (11:15 -0700)]
b=21527 Portability fixes

Fix typo in commit 8eaf21f9.

9 years agob=20433 decrease the usage of memory on clients.
Landen [Tue, 30 Mar 2010 22:45:10 +0000 (15:45 -0700)]
b=20433 decrease the usage of memory on clients.

1. On clients, recycle dentries and inodes unused.
2. Delete the code related to ll_deathrow(att 6215 in bug 1443). It
   is useless now.

i=robert.read
i=vladimir.saveliev

9 years agob=19944 promise every cpu has at least 2MB debug memory.
Landen [Tue, 30 Mar 2010 19:00:32 +0000 (12:00 -0700)]
b=19944 promise every cpu has at least 2MB debug memory.

i=johann

9 years agob=21888 print more information in the test of simul
Landen [Tue, 30 Mar 2010 19:00:30 +0000 (12:00 -0700)]
b=21888 print more information in the test of simul

It may just be caused by a test that should prolong the time of testing.
Using this patch to add debug information.

i=grev
i=rebert.read

9 years agob=22187 Handle the NULL pointer as legal value.
yangsheng [Tue, 30 Mar 2010 19:00:24 +0000 (12:00 -0700)]
b=22187 Handle the NULL pointer as legal value.

i=adilger
i=johann

9 years agob=22181 interval_erase() fix i=green i=johann
Vitaly Fertman [Tue, 30 Mar 2010 19:00:22 +0000 (12:00 -0700)]
b=22181 interval_erase() fix i=green i=johann

interval_erase() calls update_maxhigh() properly when child == NULL

9 years agob=21927 test_61 fix
Elena Gryaznova [Tue, 30 Mar 2010 18:59:02 +0000 (11:59 -0700)]
b=21927 test_61 fix

i=Mikhail.Pershin

improve awk pattern to get objid correctly

9 years agob=22272 size should be valid when no objects are allocated in osts
Landen [Tue, 30 Mar 2010 18:59:00 +0000 (11:59 -0700)]
b=22272 size should be valid when no objects are allocated in osts

If no objects on osts for a file && truncating is done on an empty file,
the size on mds is valid. It should be transferred to clients.

i=tappro
i=robert.read
i=andreas.dilger

9 years agob=15057 fix file ownerships in lustre-modules RPM
Brian J. Murrell [Tue, 30 Mar 2010 18:40:46 +0000 (11:40 -0700)]
b=15057 fix file ownerships in lustre-modules RPM

The files in the lustre-modules RPM were not being set with a correct
owner and were therefore just using what was on the filesystem.

i=yangsheng
i=wangyb

9 years agob=21666 prevent use of OFED source dir instead of headers
Brian J. Murrell [Tue, 30 Mar 2010 18:40:44 +0000 (11:40 -0700)]
b=21666 prevent use of OFED source dir instead of headers

Try to determine if the user is pointing configure at the OFED source
directory intead of the devel/headers directory and error out of
configure if so and display an informative warning.

i=panda
i=whitebear

9 years agob=21754 RPM version update fix
Brian J. Murrell [Tue, 30 Mar 2010 18:40:43 +0000 (11:40 -0700)]
b=21754 RPM version update fix

It seems that Suse will release an updated RPM without updating the
kernel inside.  In doing so, the kernel and the RPM file name have
different specifications of the version.
This fix allows for that.

i=yangsheng
i=wangyb

9 years agob=21829 fix broken llobdstat and add a counter parameter
Brian J. Murrell [Tue, 30 Mar 2010 18:40:39 +0000 (11:40 -0700)]
b=21829 fix broken llobdstat and add a counter parameter

Need to make sure we limit the search for OBD stats files to the obdfilter
subdirectory of "/proc/fs/lustre".
Add a counter argument to limit the number of items returned when using the
interval parameter.
Fix lots of whitespace atrocities as well as better format some of the code.

i=cliff
i=wangyb

9 years agob=20315 Use libexecdir
brian [Tue, 30 Mar 2010 18:40:37 +0000 (11:40 -0700)]
b=20315 Use libexecdir

Use the more standard libexecdir for scripts.

i=adilger
o=Christopher Morrone

9 years agob=21527 Use %configure in the RPM SPEC file
Brian J. Murrell [Tue, 30 Mar 2010 18:40:34 +0000 (11:40 -0700)]
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

Don't use vendors own CFLAGS for the lustre build
(this portion was never inspected but landed some time ago to b1_8
directly in response to build failures due to the overzealous CFLAGS)

9 years agob=22261 remove old school build files
Brian J. Murrell [Tue, 30 Mar 2010 18:39:17 +0000 (11:39 -0700)]
b=22261 remove old school build files

Now that RHEL4 and SLES9 are not required in any form at all on master,
remove the files needed to build packages for them.

i=yibin.wang
i=sheng.yang

9 years agoRevert "Add configure option to allow repackaging of e2fsprogs as ldiskfsprogs. ...
Robert Read [Mon, 29 Mar 2010 19:21:42 +0000 (12:21 -0700)]
Revert "Add configure option to allow repackaging of e2fsprogs as ldiskfsprogs. (by Jim Garlick)"

This commit is a duplicate of 13fa1003e4f.

This reverts commit 749b473d6e38b94e9b4d88214ce8684f3c570f4e.

9 years agoRevert "Add configure option to allow repackaging of e2fsprogs as ldiskfsprogs. ...
Robert Read [Mon, 29 Mar 2010 19:20:46 +0000 (12:20 -0700)]
Revert "Add configure option to allow repackaging of e2fsprogs as ldiskfsprogs. (by Jim Garlick)"

This commit is a duplicate of 13fa1003e4f.

This reverts commit 8233d53e507a7dc247336c319ff80a453bf18207.

9 years agob=22033 Change default filesystem to ext3
Robert Read [Mon, 29 Mar 2010 17:14:48 +0000 (10:14 -0700)]
b=22033 Change default filesystem to ext3

9 years agoUpdate .gitignore files.
Robert Read [Thu, 25 Mar 2010 17:44:51 +0000 (10:44 -0700)]
Update .gitignore files.

9 years agob=22470 Put header file contents into a doxygen group.
Mark Burton [Thu, 25 Mar 2010 17:22:03 +0000 (10:22 -0700)]
b=22470 Put header file contents into a doxygen group.

i=rread
Signed-off-by: Mark Burton <markb@ordern.com>
9 years agob=22403 Fix compile warning on sles11
Nathan Rutman [Tue, 23 Mar 2010 19:57:19 +0000 (12:57 -0700)]
b=22403 Fix compile warning on sles11

i=rread
i=rahul

9 years agob=21527 Portability fixes
Brian J. Murrell [Tue, 23 Mar 2010 18:37:02 +0000 (11:37 -0700)]
b=21527 Portability fixes

Various portability fixes so that we can build without warnings on 64-bit
architectures.

i=fanyong
i=rread

9 years agob=22069 quota utils interoperability fix for HEAD.
Fan Yong [Tue, 23 Mar 2010 18:37:00 +0000 (11:37 -0700)]
b=22069 quota utils interoperability fix for HEAD.

quota utils interoperability fix for HEAD.

i=landen
i=robert.read

9 years agob=22342 more sanity check for same dentry.
Fan Yong [Tue, 23 Mar 2010 18:36:59 +0000 (11:36 -0700)]
b=22342 more sanity check for same dentry.

More sanity check for same dentry.

i=robert.read
i=eric.mei

9 years agob=17670
pravin shelar [Tue, 23 Mar 2010 18:36:58 +0000 (11:36 -0700)]
b=17670

enable FID_in_Dirent feature for OSD. this support is added to ext3 and
ext4 based ldiskfs. following patch use those APIs so that Lustre OSD
can make use of it.

i=rahul.deshmukh
i=girish
i=andreas.dilger

9 years agob=22319 Skip statahead test on NFS clients.
Robert Read [Mon, 22 Mar 2010 19:06:55 +0000 (12:06 -0700)]
b=22319 Skip statahead test on NFS clients.

9 years agob=11680 fix sles11 build.
Robert Read [Fri, 19 Mar 2010 16:48:21 +0000 (09:48 -0700)]
b=11680 fix sles11 build.

i=rahul

9 years agob=22070 revert incompatible protocol change
Alexander.Zarochentev [Fri, 19 Mar 2010 18:19:43 +0000 (11:19 -0700)]
b=22070 revert incompatible protocol change

i=nathan.rutman
i=andreas.dilger

9 years agob=22079 Moving definition of cfs_trace_buf_type_t back to linux-tracefile.h
Maxim Patlasov [Fri, 19 Mar 2010 18:19:39 +0000 (11:19 -0700)]
b=22079 Moving definition of cfs_trace_buf_type_t back to linux-tracefile.h

i=rread
Linux-specific version of cfs_trace_buf_type_t was mistakenly moved to common libcfs_debug.h by a patch for bug #15977. Fixing the problem by moving it back and adding trivial libcfs_tcd_type_max() API for utilities who need to know CFS_TCD_TYPE_MAX.

9 years agob=22126 Call run_one in a subshell
Manoj Joseph [Fri, 19 Mar 2010 18:19:27 +0000 (11:19 -0700)]
b=22126 Call run_one in a subshell

Call run_one in a subshell
Cleanup ost-pools on error

i=robert.read
i=nicolas.williams

9 years agob=21501 Properly cleanup flock lock on disconnect
Oleg Drokin [Fri, 19 Mar 2010 18:19:21 +0000 (11:19 -0700)]
b=21501 Properly cleanup flock lock on disconnect

Properly wakeup flock waiters on eviction.
Destroyed lock for flock completion ast is not an error, return success
to avoid double lock decref.

i=rread
i=adilger

9 years agob=20989 Atomically check-update inode lli_smd to prevent updated race
Oleg Drokin [Fri, 19 Mar 2010 18:19:17 +0000 (11:19 -0700)]
b=20989 Atomically check-update inode lli_smd to prevent updated race

There was a possible scenario during NFS use where multiple NFS requests would
try to refresh a dentry and will call ll_prep_inode with different
requests. ll_update_inode's ll_smd updating code would then race
after a check for ll_smd being non-NULL and we endup with an lsm leak
and some processes possibly usign stale copy of lsm data.

i=adilger
i=rread

9 years agob=17591 sanity-benchmark s/MOUNT/DIR/ cleanup
Elena Gryaznova [Thu, 18 Mar 2010 22:25:31 +0000 (15:25 -0700)]
b=17591 sanity-benchmark s/MOUNT/DIR/ cleanup

i=Robert.Read

9 years agob=22334 swap the declarations for OBD_FAIL_MDS_READLINK_EPROTO and OBD_FAIL_MDS_OPEN_...
Elena Gryaznova [Thu, 18 Mar 2010 22:25:27 +0000 (15:25 -0700)]
b=22334 swap the declarations for OBD_FAIL_MDS_READLINK_EPROTO and OBD_FAIL_MDS_OPEN_WAIT_CREATE

i=Andreas.Dilger

9 years agob=11680 Add /proc/sys/lnet/force_lbug
Robert Read [Thu, 18 Mar 2010 20:06:54 +0000 (13:06 -0700)]
b=11680 Add /proc/sys/lnet/force_lbug

This patch adds a proc entry called force_lbug.

a=Christopher J. Morrone <morrone@llnl.gov>
i=johann

9 years agob=22147 fix echo client, don't send dlm lock with intent.
Eric Mei [Thu, 18 Mar 2010 19:47:19 +0000 (12:47 -0700)]
b=22147 fix echo client, don't send dlm lock with intent.

o=jay
r=wangdi
r=ericm

9 years agob=21454 fix a miscalculation of ccc_io->cui_nrsegs.
Eric Mei [Thu, 18 Mar 2010 19:47:19 +0000 (12:47 -0700)]
b=21454 fix a miscalculation of ccc_io->cui_nrsegs.

o=jay
r=ericm
r=wangdi

9 years agob=22273 Don't remove lcd in case of client_add failure
Mikhail Pershin [Thu, 18 Mar 2010 17:21:28 +0000 (10:21 -0700)]
b=22273 Don't remove lcd in case of client_add failure

Let lcd be deleted naturally through export disconnect/destroy procedures

i=adilger
i=zam

9 years agob=21957 fixed debug_mb init problem.
Rahul Deshmukh [Thu, 18 Mar 2010 17:21:11 +0000 (10:21 -0700)]
b=21957 fixed debug_mb init problem.

debug_mb not initialized on Lustre 2.0 client node (kernel 2.6.31)

i=adilger
i=rread

9 years agob=22258 Build related changes to support fc12 on LBAT
Rahul Deshmukh [Thu, 18 Mar 2010 17:20:47 +0000 (10:20 -0700)]
b=22258 Build related changes to support fc12 on LBAT

i=brian

9 years agob=19208 osd_inode_setattr : ldiskfs needs flags set in inode->i_flags
Mikhail Pershin [Wed, 17 Mar 2010 07:06:25 +0000 (10:06 +0300)]
b=19208 osd_inode_setattr : ldiskfs needs flags set in inode->i_flags

i=adilger
i=wangdi

9 years agob=21500 2.6.31-fc12 patchless client support
Rahul Deshmukh [Wed, 17 Mar 2010 07:03:27 +0000 (10:03 +0300)]
b=21500 2.6.31-fc12 patchless client support

i=andreas.dilger
i=brain

Adding last patch needed for fc12 support on master.

9 years agob=20101 lfs getstripe -d test for sanity 27w
Andrew Perepechko [Wed, 17 Mar 2010 07:00:49 +0000 (10:00 +0300)]
b=20101 lfs getstripe -d test for sanity 27w

o=James Simmons (ORNL)
i=Andreas Dilger
i=Robert Read

9 years agob=20878 update for commit 5b268907
Nathan Rutman [Fri, 12 Mar 2010 22:25:53 +0000 (14:25 -0800)]
b=20878 update for commit 5b268907