Whamcloud - gitweb
fs/lustre-release.git
13 years agob=23076 fix for o2iblnd reconnect to retry one more time
Maxim Patlasov [Wed, 23 Jun 2010 15:01:19 +0000 (17:01 +0200)]
b=23076 fix for o2iblnd reconnect to retry one more time

i=isaac

With peer health detection, o2iblnd makes only one attempt to reconnect
which is not enough with nodes running lustre 1.6 because of  proto version
mismatch.

13 years agob=22755 Don't consume grant twice on recoverable resend
Johann Lombardi [Wed, 23 Jun 2010 09:38:38 +0000 (11:38 +0200)]
b=22755 Don't consume grant twice on recoverable resend

i=green
i=wangdi

Original patch from Oleg.

13 years agob=22797 notify users that recovery-[random,double]-scale tests are not functional...
Elena Gryaznova [Tue, 22 Jun 2010 21:11:36 +0000 (01:11 +0400)]
b=22797 notify users that recovery-[random,double]-scale tests are not functional for SOFT failure mode

i=Brian.Murrell

13 years agob=22755 more grant fixes
Johann Lombardi [Wed, 23 Jun 2010 09:24:43 +0000 (11:24 +0200)]
b=22755 more grant fixes

i=oleg
i=wangdi

- filter_preprw_write() should check for OBD_FL_SHRINK_GRANT in o_flags instead of
  o_valid;
- The grant shrink code should not use o_flags w/o setting OBD_MD_FLFLAGS since
  o_flags can be legitimately reset if OBD_MD_FLFLAGS (e.g. it is done in the
  checksum code);
- add OBD_FL_MMAP to wiretest & wirecheck

13 years agob=14929 a small cleanup in test-framework.sh
Andrew Perepechko [Tue, 22 Jun 2010 14:45:51 +0000 (18:45 +0400)]
b=14929 a small cleanup in test-framework.sh

i=Elena Gryaznova

13 years agob=23133 interop 18<->20: sanity 57a,57b,129: error: get_param: /proc/{fs,sys}/{lnet...
Rahul Deshmukh [Tue, 22 Jun 2010 12:07:26 +0000 (17:37 +0530)]
b=23133 interop 18<->20: sanity 57a,57b,129: error: get_param: /proc/{fs,sys}/{lnet,lustre}/osd/*/mntdev: Found no match

i=adilger

Fixed interop tests (sanity 57a,b 129) after renaming osd to osd-ldiskfs in master.

13 years agob=22040 use df POSIX output format
Elena Gryaznova [Mon, 21 Jun 2010 11:04:38 +0000 (15:04 +0400)]
b=22040 use df POSIX output format

i=Oleg.Drokin

13 years agoRevert "b=21951 Init scatterlist table."
Johann Lombardi [Mon, 21 Jun 2010 22:25:02 +0000 (00:25 +0200)]
Revert "b=21951 Init scatterlist table."

This reverts commit f1480c8eec3618567288e75b5ce756b519ca9447.
This is suspected to cause bug 23123.

13 years agob=14929 a tiny fix for mkfs build
Andrew Perepechko [Mon, 21 Jun 2010 10:23:41 +0000 (14:23 +0400)]
b=14929 a tiny fix for mkfs build

i=Johann Lombardi
i=ZhiYong Tian

13 years agob=22309 get and validate lock before issuing readahead
hongchao.zhang [Sun, 13 Jun 2010 05:42:11 +0000 (13:42 +0800)]
b=22309 get and validate lock before issuing readahead

in ll_read_ahead_page, get and check the validation of the ldlm lock
to protect the readahead before issuing the actual read request

i=johann@sun.com
i=yong.fan@sun.com

13 years agob=22906 fix invalid block count with 16TB block device
Zhiqi Tao [Fri, 18 Jun 2010 21:09:09 +0000 (23:09 +0200)]
b=22906 fix invalid block count with 16TB block device

13 years agobump version to 1.8.3.54 v1_8_3_54
Johann Lombardi [Fri, 18 Jun 2010 21:02:43 +0000 (23:02 +0200)]
bump version to 1.8.3.54

13 years agob=22223 bump max # phys/hw segment in SLES11 until s/g chaining works properly
Johann Lombardi [Fri, 18 Jun 2010 20:57:57 +0000 (22:57 +0200)]
b=22223 bump max # phys/hw segment in SLES11 until s/g chaining works properly

13 years agob=22656 Prevent failover nids from registering with MGS first.
Nathan Rutman [Thu, 17 Jun 2010 18:47:58 +0000 (11:47 -0700)]
b=22656 Prevent failover nids from registering with MGS first.

Make the check in mgs_handle_target_reg()

o=Joseph Herring
i=nathan.rutman
i=andreas.dilger

13 years agob=23094 add layout lock connect flag
Nathan Rutman [Thu, 17 Jun 2010 18:31:01 +0000 (11:31 -0700)]
b=23094 add layout lock connect flag

o=jc.lafoucriere@cea.fr
i=nathan
i=rread

13 years agob=22514 fork ldiskfs patches between sles11 & rhel5
yangsheng [Fri, 18 Jun 2010 20:51:53 +0000 (22:51 +0200)]
b=22514 fork ldiskfs patches between sles11 & rhel5
i=johann

Landing for RHEL 5.5 support has broken build for SLES11.

13 years agoMerge branch 'b1_8' of git@git.lustre.org:prime/lustre into b1_8
Johann Lombardi [Thu, 17 Jun 2010 08:49:57 +0000 (10:49 +0200)]
Merge branch 'b1_8' of git@git.lustre.org:prime/lustre into b1_8

13 years agob=21835 fix mdsrate script.
Eric Mei [Thu, 17 Jun 2010 02:14:13 +0000 (20:14 -0600)]
b=21835 fix mdsrate script.

r=robert.read

13 years agob=22514 Update RHEL5.5 kernel to 2.6.18-194.3.1.
yangsheng [Wed, 16 Jun 2010 15:24:25 +0000 (23:24 +0800)]
b=22514 Update RHEL5.5 kernel to 2.6.18-194.3.1.

i=johann
i=girish,rahul
i=kalpak,zhanghongchao
i=brian,wangyb

13 years agob=22853 client should flush current sequence to make client obtain new one from serve...
Fan Yong [Wed, 16 Jun 2010 14:01:15 +0000 (22:01 +0800)]
b=22853 client should flush current sequence to make client obtain new one from server in case of disconnect/reconnect

Client should flush current sequence to make client obtain new one from server in case of disconnect/reconnect.

i=robert.read
i=johann

13 years agob=22846 debuginfo packages for lustre and ldiskfs
Brian J. Murrell [Tue, 15 Jun 2010 13:32:17 +0000 (09:32 -0400)]
b=22846 debuginfo packages for lustre and ldiskfs

With our current .spec files for lustre and ldiskfs, debuginfo packages
are not produced.  It seems that while other distros do this implicitly,
SLES needs to be told to do so explicitly.

i=mjmac
i=wangyb

13 years agob=22938 lfs find -s doesn't seem to work correctly
Dmitry Zogin [Tue, 15 Jun 2010 12:50:18 +0000 (08:50 -0400)]
b=22938 lfs find -s doesn't seem to work correctly

 Fixing find_value_cmp().

 o=yuriy.umanets
 i=johann
 i=andreas.dilger

13 years agob=22884 File to OST allocation on an empty file system varies greatly.
Dmitry Zogin [Tue, 15 Jun 2010 12:49:18 +0000 (08:49 -0400)]
b=22884 File to OST allocation on an empty file system varies greatly.

 osc_precreate() should return 0, if there are enough objects left.

 i=andreas.dilger
 i=andrew.perepechko

13 years agoUpdated service tags id.
Terry Rutledge [Tue, 15 Jun 2010 16:21:26 +0000 (09:21 -0700)]
Updated service tags id.

13 years agob=21109 mds_lov_read_objids cleanup and conf-sanity tests (1.8)
Vladimir Saveliev [Fri, 11 Jun 2010 07:09:40 +0000 (11:09 +0400)]
b=21109 mds_lov_read_objids cleanup and conf-sanity tests (1.8)

calculate mds->mds_lov_objid_lastidx and mds->mds_lov_objid_lastpage correctly
have index strings big enough to store indicies in decimal
test to check size of lov_objid and
test to check configuraion with big indicies
minor compile fix to avoid compile warnings from gcc 4.0.2

i=adilger
i=panda
i=nathan

13 years agob=22121 report the right errno in l_getgroups
Andrew Perepechko [Tue, 15 Jun 2010 10:13:52 +0000 (14:13 +0400)]
b=22121 report the right errno in l_getgroups

sometimes, errno from getpwuid could be overridden by
the calls to syslog facitilites, save it for the later
report

i=Johann Lombardi

13 years agob=22911 Don't clean EXTENTS_FL flag.
yangsheng [Tue, 15 Jun 2010 08:15:18 +0000 (16:15 +0800)]
b=22911 Don't clean EXTENTS_FL flag.

i=adilger
i=girish

13 years agouse CNETERR instead of CDEBUG(D_NETERROR ...)
Johann Lombardi [Tue, 15 Jun 2010 09:56:20 +0000 (11:56 +0200)]
use CNETERR instead of CDEBUG(D_NETERROR ...)

13 years agob=21951 Init scatterlist table.
yangsheng [Tue, 15 Jun 2010 05:23:38 +0000 (13:23 +0800)]
b=21951 Init scatterlist table.

i=liangzhen
i=rahul

13 years agob=22612 dig out Module.symvers for sles10
Brian J. Murrell [Mon, 14 Jun 2010 18:25:08 +0000 (14:25 -0400)]
b=22612 dig out Module.symvers for sles10

When we build modules in lbuild for sles10 kernels, we point to the
contents of the kernel-source RPM.  That does not contain the
Module.symvers file though and thus we get a nice big warning that
the modules built (i.e. ldiskfs) will not contain versions.
This is because we need to unpack the /usr/src/linux-*obj/Module.symvers
file from the kernel-$flavour or kernel-syms RPM into the location pointed to
by --with-linux-obj.

Fix a bug in unpack_linux_devel_rpm-$DISTRO where we were not checking
for the success of the function.

i=mjmac
i=wangyb

13 years agob=22990 Script to update copyright on recently modified source files
Robert Read [Mon, 14 Jun 2010 23:37:33 +0000 (16:37 -0700)]
b=22990 Script to update copyright on recently modified source files

Based on the original script by Andreas.

i=adilger
i=johann

13 years agob=23039 Fix the build failed of sles9.
yangsheng [Fri, 11 Jun 2010 14:32:50 +0000 (22:32 +0800)]
b=23039 Fix the build failed of sles9.

i=johann

13 years agob=15253 fix conf-sanity 30b for non-tcp networks
Nathan Rutman [Thu, 10 Jun 2010 23:16:57 +0000 (16:16 -0700)]
b=15253 fix conf-sanity 30b for non-tcp networks

13 years agob=13698 support for remote mds and oss in lfscktest.sh
Vladimir Saveliev [Wed, 9 Jun 2010 23:53:28 +0000 (03:53 +0400)]
b=13698 support for remote mds and oss in lfscktest.sh

SHARED_DIRECTORY is to be specified in case of remote servers
LFSCK_ALWAYS flag to check the filesystem from check_and_cleanup_lustre()
it is "no"  by default
SKIP_LFSCK flag to allow e2fsck part of lfscktest.sh to be run without lfsck
it is "yes" by default

i=adliger
i=grev
i=jian.yu

13 years agob=21846 fix the test_32 in sanity-quota.sh and enable it
Landen [Thu, 10 Jun 2010 08:43:23 +0000 (16:43 +0800)]
b=21846 fix the test_32 in sanity-quota.sh and enable it

i=johann

13 years agob=22890 1.8<->2.0 interop: fix conf-sanity test 24a and 33a
Jian Yu [Thu, 10 Jun 2010 01:38:50 +0000 (09:38 +0800)]
b=22890 1.8<->2.0 interop: fix conf-sanity test 24a and 33a

Fix conf-sanity test 24a and 33a to work under 1.8<->2.0 interop configuration.

i=grev
i=vladimir.saveliev

13 years agob=22237 fix issue with proc_remove
Rahul Deshmukh [Thu, 10 Jun 2010 21:28:30 +0000 (23:28 +0200)]
b=22237 fix issue with proc_remove

i=johann

13 years agob=22990 update copyright messages for Oracle
Johann Lombardi [Thu, 10 Jun 2010 13:44:26 +0000 (15:44 +0200)]
b=22990 update copyright messages for Oracle

13 years agob=15253 add failover nidlist to proc import
Nathan Rutman [Wed, 9 Jun 2010 20:44:50 +0000 (13:44 -0700)]
b=15253 add failover nidlist to proc import

i=adilger
i=rread

13 years agob=22934 fix writeconf in conf-sanity
Nathan Rutman [Wed, 9 Jun 2010 18:56:24 +0000 (11:56 -0700)]
b=22934 fix writeconf in conf-sanity

fix writeconf in conf-sanity
fix conf-sanity slow list
some better error checking in conf_sanity from 22671

13 years agob=22977 add echoclient async journal regression test to acc-sm obdfilter-survey
Elena Gryaznova [Wed, 9 Jun 2010 18:36:17 +0000 (22:36 +0400)]
b=22977 add echoclient async journal regression test to acc-sm obdfilter-survey

i=Oleg.Drokin

13 years agob=22977 re-struct obdfilter-survey.sh
Elena Gryaznova [Wed, 9 Jun 2010 18:17:22 +0000 (22:17 +0400)]
b=22977 re-struct obdfilter-survey.sh

i=Andrew.Perepechko

13 years agob=22978 fix compiler warning error
Brian J. Murrell [Wed, 9 Jun 2010 17:43:10 +0000 (13:43 -0400)]
b=22978 fix compiler warning error

Fix the warning/error:
sanity.c: In function ‘t21’:
sanity.c:708: error: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’

i=panda
i=whitebear

13 years agob=22976 fix bash syntax error
Brian J. Murrell [Wed, 9 Jun 2010 16:51:01 +0000 (12:51 -0400)]
b=22976 fix bash syntax error

When using "test" to compare strings, both sides of the comparison
should either be quoted or not quoted, not one of each.
= should be used for equality in portable tests.

i=mjmac
i=whitebear

13 years agob=22975 reduce stack usage to avoid a gcc error
Brian J. Murrell [Wed, 9 Jun 2010 16:51:00 +0000 (12:51 -0400)]
b=22975 reduce stack usage to avoid a gcc error

  CC [M]  lnet/libcfs/module.o
cc1: warnings being treated as errors
lnet/libcfs/module.c: In function ‘libcfs_ioctl’:
lnet/libcfs/module.c:337: error: the frame size of 1036 bytes is larger than 1024 bytes
make[6]: *** [lnet/libcfs/module.o] Error 1

i=johann
i=panda

13 years agob=22923 increase show_error timeout from 5 to 10
Elena Gryaznova [Wed, 9 Jun 2010 16:01:07 +0000 (20:01 +0400)]
b=22923 increase show_error timeout from 5 to 10

i=Maxim.Patlasov

13 years agob=22923 increase lst stat timeout
Elena Gryaznova [Wed, 9 Jun 2010 15:57:39 +0000 (19:57 +0400)]
b=22923 increase lst stat timeout

i=Maxim.Patlasov

13 years agob=11063 fix lock inversion
Vladimir Saveliev [Wed, 9 Jun 2010 12:55:27 +0000 (16:55 +0400)]
b=11063 fix lock inversion

unlock inode mutex before extent lock acquisition to avoid lock order inversion
few misspells are fixed

i=green
i=vitaly

13 years agob=22679 quota fixes for mds_orphan_add_link
Andrew Perepechko [Wed, 9 Jun 2010 01:32:43 +0000 (05:32 +0400)]
b=22679 quota fixes for mds_orphan_add_link

allow quota overruns when linking orphans to PENDING

i=Johann Lombardi
i=ZhiYong Tian

13 years agob=22481 Add "lfs_migrate" script from manual into lustre/scripts and RPMs
Andreas Dilger [Fri, 4 Jun 2010 17:54:07 +0000 (11:54 -0600)]
b=22481 Add "lfs_migrate" script from manual into lustre/scripts and RPMs

Add enhanced lfs_migrate script from manual into lustre/scripts directory
and in RPM packages.  It does a "poor man's" migration of files from
their current OST layout to a new OST layout as chosen by the MDS.
It is currently not safe to use for files that are being written to.
It will result in the current file becoming an open-unlinked file, and
the migrated file will be used for any subsequent opens.  Any writes to
either the old or migrated file will in clients seeing different data,
and writes to the old file will be lost when it is closed.

There is no direct control of object allocation within the script, it
depends on external control to manage space.  Use "lfs find" to
select appropriate files to migrate from full OSTs. "lctl --deactivate"
is needed on the MDS to deactivate OSTs if trying to empty an OST
completely, otherwise QOS will tend to migrate files to empty OSTs.

i=brian.murrell
i=nathan.rutman

13 years agob=22476 shrink dlm slab on servers even if __GFP_FS is not set v1_8_3_53
Johann Lombardi [Fri, 4 Jun 2010 21:35:21 +0000 (23:35 +0200)]
b=22476 shrink dlm slab on servers even if __GFP_FS is not set

i=vitaly
i=oleg

13 years agobump version to 1.8.3.53
Johann Lombardi [Fri, 4 Jun 2010 21:31:18 +0000 (23:31 +0200)]
bump version to 1.8.3.53

13 years agob=21877 protect bitfield access to rq_flags with rq_lock
ZhangHongChao [Fri, 4 Jun 2010 21:28:13 +0000 (23:28 +0200)]
b=21877 protect bitfield access to rq_flags with rq_lock

i=rread
i=fanyong
i=johann

The AT code can access some bits of rq_flags while the service thread
is updating some other bits. Everyone shoud use the rq_lock for
consistency.

13 years agob=21900 verify that the pool ost is available
Nathan Rutman [Fri, 4 Jun 2010 21:17:05 +0000 (14:17 -0700)]
b=21900 verify that the pool ost is available

i=dmitry.zoguine

13 years agostrip the .patch off of the dpatch name
Brian J. Murrell [Fri, 4 Jun 2010 21:00:36 +0000 (17:00 -0400)]
strip the .patch off of the dpatch name

When annotating the .dpatch files with the patch name, seeing as we
strip the .patch off and replace it with dpatch, do the same in the
annotation.

13 years agob=22911 don't enable extent for MDT by default
Girish Shilamkar [Fri, 4 Jun 2010 21:20:11 +0000 (23:20 +0200)]
b=22911 don't enable extent for MDT by default

i=johann
i=adilger

13 years agob=22755 Don't leak grant if shink grant comes in write RPC.
Oleg Drokin [Fri, 4 Jun 2010 15:26:01 +0000 (17:26 +0200)]
b=22755  Don't leak grant if shink grant comes in write RPC.

i=adilger
i=wangdi
i=johann

13 years agob=22480 Remove duplicated LB_DEFINE_E2FSPROGS_NAMES definition
Johann Lombardi [Fri, 4 Jun 2010 15:03:58 +0000 (17:03 +0200)]
b=22480 Remove duplicated LB_DEFINE_E2FSPROGS_NAMES  definition

Revert "Add configure option to allow repackaging of e2fsprogs as ldiskfsprogs. (by Jim Garlick)"

This reverts commit 749b473d6e38b94e9b4d88214ce8684f3c570f4e.

13 years agob=22480 Remove duplicated LB_DEFINE_E2FSPROGS_NAMES definition
Johann Lombardi [Fri, 4 Jun 2010 15:03:01 +0000 (17:03 +0200)]
b=22480 Remove duplicated LB_DEFINE_E2FSPROGS_NAMES  definition

Revert "Add configure option to allow repackaging of e2fsprogs as ldiskfsprogs. (by Jim Garlick)"

This reverts commit 8233d53e507a7dc247336c319ff80a453bf18207.

13 years agob=22889 OSS Kernel panic - Kernel BUG at fs/jbd/transaction.c:1155
Dmitry Zogin [Fri, 4 Jun 2010 14:06:24 +0000 (10:06 -0400)]
b=22889 OSS Kernel panic - Kernel BUG at fs/jbd/transaction.c:1155

  extend truncate transaction to have enough blocks for last_rcvd and VBR

 o=andreas.dilger
 i=tappro
 i=oleg.drokin

13 years agob=22747 Processes stuck waiting for inode I_LOCK bit to clear.
Dmitry Zogin [Fri, 4 Jun 2010 13:56:12 +0000 (09:56 -0400)]
b=22747 Processes stuck waiting for inode I_LOCK bit to clear.

 Use CFS_ALLOC_IO instead of CFS_ALLOC_STD in OBDO_ALLOC

 i=andreas.dilger
 i=johann

13 years agob=21556 release cpu if needed while removing extents
Johann Lombardi [Fri, 4 Jun 2010 10:19:47 +0000 (12:19 +0200)]
b=21556 release cpu if needed while removing extents

i=oleg
i=vitaly

cache_remove_extents_from_lock() can hog cpu for too long.
add a call to cond_resched().

13 years agodiscover and utilize multiple CPUs
Brian J. Murrell [Wed, 2 Jun 2010 21:56:57 +0000 (17:56 -0400)]
discover and utilize multiple CPUs

13 years agogenerate debian/patches
Brian J. Murrell [Wed, 2 Jun 2010 21:56:58 +0000 (17:56 -0400)]
generate debian/patches

If we are running from a git checkout and there are patches on the
branch, (not counting the always-present debian/changelog update
patch, which is always assumed to be at the top of the patch stack)
put them into debian/patches/ as dpatches and remove them from the
source so that what's put into the source tarball is pristine.

13 years agob=22790 fail make debs if autogen.sh is needed but not present
Brian J. Murrell [Wed, 2 Jun 2010 21:56:56 +0000 (17:56 -0400)]
b=22790 fail make debs if autogen.sh is needed but not present

If a patch is added to debian/patches/ which modifies an autoconf
file but autogen.sh is not present, fail out of the "make debs"
build command.
Also provide a more explicit message to maintainers about what is
happening in this bit of code.

13 years agob=22658 More tolerant llog processing
Andrew Perepechko [Wed, 2 Jun 2010 17:54:27 +0000 (21:54 +0400)]
b=22658 More tolerant llog processing

Do not fail OST activation when a llog is not found.

i=Johann Lombardi
i=Mike Pershin

13 years agob=21500 remove duplicate LC_MODULE_LOADING def'n
Brian J. Murrell [Tue, 1 Jun 2010 19:55:23 +0000 (15:55 -0400)]
b=21500 remove duplicate LC_MODULE_LOADING def'n

The whole LC_MODULE_LOADING definition was duplicated.  Remove one of them.

13 years agob=22040 Don't run connectathon lock tests on nfsv4
Elena Gryaznova [Tue, 1 Jun 2010 19:00:01 +0000 (23:00 +0400)]
b=22040 Don't run connectathon lock tests on nfsv4

a=Robert.Read
i=Oleg.Drokin

We won't support flock on nfsv4 until 14080 has been fixed.

13 years agob=22899 reduce OBDFILTER_SURVEY duration
Elena Gryaznova [Tue, 1 Jun 2010 18:40:15 +0000 (22:40 +0400)]
b=22899 reduce OBDFILTER_SURVEY duration

i=Andreas.Dilger

13 years agob=22360 for close, map all errors to EIO
Andrew Perepechko [Mon, 31 May 2010 23:39:47 +0000 (03:39 +0400)]
b=22360 for close, map all errors to EIO

i=Johann Lombardi
i=ZhiYong Tian

13 years agob=22244/21128 remove changelog entry
Johann Lombardi [Mon, 31 May 2010 23:22:49 +0000 (01:22 +0200)]
b=22244/21128 remove changelog entry

13 years agoRevert "b=21128 send cancel rpc in a separate thread"
Johann Lombardi [Mon, 31 May 2010 23:21:28 +0000 (01:21 +0200)]
Revert "b=21128 send cancel rpc in a separate thread"

This reverts commit 578d08cde3abba552adbe6bcc1b88c6f1552ce10.
Reverting all patches from 22244 & 21128 because of test failures.
See 22244 for more info.

13 years agoRevert "b=22244 ldlm cancel flags cleanup"
Johann Lombardi [Mon, 31 May 2010 23:20:28 +0000 (01:20 +0200)]
Revert "b=22244 ldlm cancel flags cleanup"

This reverts commit 80786e8223938e1f3379ba409dec61a15dd2fc60.
Reverting all patches from 22244 & 21128 because of test failures.
See 22244 for more info.

13 years agoRevert "b=22244 delegate lock cancel to blocking thread"
Johann Lombardi [Mon, 31 May 2010 23:18:55 +0000 (01:18 +0200)]
Revert "b=22244 delegate lock cancel to blocking thread"

This reverts commit 6ac3b520e192f1c1aa26e5de047976e25766a885.
Reverting all patches from 22244 & 21128 because of test failures.
See 22244 for more info.

13 years agoRevert "b=22244 fix ref count issue"
Johann Lombardi [Mon, 31 May 2010 23:18:28 +0000 (01:18 +0200)]
Revert "b=22244 fix ref count issue"

This reverts commit 551c01b97400cb8cabf22c6eaba64606c1d199b5.
Reverting all patches from 22244 & 21128 because of test failures.
See 22244 for more info.

13 years agoRevert "b=22244 fix ref count issue (take 2)"
Johann Lombardi [Mon, 31 May 2010 23:15:53 +0000 (01:15 +0200)]
Revert "b=22244 fix ref count issue (take 2)"

This reverts commit 654e6452ae03aa35e81e23b9b0408c1e988b8f4d.
Reverting all patches from 22244 & 21128 because of test failures.
See 22244 for more info.

13 years agob=16909 D_NETERROR for LNetGet/LNetPut
Brian Behlendorf [Fri, 28 May 2010 21:40:52 +0000 (14:40 -0700)]
b=16909 D_NETERROR for LNetGet/LNetPut

Change LNET GET/PUT console errors to D_NETERROR debug messages.

13 years agob=22840 check server version for some recovery tests (vbr)
Mikhail Pershin [Fri, 28 May 2010 14:11:53 +0000 (18:11 +0400)]
b=22840 check server version for some recovery tests (vbr)

13 years agob=21563 Metadata performance has degraded for some operations between 1.6.5 and 1.8.1
Dmitry Zogin [Fri, 28 May 2010 13:27:34 +0000 (09:27 -0400)]
b=21563 Metadata performance has degraded for some operations between 1.6.5 and 1.8.1

 Remove the check for OSCC_FLAG_CREATING flag in osc_precreate(), so that
 it enters oscc_internal_create(). Also remove the check for in
 oscc_internal_create() for OSCC_FLAG_DEGRADED - let the chance to create
 objects in case all OSTs are degraded.

 i=andreas.dilger
 i=johann

13 years agob=21476 fix mds obd device setup order v2
pravin [Fri, 28 May 2010 12:58:06 +0000 (18:28 +0530)]
b=21476 fix mds obd device setup order v2

i=nathan.rutman
i=rahul.deshmukh

If mount order is mgs, ost and then mds, mds obd devices are not setup in correct order. which
results in panic. this is because of osc are added to lov before mdslov obd setup is done. this
results in uninitialized  mds->mds_lov_page_array

attached patch fixes issue by fixing mgs configuration for mds obd setup order.

13 years agob=18399 remove prune_icache patch
Johann Lombardi [Mon, 31 May 2010 16:51:44 +0000 (18:51 +0200)]
b=18399 remove prune_icache patch

i=Andrew
i=HongChao

This patch is no longer needed, now that we pin the first
page in memory thanks to the patch from bug 20008.

13 years agob=22244 fix ref count issue (take 2)
Johann Lombardi [Mon, 31 May 2010 14:33:42 +0000 (16:33 +0200)]
b=22244 fix ref count issue (take 2)

13 years agob=22244 fix ref count issue
Johann Lombardi [Fri, 28 May 2010 21:10:36 +0000 (23:10 +0200)]
b=22244 fix ref count issue

13 years agob=22656 remove changelog entry
Johann Lombardi [Fri, 28 May 2010 11:51:14 +0000 (13:51 +0200)]
b=22656 remove changelog entry

13 years agoRevert "b=22656 Prevent failover nids from registering with MGS first."
Johann Lombardi [Fri, 28 May 2010 11:49:54 +0000 (13:49 +0200)]
Revert "b=22656 Prevent failover nids from registering with MGS first."

This reverts commit 3cadd5d8bdedef530043f8605ae23ce28ec0a40c.

This causes the following LBUG:
28807:0:(mgs_llog.c:417:mgs_check_index())
ASSERTION(!(mti->mti_flags & LDD_F_NEED_INDEX)) failed

See bug 22656 for more info.

13 years agoadd missing changelog entries
Johann Lombardi [Fri, 28 May 2010 11:41:18 +0000 (13:41 +0200)]
add missing changelog entries

13 years agob=22244 delegate lock cancel to blocking thread
Vitaly Fertman [Wed, 26 May 2010 20:51:05 +0000 (00:51 +0400)]
b=22244 delegate lock cancel to blocking thread

i=adilger
i=green

instead of cancelling locks locally in the shrinking thread,
deletate it to a separate blocking thread.

13 years agob=21244 lustre_idl.h compilable from userspace
Vladimir Saveliev [Fri, 28 May 2010 10:58:26 +0000 (14:58 +0400)]
b=21244 lustre_idl.h compilable from userspace

- this allows userland programs to include <lustre/lustre_idl.h>
  from stardard include directories
- useless checks for LUSTRE_VERSION_CODE are removed

i=johann

13 years agob=21097 work around for bash mangling of md5sum result
Jian Yu [Fri, 28 May 2010 09:25:45 +0000 (17:25 +0800)]
b=21097 work around for bash mangling of md5sum result

Store the md5sum results to a file and then have md5sum check the results
in the file.

o=James Simmons
i=jian.yu
i=edg

13 years agob=22853 test should stop at once if any dbench failed.
Fan Yong [Fri, 28 May 2010 09:15:12 +0000 (17:15 +0800)]
b=22853 test should stop at once if any dbench failed.

test should stop at once if any dbench failed.

i=jian.yu
i=robert.read

13 years agob=20326 Test suite for MMP feature
Jian Yu [Thu, 27 May 2010 02:35:56 +0000 (10:35 +0800)]
b=20326 Test suite for MMP feature

Tests for multiple mount protection (MMP) feature.

i=johann
i=grev

13 years agob=22244 ldlm cancel flags cleanup
Vitaly Fertman [Wed, 26 May 2010 20:51:04 +0000 (00:51 +0400)]
b=22244 ldlm cancel flags cleanup

i=adilger
i=green

cleanup of cancel flags passed to ldlm lock cancel code

13 years agob=21128 send cancel rpc in a separate thread
Vitaly Fertman [Wed, 26 May 2010 20:51:03 +0000 (00:51 +0400)]
b=21128 send cancel rpc in a separate thread

i=oleg.drokin
i=rahul

run sync ldlm_bl_to_thread_list() in separate thread to save stack space.

13 years agob=21938 use correct waitq
Johann Lombardi [Fri, 28 May 2010 07:44:47 +0000 (09:44 +0200)]
b=21938 use correct waitq

Fix nit in the original patch.

13 years agob=22755 don't leak grant if write failed with EDQUOT
Oleg Drokin [Thu, 27 May 2010 16:22:43 +0000 (18:22 +0200)]
b=22755 don't leak grant if write failed with EDQUOT

i=johann
i=wangdi

13 years agob=22755 check for OBD_CONNECT_GRANT_SHRINK in osc_should_shrink_grant()
Johann Lombardi [Thu, 27 May 2010 16:14:30 +0000 (18:14 +0200)]
b=22755 check for OBD_CONNECT_GRANT_SHRINK in osc_should_shrink_grant()

i=wangdi
i=oleg

13 years agob=22509 increase default md stripe_cache_size to 16k
Minh Diep [Tue, 25 May 2010 20:31:51 +0000 (22:31 +0200)]
b=22509 increase default md stripe_cache_size to 16k

i=adilger
i=brian

13 years agob=22558 fix mdc_setattr_pack_20() to handle ea == NULL
pravin [Tue, 25 May 2010 14:20:40 +0000 (19:50 +0530)]
b=22558 fix mdc_setattr_pack_20() to handle ea == NULL

i=sheng.yang
i=johann

this patch fixes interop setattr function mdc_setattr_pack_20() for command
"setfattr -n trusted.lov ." which cause ea == NULL.

13 years agob=21951 proc_handler() just want 5 parameters since 2.6.32.
yangsheng [Sat, 22 May 2010 00:44:53 +0000 (08:44 +0800)]
b=21951 proc_handler() just want 5 parameters since 2.6.32.

i=zhen.liang
i=sebastien.buisson

14 years agobump version to 1.8.3.52 v1_8_3_52
Johann Lombardi [Fri, 21 May 2010 21:21:05 +0000 (23:21 +0200)]
bump version to 1.8.3.52