Whamcloud - gitweb
fs/lustre-release.git
12 years agoBranch HEAD
robert.read [Fri, 20 Jun 2008 00:36:04 +0000 (00:36 +0000)]
Branch HEAD
b=15969

Fixup the a global autoconf macro that is shared by libcfs and lnet.
Fix Makefile.in to use LIBCFS_SUBDIR parameter.

12 years agoBranch HEAD
robert.read [Fri, 20 Jun 2008 00:12:55 +0000 (00:12 +0000)]
Branch HEAD
b=15969

Set flag for libcfs module.

12 years agoBranch HEAD
robert.read [Fri, 20 Jun 2008 00:08:17 +0000 (00:08 +0000)]
Branch HEAD
b=15969

Use @LIBCFS_SUBDIR@ param.

12 years agoBranch HEAD
robert.read [Fri, 20 Jun 2008 00:06:45 +0000 (00:06 +0000)]
Branch HEAD
b=15969

Fix build to parameterize location of libcfs.

12 years agob=16090
grev [Thu, 19 Jun 2008 23:58:20 +0000 (23:58 +0000)]
b=16090
i-Deen
move export ${facet}_svc=${label} from start fn to mount_facet fn

12 years agoBranch HEAD
robert.read [Thu, 19 Jun 2008 23:22:47 +0000 (23:22 +0000)]
Branch HEAD

b=15969

Instead of fighting with a special case of having libcfs only exist on HEAD, I
created an empty branch for b1_x in libcfs.

12 years agoadd .empty file
robert.read [Thu, 19 Jun 2008 23:19:06 +0000 (23:19 +0000)]
add .empty file

12 years agoadd empty file.
robert.read [Thu, 19 Jun 2008 23:12:46 +0000 (23:12 +0000)]
add empty file.

12 years agoBranch HEAD
robert.read [Thu, 19 Jun 2008 23:08:19 +0000 (23:08 +0000)]
Branch HEAD
b=15969

Don't require libcfs in autogen.sh - this breaks non-HEAD branches.

12 years agoBranch HEAD
robert.read [Thu, 19 Jun 2008 22:14:59 +0000 (22:14 +0000)]
Branch HEAD
b=15969
i=isaac
i=adilger

Move libcfs to its own module.

This removes libcfs from lnet and changes the build system
to use the new libcfs module.

12 years agoBranch HEAD
robert.read [Thu, 19 Jun 2008 22:04:35 +0000 (22:04 +0000)]
Branch HEAD
b=15969
i=isaac
i=adilger

Move libcfs to a module.

12 years agoBranch HEAD
robert.read [Thu, 19 Jun 2008 19:46:44 +0000 (19:46 +0000)]
Branch HEAD
b=16069

Make sure the wildcard cases are actually last.

12 years agoBranch HEAD
robert.read [Thu, 19 Jun 2008 18:29:42 +0000 (18:29 +0000)]
Branch HEAD
b=16069

Checkout libcfs for HEAD.
Also move the b_hd_* wildcard case to bottom, so it doesn't override specific setting for other branches.

12 years ago- b=15936. Unified last_rcvd format for MDS and OSS
tappro [Thu, 19 Jun 2008 10:48:11 +0000 (10:48 +0000)]
- b=15936. Unified last_rcvd format for MDS and OSS
  i:nathan, adilger

12 years agob=16073
jxiong [Thu, 19 Jun 2008 10:41:05 +0000 (10:41 +0000)]
b=16073
r=nikita

Fixup list_for_each_entry_safe_from since prior kernels don't have this macro.

12 years agoBranch HEAD
adilger [Wed, 18 Jun 2008 22:55:05 +0000 (22:55 +0000)]
Branch HEAD
Specify tag reference correctly.
b=16008
i=rread

12 years agoBranch v1_6_5
adilger [Wed, 18 Jun 2008 22:32:22 +0000 (22:32 +0000)]
Branch v1_6_5
Update the top-level "lustre" module to the specified version/release tag
so that it is not affected by later changes to the files (esp. Makefile.in).
b=16008
i=rread

12 years agob=15967
grev [Wed, 18 Jun 2008 21:01:03 +0000 (21:01 +0000)]
b=15967
i=Robert.Read
skip sanity-quota for HEAD

12 years agobranch: HEAD
ericm [Wed, 18 Jun 2008 19:07:38 +0000 (19:07 +0000)]
branch: HEAD
fix sanity check in mdt_req_handle.
b=16076
r=wangdi
r=umka

12 years agob=15870
brian [Wed, 18 Jun 2008 16:47:18 +0000 (16:47 +0000)]
b=15870
i=adilger

Forgot to remove the ChangeLog entry when I backed this patch out.

12 years agoBranch HEAD
bobijam [Wed, 18 Jun 2008 01:48:38 +0000 (01:48 +0000)]
Branch HEAD
b=14480
o=green
i=shadow, bobijam

Description: LBUG during stress test
Details    : Need properly lock accesses the flock deadlock detection list.

12 years agob=16046
jxiong [Tue, 17 Jun 2008 15:46:56 +0000 (15:46 +0000)]
b=16046
r=nikita,isaac

cl_lock_page_list optimization.

For lnet: just copied the macro list_for_each_entry_safe_from from linux kernel.

12 years agoBranch HEAD
shadow [Tue, 17 Jun 2008 06:50:36 +0000 (06:50 +0000)]
Branch HEAD
b=15837
i=nikita
i=green

12 years agoi=adilger
nathan [Mon, 16 Jun 2008 22:49:20 +0000 (22:49 +0000)]
i=adilger
i=rread
use HEAD versions of ldiskfs and lnet on generic b_hd_* derived branches

12 years agob=14384
grev [Mon, 16 Jun 2008 20:24:07 +0000 (20:24 +0000)]
b=14384
i=Adilger
remove tdir creation from run_one: the test has to create tdir by
itself if it needs this dir

12 years agoBranch HEAD
bwzhou [Sun, 15 Jun 2008 16:48:51 +0000 (16:48 +0000)]
Branch HEAD
b=13285
r=adilger, deen

not to fail the import when -EFBIG is returned

12 years agoi=15968:
isaac [Fri, 13 Jun 2008 16:10:49 +0000 (16:10 +0000)]
i=15968:
-   use lnet HEAD for HEAD, b_HEAD_AT, b_head_capa, and b_head_interop_disk.

12 years agob=15968:
isaac [Fri, 13 Jun 2008 15:13:11 +0000 (15:13 +0000)]
b=15968:
-   use lnet branch b1_x for lustre 1.x releases.

12 years agob=15226
yury [Fri, 13 Jun 2008 15:03:39 +0000 (15:03 +0000)]
b=15226
r=nikita,shadow
- committed missed part of 15226. Cleanups in comments, use doxygen style.

12 years ago- reverting part of 15716 as it causes constant assert and stops all testing. Shadow...
yury [Fri, 13 Jun 2008 10:46:30 +0000 (10:46 +0000)]
- reverting part of 15716 as it causes constant assert and stops all testing. Shadow is informed and will clean this up shortly.

12 years agob=15932
kalpak [Fri, 13 Jun 2008 10:09:37 +0000 (10:09 +0000)]
b=15932
i=adilger,alex

- if blocks per group is less than blocksize*8, set rest of the bitmap to 1.
- check return of ext2_find_next_le_bit for overflow.

12 years agob=15230
yury [Fri, 13 Jun 2008 08:53:45 +0000 (08:53 +0000)]
b=15230
r=nikita,shadow

- fixed handling for OBD_FAIL_$PREF_$OPC_NET fail_ids in mdt. Former code did not
check it correctly (due to typo with && instead of &) in mdt_req_handle() and
they all did not work. In same time, some handlers like mdt_close() and
mdt_enqueue() tried to check them again (result of some wrong fix) but again, did
it not correctly. They returned 0 error without doing anything. This should
have to emulate network failure. But as they did not allocate reply buffer and
returned 0 error, they caused rs != NULL assert in ptlrpc. Fxing this also fixed
replay-single.sh test_53* and replay_dual.sh test_12 and possibly others;

- removed checking for NET fail_id in mdt_close() and mdt_enqueue() - sources
of recent assert;

- added sanity check in mdt_req_handle() for any other invalid situation about
returning 0 error and not allocating reply buffers;

- removed mdt_reply(), move its one line call into mdt_req_handle(). This was
needed to simplify handling NET fail_ids in which case we should just return 0
and make sure that no reply is sent;

- comments and cleanups;

- in reply-dual.sh - remove test 8 from ALWAYS_EXCEPT. It passes in HEAD.
Originally for placed into ALWAYS_EXCEPT for old mds code and later moved to
HEAD test scripts but as mds in HEAD is completely new this bug is making any
sense there;

- in reply-single.sh - remove tests 0b 39 56 from ALWAYS_EXCEPT. They are
passing in HEAD. Also they are obsolete and related to closed bugs.

12 years agoBranch HEAD
bobijam [Fri, 13 Jun 2008 01:29:20 +0000 (01:29 +0000)]
Branch HEAD
b=14134
i=johann

minor fix handling '/etc/mtab' issue.

12 years agob=15870
brian [Thu, 12 Jun 2008 20:10:18 +0000 (20:10 +0000)]
b=15870
i=adilger

Backing this out as it tries to solve a problem that doesn't really exist
and causes build breakage in doing so.

I have advised the customer that opened this bug as to how they can fix
thier OFED source pool to match the interface provided by the
kernel-ib-devel RPM, which is our reference implementation.

12 years agofix for
grev [Thu, 12 Jun 2008 08:34:41 +0000 (08:34 +0000)]
fix for
b=15711
i=Tappro
set mds${num}failover_HOST properly

fix for
b=15255
i=Adilger
umount $MOUNT2 only if it is set

12 years agoBranch HEAD
bobijam [Thu, 12 Jun 2008 02:51:11 +0000 (02:51 +0000)]
Branch HEAD
b=15345
o=johann
i=nathan, bobijam

check --writeconf flag when forcing the index.

12 years agoCleanup wrong mount_facet message
grev [Wed, 11 Jun 2008 20:11:09 +0000 (20:11 +0000)]
Cleanup wrong mount_facet message
(introduced by deen rev 1.102)

12 years agob=14384
grev [Wed, 11 Jun 2008 17:43:30 +0000 (17:43 +0000)]
b=14384
i=Adilger
test_9, test_10a fixes: do not break DIR value

12 years ago- remove trailing spaces, expand tabs.
isaac [Wed, 11 Jun 2008 16:48:54 +0000 (16:48 +0000)]
-   remove trailing spaces, expand tabs.

12 years agoBranch HEAD
yangsheng [Wed, 11 Jun 2008 09:03:10 +0000 (09:03 +0000)]
Branch HEAD
b=15667
i=andrew, johann

Remove the useless function echo_client_ubrw().

12 years agotimeout and assert in invalidate import.
shadow [Wed, 11 Jun 2008 06:48:53 +0000 (06:48 +0000)]
timeout and assert in invalidate import.
b=15716
i=rread
i=johann

12 years agoBranch b1_6
adilger [Tue, 10 Jun 2008 21:43:18 +0000 (21:43 +0000)]
Branch b1_6
Ignore both Module.symvers and Modules.symvers, for SLES.

12 years agob=15316
brian [Tue, 10 Jun 2008 20:10:42 +0000 (20:10 +0000)]
b=15316
i=yibin.wang
i=cliff.white:

Add the kernel-ib* RPMs to the reuse strategy.

12 years agoBranch b1_6
adilger [Tue, 10 Jun 2008 17:51:07 +0000 (17:51 +0000)]
Branch b1_6
Remove obsolete tips from cvsdiffclient header.  Move the "editable" comments
together, after the instructions, to be more consistent.

12 years agob=14471
komaln [Tue, 10 Jun 2008 14:27:20 +0000 (14:27 +0000)]
b=14471
i=adilger
 replace /proc/fs/lustre access with lctl {get,set}_param in test-framework.sh

12 years agoBranch HEAD
yangsheng [Tue, 10 Jun 2008 08:04:17 +0000 (08:04 +0000)]
Branch HEAD
b=15742
i=johann, zhenyu.xu

Update to RHEL4 kernel-2.6.9-67.0.15.

12 years agoBranch HEAD
bwzhou [Tue, 10 Jun 2008 07:42:25 +0000 (07:42 +0000)]
Branch HEAD
b=15759
r=rread, green

Description: MDS or OSS service threads fail startup with -24 (-EMFILE)
Details    : During startup under recovery, it is possible for service
             thread startup to fail in ptlrpc_start_threads() if one
             of the threads begins processing a request and then starts
             an additional thread.  This causes ptlrpc_start_threads()
             to try and start 1 too many threads and get an error.

12 years agoBranch HEAD
bwzhou [Tue, 10 Jun 2008 06:59:39 +0000 (06:59 +0000)]
Branch HEAD
b=15776
r=shadow, vitaly

Prevent locks stalls on glimpse races

12 years agoBranch HEAD
bwzhou [Tue, 10 Jun 2008 06:26:59 +0000 (06:26 +0000)]
Branch HEAD
b=13380

remove test 2 and 4 form ALWAYS_EXCEPT since 13380(13129) is fixed

12 years agoBranch HEAD
bwzhou [Tue, 10 Jun 2008 05:50:35 +0000 (05:50 +0000)]
Branch HEAD
b=15436
r=nathan, bobijam

remove failover mgs setting from mkfs_lustre

12 years agoBranch HEAD
yangsheng [Tue, 10 Jun 2008 04:22:50 +0000 (04:22 +0000)]
Branch HEAD
b=15592
i=oleg, shadow

Correctly handle the FS_RENAME_DOES_D_MOVE flag in Lustre.

12 years agoBranch HEAD
robert.read [Mon, 9 Jun 2008 22:58:36 +0000 (22:58 +0000)]
Branch HEAD
b=15929
i=grev

Cleanup PATH in tests so absolute paths are used, and
each path is added at most once.

12 years agob=16019
grev [Mon, 9 Jun 2008 20:22:28 +0000 (20:22 +0000)]
b=16019
i=Maxim.Patlasov

get rid of quotation in "options lnet"

12 years agob=15979
grev [Fri, 6 Jun 2008 16:37:35 +0000 (16:37 +0000)]
b=15979
i=Brian
i=Alexey.Lyashkov

Set build_success=true if build_lustre did not fail for case ! PATCHLESS and ! -z LINUX

12 years agoBranch HEAD
huanghua [Fri, 6 Jun 2008 02:19:20 +0000 (02:19 +0000)]
Branch HEAD
b=15552
i=nikita.danilov
i=adilger

- Igif support for the case when of HEAD based server runs on old disk format

12 years agoBranch HEAD
robert.read [Thu, 5 Jun 2008 23:11:56 +0000 (23:11 +0000)]
Branch HEAD

b=13537
i=grev

The old test was using the used space rather than free space. This fixes
that and also cuts the amount by half, so we don't completely fill up the
fs. It also caps the size at 1GB, like the previous version.

12 years agoBranch HEAD
robert.read [Thu, 5 Jun 2008 23:08:22 +0000 (23:08 +0000)]
Branch HEAD

b=15928
i=grev

Reset the current directory after the each test completes.

12 years agoAdd missed files from previous commit.
deen [Thu, 5 Jun 2008 18:39:58 +0000 (18:39 +0000)]
Add missed files from previous commit.

b=10718

12 years agob=14949
grev [Thu, 5 Jun 2008 16:06:27 +0000 (16:06 +0000)]
b=14949
i=Adilger

integrate lustre-iokit into normal build process

12 years agoDirectly associate cached pages to lock that protect those pages,
deen [Thu, 5 Jun 2008 11:43:21 +0000 (11:43 +0000)]
Directly associate cached pages to lock that protect those pages,
this allows us to quickly find what pages to write and remove
once lock callback is received.

b=10718
i=green
i=johann

12 years agoi=liang:
isaac [Thu, 5 Jun 2008 03:37:22 +0000 (03:37 +0000)]
i=liang:
-   remove liblustre.h dependency from selftest.

12 years agoi=liang:
isaac [Thu, 5 Jun 2008 03:33:40 +0000 (03:33 +0000)]
i=liang:
-   turn SRPC_PEER_CREDITS into a module parameter, which is useful for
    high-latency networks.

12 years agoChange LASSERTs to client eviction (i.e. abort client's recovery)
deen [Wed, 4 Jun 2008 17:56:05 +0000 (17:56 +0000)]
Change LASSERTs to client eviction (i.e. abort client's recovery)
because LASSERT on both the data supplied by a client, and the data
on disk is dangerous and incorrect.

b=15574
i=adilger
i=shadow

12 years agoMerge b_head_capa from HEAD (20080604_1758)
fanyong [Wed, 4 Jun 2008 15:42:33 +0000 (15:42 +0000)]
Merge b_head_capa from HEAD (20080604_1758)
b=15563

12 years agoBranch HEAD
yangsheng [Wed, 4 Jun 2008 14:38:10 +0000 (14:38 +0000)]
Branch HEAD
b=15741
i=johann, zhenyu.xu

Update kernel to RHEL5 kernel-2.6.18-53.1.19.el5.

12 years agob=15226
yury [Wed, 4 Jun 2008 12:07:32 +0000 (12:07 +0000)]
b=15226
r=shadow,nikita
- fixes issue with accessing freed @ns on behalf rpc handling when some late rpc comes in fini time;
- add new comments in functions, converts existing ones to be inline wigth doxygen comments policies.

12 years agoAdd block map validation
girish [Tue, 3 Jun 2008 11:26:07 +0000 (11:26 +0000)]
Add block map validation
b=13144
i=adilger
i=kalpak

12 years agob=15440
yury [Tue, 3 Jun 2008 08:04:50 +0000 (08:04 +0000)]
b=15440

- missed part of 15440. Do not forget to call ldlm_pool_fini() before removing ns proc dir;

- call ldlm_namespace_unregister() namespace _before_ __ldlm_namespace_free() which is waiting for refc == 0 as ldlm_namespace_unregister() drops refc.

12 years agob=14471
komaln [Tue, 3 Jun 2008 06:11:51 +0000 (06:11 +0000)]
b=14471
r=nathan, andreas

To add -N option in lctl get_param which will print only path names.

12 years agob=15711
grev [Mon, 2 Jun 2008 10:19:01 +0000 (10:19 +0000)]
b=15711
i=Tappro

remove obsolete insanity-local cfg

12 years agob=15711
grev [Mon, 2 Jun 2008 09:29:56 +0000 (09:29 +0000)]
b=15711
i=Tappro

-- t-f and insanity fix to work properly with FAILURE_MODE=HARD
-- remove insanity-local cfg

12 years agoupdate to doxygen templates
nikita [Sun, 1 Jun 2008 21:07:04 +0000 (21:07 +0000)]
update to doxygen templates

12 years agob=15440
yury [Fri, 30 May 2008 09:24:33 +0000 (09:24 +0000)]
b=15440
r=shadow, nikita

- fixes missed list init in CFS_LIST_INIT_HEAD(&ns->ns_list_chain);
- cleanups about registering/unregistering @ns in its list.

12 years agoBranch HEAD
yangsheng [Fri, 30 May 2008 08:17:04 +0000 (08:17 +0000)]
Branch HEAD
b=15594
i=adilger, shadow

The dd has a change of behaviour in 2.6.22 kernel. It might return
a partial read in read() system-call in some case.

12 years agoMade changes to allow b1_8 to get it's components from the right
stinson1947 [Fri, 30 May 2008 05:23:29 +0000 (05:23 +0000)]
Made changes to allow b1_8 to get it's components from the right
repositories.

12 years agoBranch HEAD
bobijam [Fri, 30 May 2008 02:56:38 +0000 (02:56 +0000)]
Branch HEAD
b=14134
i=nathan, johann

Description: enable MGS and MDT services start separately
Details    : add a 'nomgs' option in mount.lustre to enable start a MDT with
             a co-located MGS without starting the MGS, which is a complement
             to 'nosvc' mount option.

12 years agoBranch HEAD
vitaly [Thu, 29 May 2008 21:46:00 +0000 (21:46 +0000)]
Branch HEAD
b=15904
i=wangdi
i=shadow

clean log_commit_master properly at cleanup in llog_commit_thread()

12 years agorestore 51d to ALWAYS_EXCEPT list. last commit accidentally removed it.
bobijam [Thu, 29 May 2008 07:24:38 +0000 (07:24 +0000)]
restore 51d to ALWAYS_EXCEPT list. last commit accidentally removed it.

12 years agoupdate module tags for new uMDS branch.
pravins [Thu, 29 May 2008 06:35:13 +0000 (06:35 +0000)]
update module tags for new uMDS branch.

12 years agoBranch HEAD
bobijam [Thu, 29 May 2008 02:52:13 +0000 (02:52 +0000)]
Branch HEAD
b=13310
o=eeb
i=joahnn, nikita

The bug is that target_send_reply_msg() calls ptlrpc_error() if 'rc != 0', but
"difficult" replies may not be passed to rpc_error().

12 years agob=15346
vs [Wed, 28 May 2008 23:49:03 +0000 (23:49 +0000)]
b=15346
i=green,shadow,vitaly

skiplists are used to group compatible locks on granted list
that was implemented as tracking first and last lock of each lock group
the patch changes that to using doubly linked circular lists

12 years agoBranch HEAD
adilger [Wed, 28 May 2008 23:39:49 +0000 (23:39 +0000)]
Branch HEAD
Add updated racer.sh script
i=oleg.drokin

12 years agob=12622
grev [Wed, 28 May 2008 20:34:07 +0000 (20:34 +0000)]
b=12622

add 51d to ALWAYS_EXCEPT list

12 years agob=15876
grev [Wed, 28 May 2008 20:07:21 +0000 (20:07 +0000)]
b=15876
i=Adilger

skip LFSCK test for remote MDS also

12 years agob=15906
grev [Wed, 28 May 2008 19:49:15 +0000 (19:49 +0000)]
b=15906
i=Eric.Mei

mark SANITY_SEC as "Done" when completed

12 years agob=14773
grev [Wed, 28 May 2008 19:37:13 +0000 (19:37 +0000)]
b=14773
i=Adilger

rename subtests to skipping mechanism works properly

12 years agob=15908
brian [Wed, 28 May 2008 19:17:16 +0000 (19:17 +0000)]
b=15908
i=johann
i=zhenyu.xu:

Small message correction.

12 years agob=15482
brian [Wed, 28 May 2008 18:38:19 +0000 (18:38 +0000)]
b=15482
i=cliffw
i=wangyb

A forgotten small portion of the previous commit for this bug.

12 years agob=14471
komaln [Wed, 28 May 2008 06:04:19 +0000 (06:04 +0000)]
b=14471
r=adilger

to replace the sysctl lustre.* and lnet.* instances with lctl {get,set}_param

12 years agoUpstream fix memory leak when verifying checksums in the journal
girish [Tue, 27 May 2008 17:48:51 +0000 (17:48 +0000)]
Upstream fix memory leak when verifying checksums in the journal

12 years agointerface documentation: add doxygen templates and publish script.
nikita [Tue, 27 May 2008 16:18:44 +0000 (16:18 +0000)]
interface documentation: add doxygen templates and publish script.

12 years agoBranch HEAD
adilger [Mon, 26 May 2008 20:06:39 +0000 (20:06 +0000)]
Branch HEAD
Add clarifying comment.

12 years agoBranch HEAD
adilger [Mon, 26 May 2008 19:53:14 +0000 (19:53 +0000)]
Branch HEAD
Correct comment.

12 years agoBranch HEAD
adilger [Mon, 26 May 2008 19:52:11 +0000 (19:52 +0000)]
Branch HEAD
Use 64-bit XID field for async commit errors.
b=2066
i=emoly.liu
i=nathan.rutman

12 years agoBranch HEAD
adilger [Mon, 26 May 2008 19:47:14 +0000 (19:47 +0000)]
Branch HEAD
Elaborate on why the _ASM_* definitions are set.
b=14746

12 years agoBranch HEAD
adilger [Mon, 26 May 2008 19:46:10 +0000 (19:46 +0000)]
Branch HEAD
Fix compile warning for printf.

12 years agoBranch HEAD
adilger [Mon, 26 May 2008 19:44:38 +0000 (19:44 +0000)]
Branch HEAD
Update llbackup.8 man page to match b1_6.
b=14711

12 years agoBranch HEAD
adilger [Mon, 26 May 2008 19:42:28 +0000 (19:42 +0000)]
Branch HEAD
Add "dk" to common lctl commands.

12 years agoBranch HEAD
yangsheng [Mon, 26 May 2008 13:49:46 +0000 (13:49 +0000)]
Branch HEAD
b=15649
i=oleg, shadow

Enable debug options in vanilla kernel config file.

12 years agob=15874
grev [Mon, 26 May 2008 10:43:03 +0000 (10:43 +0000)]
b=15874
i=Adilger

skip test_32a, test_32b for NETTYPE != tcp