Whamcloud - gitweb
fs/lustre-release.git
17 years agoi=adilger
nathan [Thu, 7 Jun 2007 19:20:45 +0000 (19:20 +0000)]
i=adilger
fix 2.6.10 uml compile

17 years agob=10968
komaln [Thu, 7 Jun 2007 11:49:33 +0000 (11:49 +0000)]
b=10968
i= Nathan, Kalpak

1) merged vfs_stats to stats file.
2) changed stats file to be used under differebt modes (all process, specific GID, PID or PPID)
3) replaced ll_lock by new locks for ll_rw_stats_tally.
4) Turn on collection of statistics ll_rw_stats_tally only when a special
character is echoed into any of the extents_stats, extents_stats_per_process,
offset_stats files.

17 years agob=12597
kalpak [Thu, 7 Jun 2007 08:02:42 +0000 (08:02 +0000)]
b=12597
i=nathan, komal

brw_stats were being printed as log2 but all of them were not recorded as log2. Also remove some code duplication arising from filter_tally_{read,write}.

17 years agoBranch:b1_6
wangdi [Thu, 7 Jun 2007 07:22:37 +0000 (07:22 +0000)]
Branch:b1_6
The catlog should be initialized anyway even in recovery.
b=12086
i=nathan
i=adilger

17 years agob=11706
green [Wed, 6 Jun 2007 17:02:29 +0000 (17:02 +0000)]
b=11706
r=eeb,adilger,nic(original author)

Insert cond_resched in ptlrpc_main to give other threads a chance to use some cp
u.

17 years agoBranch b1_6
scjody [Tue, 5 Jun 2007 15:24:13 +0000 (15:24 +0000)]
Branch b1_6

Update to match reality

17 years agoBranch b1_6
johann [Tue, 5 Jun 2007 07:22:51 +0000 (07:22 +0000)]
Branch b1_6

Release the module reference in ll_kern_mount()

b=12546
i=green
i=shadow

17 years agoBranch b1_6
adilger [Sat, 2 Jun 2007 08:00:52 +0000 (08:00 +0000)]
Branch b1_6
Fix up error message for the case where a client hits a bogus checksum
error.  This only happens during mmap IO, and can be seen when the
client-side checksum matches the new checksum found on the server,
or has changed again since the message was originally sent.

In preparation for turning checksumming on by default.
b=11742
i=scjody
i=adilger (behlendorf original patch)

17 years agoBranch b1_6
adilger [Fri, 1 Jun 2007 20:52:25 +0000 (20:52 +0000)]
Branch b1_6
Update supported patchless client list.
b=11547

17 years agob=12475
komaln [Fri, 1 Jun 2007 07:18:13 +0000 (07:18 +0000)]
b=12475
r=Adilger, Nathan.

Prevent machine freeze when echo into proc/fs/lustre/llite/*/extents_stats

17 years agoBranch b1_6
adilger [Fri, 1 Jun 2007 06:13:24 +0000 (06:13 +0000)]
Branch b1_6
Don't actually need a cast for this.

17 years agoaccidentally lost adilger's line from 1.9.34.1
nathan [Thu, 31 May 2007 22:41:47 +0000 (22:41 +0000)]
accidentally lost adilger's line from 1.9.34.1

17 years agoBranch b1_6
adilger [Thu, 31 May 2007 21:54:48 +0000 (21:54 +0000)]
Branch b1_6
Always send IO to OST_IO_PORTAL regardless of what the default portal is.
Was previously broken for echo_client on catamount, but would also break
on 1.8 once the default request portal is REQPORTAL.

Detect if OST_WRITE or OST_READ requests go to non-IO portals, as that
would LBUG the server due to lack of IO buffers.
b=11813
i=green
i=shadow

17 years agoBranch b1_6
adilger [Thu, 31 May 2007 21:37:37 +0000 (21:37 +0000)]
Branch b1_6
Return errors from ioctl(), unlike setup_obd_uuids().
b=11757
i=kalpak

17 years ago- dev_clear_rdonly(bdev) must be called in kill_bdev() instead
deen [Thu, 31 May 2007 20:11:25 +0000 (20:11 +0000)]
- dev_clear_rdonly(bdev) must be called in kill_bdev() instead
of blkdev_put().
- revome ext3-wantedi-misc-2.6-suse.patch from fc5/fc3 series.

b=11971
i=adilger
i=nathan

17 years agoBranch b1_6
adilger [Thu, 31 May 2007 19:55:25 +0000 (19:55 +0000)]
Branch b1_6
Don't even try to connect to the MGC if we are passed an old-style profile.
b=11691
i=nathan

17 years agoadd some debug detail
nathan [Thu, 31 May 2007 18:56:41 +0000 (18:56 +0000)]
add some debug detail

17 years agob=12586
nathan [Thu, 31 May 2007 17:11:19 +0000 (17:11 +0000)]
b=12586
check for mount err. Bad nathan, no inspection.

17 years agoBranch b1_6
wangdi [Thu, 31 May 2007 11:25:52 +0000 (11:25 +0000)]
Branch b1_6
typo fixes in test_60c

17 years agoBranch:b1_6
wangdi [Thu, 31 May 2007 08:59:47 +0000 (08:59 +0000)]
Branch:b1_6
Add test case for b12556.
b=12556
i=green
i=nathan

17 years agoBranch: b1_6
wangdi [Thu, 31 May 2007 00:42:39 +0000 (00:42 +0000)]
Branch: b1_6
Branch:b1_4
set cat log bitmap only after create log success
b=12556
i=green
i=nathan

17 years agoBranch:b1_6
wangdi [Thu, 31 May 2007 00:15:20 +0000 (00:15 +0000)]
Branch:b1_6
Checking intent error before release open handle.
b=11935
i=adilger
i=green

17 years agoBranch b1_6
adilger [Wed, 30 May 2007 20:42:38 +0000 (20:42 +0000)]
Branch b1_6
Connect the echo client with the separate REQPORTAL feature.
This ensures that IO requests are sent to the IO portal, since liblustre
clients (and eventually 1.8) default to connecting to the REQPORTAL and
will send IO requests there incorrectly.
b=11813
i=green
i=shadow

17 years agoBranch b1_6
scjody [Wed, 30 May 2007 19:11:20 +0000 (19:11 +0000)]
Branch b1_6
Accept the old ost_num_threads parameter but warn that it
is deprecated, and fix an off-by-one error that caused an LBUG.

Original patch by adilger.

b=12470
i=nathan
i=scjody

17 years agob=12571
nathan [Wed, 30 May 2007 18:17:43 +0000 (18:17 +0000)]
b=12571
i=nathan
i=adilger
don't unlock twice.  patch by wangdi

17 years agob=11217
nathan [Wed, 30 May 2007 17:57:37 +0000 (17:57 +0000)]
b=11217
i=scjody
i=brian
modify do_node to work remotely

17 years agoBranch:b1_6
wangdi [Wed, 30 May 2007 11:47:43 +0000 (11:47 +0000)]
Branch:b1_6
Add grant check in sanityN.sh for each test case.
b=11662
i=adilger
i=green

17 years agoBranch b1_6
wangdi [Wed, 30 May 2007 11:41:11 +0000 (11:41 +0000)]
Branch b1_6
Grant the space immediately for ungrant I/O req to avoid grant space > left
available space.
b=11662
i=adilger
i=green

17 years agoBranch:b1_6
wangdi [Wed, 30 May 2007 11:32:59 +0000 (11:32 +0000)]
Branch:b1_6
clear grant info when osc do resent and replay bulk write.
b=11662
i=adilger
i=green

17 years agob=12528
kalpak [Wed, 30 May 2007 09:57:12 +0000 (09:57 +0000)]
b=12528
i=adilger
i=Johann

Remove the #ifdef HAVE_DISK_INODE_VERSION in lustre_fsfilt.h and have the fsfilt_{get, set}_version return -EOPNOTSUPP if the operation is not supported.

17 years agoBranch:b1_6
wangdi [Wed, 30 May 2007 09:33:07 +0000 (09:33 +0000)]
Branch:b1_6
Branch: b1_6
The dir might have multi-aliases, the subdir of all of these aliases should
be iterated and its subdir negative dentries should be dropped.
b=12123
i=green
i=shadow

17 years agoBranch b1_6
johann [Wed, 30 May 2007 08:35:46 +0000 (08:35 +0000)]
Branch b1_6

Use ext3_journal_start/stop (through fsfilt_ext3_journal_start/stop())
instead of journal_start/stop.
+ Fix SLES9 build issue.

b=11743
i=alex
i=adilger

17 years agoBranch b1_6
adilger [Tue, 29 May 2007 22:42:42 +0000 (22:42 +0000)]
Branch b1_6
Minor cleanups to tests, improved error messages.
b=12560
i=scjody

17 years agoBranch b1_6
adilger [Tue, 29 May 2007 19:40:54 +0000 (19:40 +0000)]
Branch b1_6
Fix /proc/fs/lustre/devices on PPC systems.
b=12234
i=nathan
i=scjody

17 years agob=12461
nathan [Tue, 29 May 2007 19:39:51 +0000 (19:39 +0000)]
b=12461
better "options lnet" grabbing

17 years agoBranch b1_6
adilger [Tue, 29 May 2007 18:22:52 +0000 (18:22 +0000)]
Branch b1_6
Add comment about where the default stripe counts are derived.
Whitespace cleanups.

17 years agoBranch b1_6
scjody [Tue, 29 May 2007 17:16:55 +0000 (17:16 +0000)]
Branch b1_6

Don't run filter_grant_sanity_check for more than 100 exports
to improve scaling for large numbers of clients.

b=10291
i=wangdi
i=adilger

17 years agob=12461
brian [Tue, 29 May 2007 04:41:26 +0000 (04:41 +0000)]
b=12461
r=adilger (original patch and inspection of updates to it)
Some updates so that acceptance-small.sh can be run on a patchless client
using a remote OST and MDT.
Credit goes to adilger.  Most of this is his work.  I just shepherded it
through the process.
My batch of updates to the same end is still to come.  Still to be inspected
in fact.

17 years agoBranch b1_6
adilger [Mon, 28 May 2007 16:38:22 +0000 (16:38 +0000)]
Branch b1_6
Print better error messages to understand where test failures are being hit.
b=12557

17 years agoBranch b1_6
johann [Mon, 28 May 2007 12:07:35 +0000 (12:07 +0000)]
Branch b1_6

Clear iobuf->dr_error between two uses.

b=11722
i=green
i=adilger

17 years agob=10971
komaln [Mon, 28 May 2007 11:37:42 +0000 (11:37 +0000)]
b=10971
r=Nathan

Correct the bugs with llanalyze script

17 years agoBranch:b1_6
wangdi [Sat, 26 May 2007 07:59:40 +0000 (07:59 +0000)]
Branch:b1_6
fix wrong bug no in ChangeLog

17 years agoBranch b1_6
johann [Fri, 25 May 2007 17:44:49 +0000 (17:44 +0000)]
Branch b1_6

Reverve patch from bug 11743 since it breaks SLES9 build.
For the record, the revision associated to the commit was 1.176.2.14.

b=11743

17 years agoBranch b1_6
johann [Fri, 25 May 2007 14:38:07 +0000 (14:38 +0000)]
Branch b1_6

Add the QUOTA mount option on the fly for kernel newer than 2.6.12.
Add a call to fsfilt_setup() in filter_common_setup().

b=12538
i=alex
i=adilger

17 years agoBranch b1_6
johann [Fri, 25 May 2007 13:49:00 +0000 (13:49 +0000)]
Branch b1_6
Use ext3_journal_start/stop (through fsfilt_ext3_journal_start/stop())
instead of journal_start/stop

b=11743
i=alex
i=adilger

17 years agob=11737/12549
nathan [Thu, 24 May 2007 23:32:34 +0000 (23:32 +0000)]
b=11737/12549
The 11737 patch causes various kernel crashes; see bug 12549.
Verified by nathan and adilger.
Reverting.

17 years agoBranch b1_6
adilger [Thu, 24 May 2007 22:47:58 +0000 (22:47 +0000)]
Branch b1_6
Allow runtests to run with a non-local config.
b=12499

17 years agoBranch b1_6
adilger [Thu, 24 May 2007 21:46:41 +0000 (21:46 +0000)]
Branch b1_6
Update multiop to do aligned read/write for O_DIRECT files.
b=11737

17 years agoBranch b1_6
adilger [Thu, 24 May 2007 21:28:00 +0000 (21:28 +0000)]
Branch b1_6
Quiet signed-vs-unsigned pointer warning.

17 years agousing LL_ORIGIN_REMOVEPAGE origin flag instead of 0 for llap_from_page call in
shadow [Thu, 24 May 2007 19:18:14 +0000 (19:18 +0000)]
using LL_ORIGIN_REMOVEPAGE origin flag instead of 0 for llap_from_page call in
ll_removepage

b=11817
i=shadow
i=adilger

17 years agob=12449
nathan [Thu, 24 May 2007 16:32:21 +0000 (16:32 +0000)]
b=12449
i=nathan
i=scjody
Use friendly hostname in mtab

17 years agob=10966
nathan [Thu, 24 May 2007 14:59:46 +0000 (14:59 +0000)]
b=10966
i=kalpak
cleanup stats on error exit

17 years agoBranch:b1_6
wangdi [Thu, 24 May 2007 10:06:31 +0000 (10:06 +0000)]
Branch:b1_6
Fix lov_mds_md in mdd_create_objects error handler.
Checking whether obd_fail before fsfilt_start.
Free fcc no matter whether fsfilt_commit success or failed.
b=10818
i=adilger
i=green

17 years agoBranch:b1_6
wangdi [Thu, 24 May 2007 06:30:41 +0000 (06:30 +0000)]
Branch:b1_6
Clear the grant when disconnect the import to prevent the grant being erased
wrongly when the import is evicted.
b=12371
i=green
i=adilger

17 years agob=11658
nathan [Thu, 24 May 2007 01:57:06 +0000 (01:57 +0000)]
b=11658
fix broken test

17 years agoDirect I/O operations should return actual amount of bytes transferred
deen [Wed, 23 May 2007 23:46:28 +0000 (23:46 +0000)]
Direct I/O operations should return actual amount of bytes transferred
rather than requested size.

b=11737
i=green
i=shadow

17 years agoBranch b1_6
nathan [Wed, 23 May 2007 22:42:10 +0000 (22:42 +0000)]
Branch b1_6
b=11691
i=adilger
i=scjody
deactivate 1.6 mgc to stop reconnect attempts with 1.4 servers

17 years agoWhen removing a scsi device from a kernel with your sd_iostats
shadow [Tue, 22 May 2007 07:41:38 +0000 (07:41 +0000)]
When removing a scsi device from a kernel with your sd_iostats
patch you can cause a node to crash when reading from
/proc/scsi/sd_iostats/sdX

b=11654
i=shadow
i=deen

17 years agocopy kernel patches from b1_4 to b1_6, which close bug 10935.
shadow [Mon, 21 May 2007 10:10:30 +0000 (10:10 +0000)]
copy kernel patches from b1_4 to b1_6, which close bug 10935.

b=10935
r=green(original autor)

17 years agoBranch b1_6
adilger [Fri, 18 May 2007 20:19:27 +0000 (20:19 +0000)]
Branch b1_6
Quiet compile warning when CONFIG_LSF is on (large single file).

17 years agoBranch b1_6
adilger [Thu, 17 May 2007 19:03:11 +0000 (19:03 +0000)]
Branch b1_6
Make sure that the unlinked file actually releases all of the blocks on
disk, otherwise the next test may fail with ENOSPC.
b=12507

17 years agoBranch b1_6
adilger [Thu, 17 May 2007 17:09:08 +0000 (17:09 +0000)]
Branch b1_6
Quiet compiler warnings due to printing __u8 instead of char.

17 years agoBranch b1_6
adilger [Thu, 17 May 2007 16:53:46 +0000 (16:53 +0000)]
Branch b1_6
Quiet warning about use of uninitialized variable.

17 years agoBranch b1_6
adilger [Thu, 17 May 2007 16:52:36 +0000 (16:52 +0000)]
Branch b1_6
Fix backticks to be apostrophes in comments.

17 years agosize of struct ll_inode_info is to big for union inode.u and
shadow [Thu, 17 May 2007 16:41:49 +0000 (16:41 +0000)]
size of struct ll_inode_info is to big for union inode.u and
can be cause of random memory corruption with 2.4 kernel.

b=12134
i=wangdi
i=green

17 years agob=10966
kalpak [Thu, 17 May 2007 12:07:00 +0000 (12:07 +0000)]
b=10966
i=komal
i=nathan

This patch makes sure that lprocfs is setup before the call to mds_setup and filter_setup. It also corrects the filter_tally_read() function to count the nr_pages just once.

17 years agoupdate patchless client for support 2.6.20, 2.6.21 and RHEL5 kernels.
shadow [Thu, 17 May 2007 06:47:09 +0000 (06:47 +0000)]
update patchless client for support 2.6.20, 2.6.21 and RHEL5 kernels.

b=11647
i=green
i=adilger

17 years agoBranch:b1_6
wangdi [Thu, 17 May 2007 06:11:26 +0000 (06:11 +0000)]
Branch:b1_6
update changelog of 11662 of 12401

17 years agoBranch:b1_6
wangdi [Thu, 17 May 2007 05:33:12 +0000 (05:33 +0000)]
Branch:b1_6
b:11662
compare fed_grant and client current grant, and decide whether we should grant
more space to client or keep the original fed_grant and return the client fed_grant,
instead of that "new granted" space, because client will call osc_init_grant instead of
osc_update_grant to reset the grant info of client.
i:adilger, green

17 years agoptlrpc_check_set wrongly uses req->rq_lock for proctect add to
shadow [Thu, 17 May 2007 05:20:10 +0000 (05:20 +0000)]
ptlrpc_check_set wrongly uses req->rq_lock for proctect add to
imp_delayed_list, in this place should be used imp_lock.
b=12477
i=alex
i=eeb

17 years agoBranch: b1_6
wangdi [Thu, 17 May 2007 04:40:07 +0000 (04:40 +0000)]
Branch: b1_6
checking stale with right fid in ll_revalidate_it.
b:12401
r:green, shadow

17 years agob=11658
green [Wed, 16 May 2007 20:55:21 +0000 (20:55 +0000)]
b=11658
r=wangdi,adigler

Take import reference before releasing llog record semaphore

17 years agob=11563
green [Wed, 16 May 2007 20:43:02 +0000 (20:43 +0000)]
b=11563
r=adilger,nathan

Add -o localflock option to simulate  old noflock behaviour.

17 years agoBranch b1_6
nathan [Wed, 16 May 2007 20:27:13 +0000 (20:27 +0000)]
Branch b1_6
b=12465
i=adilger
skip test 76 if no deathrow/iget

17 years agoBranch b1_6
adilger [Wed, 16 May 2007 15:50:24 +0000 (15:50 +0000)]
Branch b1_6
Description: MDS fails to start if a duplicate client export is detected
Details    : in some rare cases it was possible for a client to connect to
     an MDS multiple times.  Upon recovery the MDS would detect this
     and fail during startup.  Handle this more gracefully.
b=11818 b=10479
i=adilger (nic original patch)
i=scjody

17 years agoBranch b1_6
adilger [Tue, 15 May 2007 20:47:28 +0000 (20:47 +0000)]
Branch b1_6
One more compile warning due to redefinition of _GNU_SOURCE.

17 years agoBranch b1_6
adilger [Tue, 15 May 2007 20:45:40 +0000 (20:45 +0000)]
Branch b1_6
Fix compile warnings/error due to recent lustre-build.m4 commit of _GNU_SOURCE.
Remove some obsolete tests that now had compile warnings.
b=12348

17 years agob=10768
kalpak [Tue, 15 May 2007 10:12:14 +0000 (10:12 +0000)]
b=10768
i=adilger
i=green

Lustre methods to set/get the inode version. Only sles10 and 2.6.18 have inode version support and older kernels may not need this support. Hence added a HAVE_DISK_INODE_VERSION in ext3_fs_i.h, so that lustre can decide whether to compile inode-version code or not without requiring a cnfigure time check.

17 years agob=10768
kalpak [Tue, 15 May 2007 09:42:01 +0000 (09:42 +0000)]
b=10768
i=adilger
i=girish

Add an on-disk 64-bit inode version to track changes made to the inode. This is required for version-based recovery.

17 years agoBranch b1_6
adilger [Sat, 12 May 2007 00:35:22 +0000 (00:35 +0000)]
Branch b1_6
Fix up nanosecond patch to apply with both ldiskfs and ldiskfs2.
b=11264

17 years agoBranch b1_6
adilger [Fri, 11 May 2007 22:48:54 +0000 (22:48 +0000)]
Branch b1_6
Add uninit_groups and mballoc3 for sles10 kernel.
b=11264

17 years agoBranch b1_6
adilger [Fri, 11 May 2007 21:22:44 +0000 (21:22 +0000)]
Branch b1_6
Add uninit_groups patches for other kernels.
b=11264

17 years agoBranch b1_6
adilger [Fri, 11 May 2007 21:10:02 +0000 (21:10 +0000)]
Branch b1_6
Add mballoc3 and uninit_groups to SLES9 ldiskfs2 series.

17 years agoBranch b1_6
adilger [Fri, 11 May 2007 21:02:54 +0000 (21:02 +0000)]
Branch b1_6
Fix ext3-nanosecond patch to apply to both ldiskfs and ldiskfs2.
b=11264

17 years agoBranch b1_6
adilger [Fri, 11 May 2007 20:48:28 +0000 (20:48 +0000)]
Branch b1_6
Fix the ext3-nanosecond patch so it applies to both ldiskfs and ldiskfs2.

17 years agoUpdated build version
cliffw [Fri, 11 May 2007 20:39:23 +0000 (20:39 +0000)]
Updated build version

17 years agoBranch b1_6
adilger [Fri, 11 May 2007 20:38:12 +0000 (20:38 +0000)]
Branch b1_6
Add missing patch.

17 years agoBranch b1_6
adilger [Fri, 11 May 2007 20:37:02 +0000 (20:37 +0000)]
Branch b1_6
Update uninit_groups patch too!!!
b=11264

17 years agoBranch b1_6
adilger [Fri, 11 May 2007 20:32:06 +0000 (20:32 +0000)]
Branch b1_6
Add uninit_groups (fast fsck) support.
b=11264
i=kalpak
i=alex

Add improved mballoc support.
i=alex (original patch)
i=adilger

17 years agoBranch b1_6
scjody [Fri, 11 May 2007 19:47:17 +0000 (19:47 +0000)]
Branch b1_6

Fix sanity test 78:

1. Detects write failures and failing the test.
2. Writes a file small enough not to fill up any OST.
3. Unlinks the file at the end of the test.

b=12326
i=adilger
i=shadow

17 years agoThis commit was manufactured by cvs2svn to create branch 'b1_6'.
cvs2svn [Fri, 11 May 2007 06:36:55 +0000 (06:36 +0000)]
This commit was manufactured by cvs2svn to create branch 'b1_6'.

17 years agoBranch HEAD
adilger [Fri, 11 May 2007 06:36:54 +0000 (06:36 +0000)]
Branch HEAD
Don't run lfscktest.sh if the OSTs are remote.

17 years agoBranch HEAD
adilger [Fri, 11 May 2007 00:39:11 +0000 (00:39 +0000)]
Branch HEAD
Fix whitespace difference that caused patch reject.
b=10651

17 years agoFix missing '$' in scp
cliffw [Thu, 10 May 2007 23:26:56 +0000 (23:26 +0000)]
Fix missing '$' in scp

17 years agoReplaced portals with LNET
cliffw [Thu, 10 May 2007 23:21:04 +0000 (23:21 +0000)]
Replaced portals with LNET

17 years agoBranch HEAD
adilger [Thu, 10 May 2007 23:11:58 +0000 (23:11 +0000)]
Branch HEAD
Update release version to 1.1.

17 years agoUpdated
cliffw [Thu, 10 May 2007 23:07:27 +0000 (23:07 +0000)]
Updated

17 years agoBranch HEAD
adilger [Thu, 10 May 2007 22:48:19 +0000 (22:48 +0000)]
Branch HEAD
Minor doc updates?

17 years agoBranch HEAD
adilger [Thu, 10 May 2007 19:14:40 +0000 (19:14 +0000)]
Branch HEAD
Fix the nanosecond timestamp patches to declare all of the missing fields
in the kernel patches.
b=10651
i=green
i=kalpak

17 years agoBranch HEAD
adilger [Thu, 10 May 2007 18:38:51 +0000 (18:38 +0000)]
Branch HEAD
Apply the rest of the __iget() changes for patchless clients to
compile out the now-unnecessary parts of the code.
b=12391
i=scjody
i=green