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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

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

10 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

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

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

10 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

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

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

10 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

10 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

10 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

10 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

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

10 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

10 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

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

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

10 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

10 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

10 years agob=20878 change kernelcomms from netlink to pipes
Nathan Rutman [Fri, 12 Mar 2010 17:46:01 +0000 (09:46 -0800)]
b=20878 change kernelcomms from netlink to pipes

i=alexg
i=emoly.liu
for portability to Solaris, change kernel-userspace comm
mechanism from NetLink to pipes

10 years agob=16721 fix rename pdif lock, when source and target in the same directory.
Wang Di [Fri, 12 Mar 2010 17:46:01 +0000 (09:46 -0800)]
b=16721 fix rename pdif lock, when source and target in the same directory.

i=tappro
i=ericm

10 years agob=22097 mount.lustre fails to pass some options to mount()
Robert Read [Thu, 11 Mar 2010 05:49:04 +0000 (21:49 -0800)]
b=22097 mount.lustre fails to pass some options to mount()

i=yangsheng
i=dmitry

10 years agob=17952 allow relative pathnames
Brian J. Murrell [Tue, 9 Mar 2010 19:26:11 +0000 (11:26 -0800)]
b=17952 allow relative pathnames

This patch allows one to give relative pathnames to --with-linux and
friends.

i=adilger
i=dmitry.zogin

10 years agob=21669 cast the le64 to %llu in all ext*mmp patches
Andrew Perepechko [Tue, 9 Mar 2010 19:26:11 +0000 (11:26 -0800)]
b=21669 cast the le64 to %llu in all ext*mmp patches

i=Andreas Dilger
i=Andrew Perepechko

a bunch of fixes for extN_warnings in ldiskfs to avoid compilation warnings

10 years agob=22169 t-f:start_client_loads () wait the background threads to start
Elena Gryaznova [Tue, 9 Mar 2010 19:26:11 +0000 (11:26 -0800)]
b=22169 t-f:start_client_loads () wait the background threads to start

i=Robert.Read

10 years agob=22169 t-f cleanup: new do_nodev (), do_nodesv () functions
Elena Gryaznova [Tue, 9 Mar 2010 19:26:11 +0000 (11:26 -0800)]
b=22169 t-f cleanup: new do_nodev (), do_nodesv () functions

i=Robert.Read

10 years agob=22030 don't reveal unnecessary message to users
Landen [Tue, 9 Mar 2010 19:26:11 +0000 (11:26 -0800)]
b=22030 don't reveal unnecessary message to users

i=adilger
i=robert.read

10 years agob=21986 allow to apply OPEN_LOCK even when file created
Fan Yong [Tue, 9 Mar 2010 19:26:10 +0000 (11:26 -0800)]
b=21986 allow to apply OPEN_LOCK even when file created

Allow to apply OPEN_LOCK even when file created.

i=robert.read
i=oleg.drokin

10 years agob=21900 ost-pools test_25: FAIL
Dmitry Zogin [Tue, 9 Mar 2010 19:26:10 +0000 (11:26 -0800)]
b=21900 ost-pools test_25: FAIL

Make ost-pools test_25 more robust

 i=manoj.joseph

10 years agob=22127 lustre 1.8.2 lfs permissions Patch corrects cfs_curproc_euid() logic.
Dmitry Zogin [Tue, 9 Mar 2010 19:26:10 +0000 (11:26 -0800)]
b=22127 lustre 1.8.2 lfs permissions Patch corrects cfs_curproc_euid() logic.

o=bschubert@ddn.com
 i=oleg.drokin
 i=johann

10 years agob=20837 Reduce the output of test_14
Manoj Joseph [Tue, 9 Mar 2010 19:26:10 +0000 (11:26 -0800)]
b=20837 Reduce the output of test_14

Fill up the OST by createing 9 files of size OST0_SIZE/10.

i=nathan.rutman
i=grev

10 years agob=15962 statahead should not alias dentry with inode, which should be done by VFS...
Fan Yong [Tue, 9 Mar 2010 19:25:59 +0000 (11:25 -0800)]
b=15962 statahead should not alias dentry with inode, which should be done by VFS layer operation with parent dir's i_mutex held

1) statahead should not alias dentry with inode, which should be done by VFS layer operation with parent dir's i_mutex held
2) code cleanup

i=tom.wang
i=jinshan.xiong

10 years agoUpdated version string for build 38. 1.10.0.38 v1_10_0_38
Terry Rutledge [Thu, 4 Mar 2010 20:42:31 +0000 (13:42 -0700)]
Updated version string for build 38.

10 years agob=20383 fix errant m4 "dnl" usage
Brian J. Murrell [Thu, 4 Mar 2010 16:58:05 +0000 (08:58 -0800)]
b=20383 fix errant m4 "dnl" usage

Some dnl() usage seems to have been causing some errors in the resulting
configure script.

o=tappro
i=brian
i=adilger

10 years agob=22074 block if grant is available or maybe available soon
Eric Mei [Thu, 4 Mar 2010 01:04:44 +0000 (17:04 -0800)]
b=22074 block if grant is available or maybe available soon

even if there's no optimal-sized RPC can be sent, don't fall back to
synchronous write if there's still grant available.

r=adilger
r=wangdi

10 years agob=21106 retry page_gang_lookup.
Eric Mei [Thu, 4 Mar 2010 01:04:36 +0000 (17:04 -0800)]
b=21106 retry page_gang_lookup.

If client cached a huge number of page, cl_lock_page_out() may hog CPU
for too long time without releasing, especially with high debug grade.
This patch break this process with voluntary resched.

r=jay
r=wangdi

10 years agob=21500 2.6.31-fc12 patchless client support
Rahul Deshmukh [Thu, 4 Mar 2010 01:03:31 +0000 (17:03 -0800)]
b=21500 2.6.31-fc12 patchless client support

i=adilger
i=brian
i=sheng.yang

10 years agob=20492 allow llverdev/llverfs to handle media errors better
Rahul Deshmukh [Thu, 4 Mar 2010 01:03:21 +0000 (17:03 -0800)]
b=20492 allow llverdev/llverfs to handle media errors better

i=adilger
i=rread

10 years agob=20738 FC11 support in Yala is needed
Rahul Deshmukh [Thu, 4 Mar 2010 01:03:09 +0000 (17:03 -0800)]
b=20738 FC11 support in Yala is needed

Added support for fc11 patchless client build on lbat

i=brain

10 years agob=21255 parallel-scale statahead test fix
Elena Gryaznova [Thu, 4 Mar 2010 01:02:49 +0000 (17:02 -0800)]
b=21255 parallel-scale statahead test fix

use mpi for create/delete files instead of createmany and rm

i=Vladimir.Saveliev
i=Andrew.Perepechko

10 years agob=21919 Do not resend quota_ctl requests
Andrew Perepechko [Thu, 4 Mar 2010 01:02:11 +0000 (17:02 -0800)]
b=21919 Do not resend quota_ctl requests

Do not resend quota_ctl requests infinitely.

i=Johann Lombardi
i=ZhiYong Tian

10 years agob=21066 ost-pools test_14 should not assert that files are from a specific OST
Manoj Joseph [Thu, 4 Mar 2010 01:01:30 +0000 (17:01 -0800)]
b=21066 ost-pools test_14 should not assert that files are from a specific OST

Round-robin allocation test should not assert that files are allocated
in strict round-robin fashion.

i=nathan.rutman
i=grev

10 years agob=22225 Pad all test descriptions with "=" characters.
Robert Read [Wed, 24 Feb 2010 03:02:00 +0000 (19:02 -0800)]
b=22225 Pad all test descriptions with "=" characters.

Add banner() function so we can log other messages in the same format.

i=nico

10 years agob=21380 make dist seems to exclude the "darwin" bits
Brian J. Murrell [Wed, 3 Mar 2010 01:32:48 +0000 (17:32 -0800)]
b=21380 make dist seems to exclude the "darwin" bits

Include all of the darwin bits in the distribution tarball created with
make dist.

i=adilger
i=rread

10 years agob=21485 Keep in-memory client data until export destroy
Mike Tappro [Wed, 3 Mar 2010 01:32:45 +0000 (17:32 -0800)]
b=21485 Keep in-memory client data until export destroy

Client data on disk is removed upon disconnect but in-memory data is needed
while export is still used and must be kept until its destroy.

i=adilger
i=rread

10 years agoRevert "b=21485 Keep in-memory client data until export destroy"
Robert Read [Tue, 2 Mar 2010 02:08:23 +0000 (18:08 -0800)]
Revert "b=21485 Keep in-memory client data until export destroy"

This reverts commit 64d7c036a5429a9ce5435aea96e30935b1cef44a.

Causes compile error:
.../lustre/include/lu_target.h:59: error: 'LR_CLIENT_BITMAP_SIZE' undeclared here (not in a function)

10 years agob=21485 Keep in-memory client data until export destroy
Mike Tappro [Tue, 2 Mar 2010 01:57:44 +0000 (17:57 -0800)]
b=21485 Keep in-memory client data until export destroy

Client data on disk is removed upon disconnect but in-memory data is needed
while export is still used and must be kept until its destroy.

i=adilger
i=rread

10 years agob=21988 serialize mdt and obd state bit access
Alexander.Zarochentsev [Tue, 2 Mar 2010 01:57:39 +0000 (17:57 -0800)]
b=21988 serialize mdt and obd state bit access

Use atomic bit functions to access mdt state in mdt_allow_cli(). Otherwise bit
updates can be lost in case of concurrent modifications. Protect obd_no_conn =
0 by the obd_task_processing_lock spinlock as in the rest of the code
excluding setup.

i=tappro
i=robert.read

10 years agob=21948 skip parallel grouplock test for NFSCLIENT mode
Elena Gryaznova [Tue, 2 Mar 2010 01:57:34 +0000 (17:57 -0800)]
b=21948 skip parallel grouplock test for NFSCLIENT mode

i=Johann.Lombardi

10 years agob=20814 enable frame pointers for rhel5 kernels
Vitaly Fertman [Tue, 2 Mar 2010 01:57:26 +0000 (17:57 -0800)]
b=20814 enable frame pointers for rhel5 kernels

re-land the patch, it was occasionally dropped

o=rread
i=vitaly
i=eric

10 years agob=20731 add handling of statfs ioctl in mdc.
Eric Mei [Tue, 2 Mar 2010 01:57:23 +0000 (17:57 -0800)]
b=20731 add handling of statfs ioctl in mdc.

when cluster is upgraded from 1.8, client don't have LMV up and running,
so statfs ioctl will have to handled by mdc directly.

r=adilger
r=pravin

10 years agob=21968 conf-sanity changes for config mgs and mds are not combined
Elena Gryaznova [Thu, 25 Feb 2010 08:33:27 +0000 (00:33 -0800)]
b=21968 conf-sanity changes for config mgs and mds are not combined

i=Nathan.Rutman

includes t-f:combined_mgs_mds ()

10 years agob=17660 remove unnecessary spinlock wrappings
Alexander.Zarochentev [Thu, 25 Feb 2010 08:32:58 +0000 (00:32 -0800)]
b=17660 remove unnecessary spinlock wrappings

Read access to obd_recovering is atomic and doesn't need to be protected
by a spinlock.

i=tappro
i=adilger

10 years agob=16680 diagnostic patch to verify lustre read-only device mechanism
Fan Yong [Thu, 25 Feb 2010 08:32:12 +0000 (00:32 -0800)]
b=16680 diagnostic patch to verify lustre read-only device mechanism

Diagnostic patch to check whether lustre read-only device mechanism works well or not.

i=alex.zhuravlev
i=rahul.deshmukh

10 years agob=21097 quote the passing on of it's own arguments through $@
Jian Yu [Thu, 25 Feb 2010 08:31:58 +0000 (00:31 -0800)]
b=21097 quote the passing on of it's own arguments through $@

Fix do_nodes() in acc-sm test-framework to quote the passing on
of it's own arguments through $@ to do_node().

i=jian.yu
i=edg

10 years agoRevert "b=20989 Don't search for inode in nfs get_dentry"
Robert Read [Tue, 23 Feb 2010 00:00:43 +0000 (16:00 -0800)]
Revert "b=20989 Don't search for inode in nfs get_dentry"

This reverts commit 06889c56aec37cead923dbbd636d31dba0a46950.

This caused a performance regression on NFS.

10 years agob=20984 cleanup md_op_data and add getstripe -M
Wang Di [Mon, 22 Feb 2010 22:21:32 +0000 (14:21 -0800)]
b=20984 cleanup md_op_data and add getstripe -M

i=adiger
i=robert
i=vitaly

10 years agob=21932 disable some tests on NFSCLIENT
Elena Gryaznova [Mon, 22 Feb 2010 22:21:27 +0000 (14:21 -0800)]
b=21932 disable some tests on NFSCLIENT

Disable simul,  write_disjoint, write_append_truncate for NFSCLIENT mode.
Setstripe on lustre client (nfsserver) instead of nfs client for ior test.

i=Oleg.Drokin

10 years agob=21853 define cfs_*_nested for CONFIG_DEBUG_LOCK_ALLOC=y
Maxim Patlasov [Mon, 22 Feb 2010 22:20:54 +0000 (14:20 -0800)]
b=21853 define cfs_*_nested for CONFIG_DEBUG_LOCK_ALLOC=y

Post-nn fix: define cfs_mutex_lock_nested and other libcfs nested lock prims as linux native nested prims when CONFIG_DEBUG_LOCK_ALLOC is defined.

i=rread
i=alex

10 years agob=21911 fix for double release of ibc_lock in o2iblnd
Maxim Patlasov [Mon, 22 Feb 2010 22:20:43 +0000 (14:20 -0800)]
b=21911 fix for double release of ibc_lock in o2iblnd

Re-acquire ibc_lock in kiblnd_post_tx_locked(). Add extra reference to conn before calling kiblnd_post_tx_locked() to avoid scenario when conn disappears inside kiblnd_post_tx_locked().

i=liang

10 years agob=21835 fix mdsrate script.
Eric Mei [Mon, 22 Feb 2010 22:20:21 +0000 (14:20 -0800)]
b=21835 fix mdsrate script.

Fix mdsrate test script to also account in inodes numbers used by
test directories.

r=robert.read

10 years agoUpdated version for buld 37. 1.10.0.37 v1_10_0_37
Terry Rutledge [Fri, 19 Feb 2010 17:30:48 +0000 (10:30 -0700)]
Updated version for buld 37.

10 years agoRevert "b=21501 flock in process hangs on eviction, does not fail"
Mikhail Pershin [Thu, 18 Feb 2010 16:26:54 +0000 (19:26 +0300)]
Revert "b=21501 flock in process hangs on eviction, does not fail"

This reverts commit 7e750a8d9f9b87b7a3a608454c194d2fe7b69704.

It produces new bug 22111.

10 years agob=21718 refer to osc_io only if lock was held.
Mikhail Pershin [Wed, 17 Feb 2010 08:07:47 +0000 (11:07 +0300)]
b=21718 refer to osc_io only if lock was held.

i=wangdi
i=ericm

10 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

10 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

10 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

10 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

10 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

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

10 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

10 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

10 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

10 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

10 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