Whamcloud - gitweb
zam [Thu, 8 May 2008 05:46:55 +0000 (05:46 +0000)]
b=11270
i=vitaly.vertman
i=oleg.drokin
Lockless i/o code fixes and improvements:
(1) lockless truncate checks for OBD_CONNECT_TRUNCLOCK and ll_file_punch
sets OBD_FL_TRUNCLOCK correctly.
(2) an lproc control for lockless truncate,
lproc statistics for lockless truncate.
(3) sanityN tests for lockless code
adilger [Wed, 7 May 2008 22:23:22 +0000 (22:23 +0000)]
Branch b_release_1_6_5
Update client side RPC messages to match those on the server, as changed
previously on the server in bug 13537, allowing the same :pid:xid: string
to be searched in both client and server logs.
b=13537
bobijam [Wed, 7 May 2008 01:50:50 +0000 (01:50 +0000)]
Branch b1_6
b=15575
i=wangdi, johann
Description: Stack overflow during MDS log replay
Details : ease stack pressure by using a thread dealing llog_process.
shadow [Tue, 6 May 2008 18:16:09 +0000 (18:16 +0000)]
compile with -m64 flag produce wrong object file for ppc32.
b=15278
i=johann
i=deen
bwzhou [Mon, 5 May 2008 15:15:28 +0000 (15:15 +0000)]
Branch b1_6
b=14219
r=adilger, shadow
use punch instead of setattr to change file size
johann [Fri, 2 May 2008 20:26:35 +0000 (20:26 +0000)]
Branch b1_6
b=15517
i=johann
i=umka
Fix compile warnings on i686.
johann [Fri, 2 May 2008 19:41:01 +0000 (19:41 +0000)]
Branch b1_6
b=15069
i=rread
i=wangdi
remove LASSERT in ptlrpc_invalidate_import() since ping req can be queued even
imp_invalid is set. See also bug 15716.
johann [Fri, 2 May 2008 19:18:39 +0000 (19:18 +0000)]
Branch b1_6
b=15069
i=rread
i=wangdi
Skip the "sleep until imp_inflight == 0" part when invalidating an mgc import
which is already invalid.
johann [Fri, 2 May 2008 19:01:34 +0000 (19:01 +0000)]
Branch b1_6
b=13904
i=johann
i=tianzy
Quota data should not be stored in a 32-bit variable. Use __u64 instead.
deen [Wed, 30 Apr 2008 20:55:46 +0000 (20:55 +0000)]
Don't disable LIBLUSTRE_POSIX_ACL if --disable-liblustre given and
don't build wiretest with build utils.
b=15642
i=adilger
i=shadow
fanyong [Wed, 30 Apr 2008 17:23:56 +0000 (17:23 +0000)]
Branch b1_6
b=15691
i=huanghua
i=tappro
1) Prevent "ll_sa_wrong" from being increased repeatedly when hit ratio is low.
2) Remount client before sanity 123a to eliminate previous test effect.
ericm [Wed, 30 Apr 2008 17:18:03 +0000 (17:18 +0000)]
branch: b1_6
set msghdr flags right before rpc sent out.
b=15487
r=rread
r=shadow
tianzy [Wed, 30 Apr 2008 09:37:06 +0000 (09:37 +0000)]
Branch b1_6
b=15643
i=johann
Prolong the waiting time in test_12 of sanity-quota.sh
bwzhou [Wed, 30 Apr 2008 05:32:57 +0000 (05:32 +0000)]
Branch b1_6
Add ChangeLog entries.
bobijam [Wed, 30 Apr 2008 01:44:14 +0000 (01:44 +0000)]
Branch b1_6
b=14995
i=wangdi, rread
send activate event only for evicted imports.
walter [Tue, 29 Apr 2008 22:49:51 +0000 (22:49 +0000)]
b=13539
i=johann
i=adilger
fix for configure: WARNING: linux/random.h: present but cannot be compiled
walter [Tue, 29 Apr 2008 16:25:58 +0000 (16:25 +0000)]
b=15689
i=johann
i=alexey.lyashkov
fix error building lustre/liblustre/tests for Cray XT3 catamount
fanyong [Tue, 29 Apr 2008 02:44:39 +0000 (02:44 +0000)]
Branch b1_6
b=15406
Add ChangeLog entry.
anserper [Mon, 28 Apr 2008 20:51:51 +0000 (20:51 +0000)]
Branch b1_6
b=15441
i=johann
i=tianzy
quota might appear on quota files causing deadlock, this is fixed with this patch
brian [Mon, 28 Apr 2008 19:21:02 +0000 (19:21 +0000)]
b=15316,13969
ChangeLog entries.
anserper [Mon, 28 Apr 2008 14:04:32 +0000 (14:04 +0000)]
Branch b1_6
b=15036
updated changelog with respect to 15036 updates
bwzhou [Mon, 28 Apr 2008 04:21:59 +0000 (04:21 +0000)]
Branch b1_6
b=11777
r=green, shadow
invalidate the import to halt request handling so the namespace can be safely
cleaned up
bobijam [Mon, 28 Apr 2008 02:17:23 +0000 (02:17 +0000)]
Branch b1_6
b=14803
i=johann, adilger
Description: Don't update lov_desc members until making sure they are valid
Details : When updating lov_desc members via proc fs, need fix their
validities before doing the real update.
stinson1947 [Sun, 27 Apr 2008 02:48:57 +0000 (02:48 +0000)]
Updated for future beta release.
stinson1947 [Sun, 27 Apr 2008 02:47:15 +0000 (02:47 +0000)]
Added header for the next release 1.6.6.
stinson1947 [Sun, 27 Apr 2008 02:45:41 +0000 (02:45 +0000)]
*** empty log message ***
stinson1947 [Sun, 27 Apr 2008 01:51:13 +0000 (01:51 +0000)]
Changed version numbers for 1.6.5.
stinson1947 [Sun, 27 Apr 2008 01:48:47 +0000 (01:48 +0000)]
Added date for the 1.6.5 release.
fanyong [Sat, 26 Apr 2008 14:30:54 +0000 (14:30 +0000)]
Branch b1_6
b=15658
i=huanghua
i=tappro
Support directory read ahead under patchless client mode.
When "ls" a dentry, the system trigger more than once "revalidate" or
"lookup", for "getattr", for "getxattr", and maybe for others.
Under patchless client mode, the operation intent is not accurate,
it maybe misguide the statahead thread. For example:
The "revalidate" call for "getattr" and "getxattr" of a dentry maybe
have the same operation intent -- "IT_GETATTR".
In fact, one dentry should has only one chance to interact with the
statahead thread, otherwise the statahead windows will be confused.
deen [Sat, 26 Apr 2008 12:39:55 +0000 (12:39 +0000)]
It is be possible to send the lock handle along with each read
or write request because the client is already doing a lock match
itself so there isn't any reason the OST should have to re-do that
search.
b=15198
i=adilger
i=shadow
walter [Sat, 26 Apr 2008 02:23:43 +0000 (02:23 +0000)]
b=15277
i=adilger
i=rread
fixes error linking lustre/liblustre/tests/echo_test
during catamount build of b1_6 for Cray XT3 systems
adilger [Sat, 26 Apr 2008 00:10:33 +0000 (00:10 +0000)]
Branch b1_6
Clarify instructions.
adilger [Sat, 26 Apr 2008 00:08:57 +0000 (00:08 +0000)]
Branch b1_6
Fix line wrap.
adilger [Fri, 25 Apr 2008 23:22:02 +0000 (23:22 +0000)]
Branch b1_6
Minor cleanup.
brian [Fri, 25 Apr 2008 21:51:22 +0000 (21:51 +0000)]
b=15316
i=cliffw
i=wangyb
Build OFED 1.3's kernel-ib and kernel-ib-devel with our patched lustre
server kernel for RHEL 4 and 5 and SLES 10. SLES 9 is not supported by
OFED 1.3.
Since OFED 1.3 provides a newer open-iscsi stack, prefer those modules
from the kernel-ib over those provided by the vendor kernels.
Additionally, build Lustre with o2iblnd support.
walter [Fri, 25 Apr 2008 19:31:09 +0000 (19:31 +0000)]
b=14609
i=grev
fix for test_16 failure due to trying to create mntpt dir on Read-Only fs.
walter [Fri, 25 Apr 2008 19:22:30 +0000 (19:22 +0000)]
b=15670
i=adilger
i=johann
land attachment 16523
fixes this compile warning (which is treated as an error -Werror on XT3's):
during lustrefs-1.6-ss builds:
lustrefs-1.6-ss/lustre/mds/mds_lov.c: In function `mds_lov_read_objids':
mds_lov.c:198: warning: int format, different type arg (arg 10)
johann [Fri, 25 Apr 2008 17:42:29 +0000 (17:42 +0000)]
Branch b1_6
b=14909
i=tianzy
use cancel_lru_locks instead of "sync; sleep 1; sync" in sanity-quota.sh.
johann [Fri, 25 Apr 2008 14:38:30 +0000 (14:38 +0000)]
Branch b1_6
b=14410
i=bzzz
i=kalpak
Force q->max_phys_segments to MAX_PHYS_SEGMENTS on SLES10 to be
sure that 1MB requests are not fragmented by the block layer.
walter [Fri, 25 Apr 2008 14:00:05 +0000 (14:00 +0000)]
b=13539
i=adilger
i=rread
add linux/random.h to AC_CHECK_HEADERS
add #if defined(HAVE_LINUX_RANDOM_H) to lustre/lvfs/prng.c
shadow [Thu, 24 Apr 2008 11:54:19 +0000 (11:54 +0000)]
don't put request into delay list while invalidate in flight.
normalize imp_infligh calculation.
b=15069
i=johann
i=rread
yangsheng [Thu, 24 Apr 2008 08:15:57 +0000 (08:15 +0000)]
Branch b1_6
b=15416
i=shadow, johann
Update kernel for SLES9 2.6.5-7.311.
yangsheng [Thu, 24 Apr 2008 08:08:48 +0000 (08:08 +0000)]
Branch b1_6
b=15240
i=shadow, green
Update to RHEL4 latest kernel.
shadow [Thu, 24 Apr 2008 07:07:59 +0000 (07:07 +0000)]
use generic CFS_LIST_HEAD macro instead of LIST_HEAD.
b=14929
i=zam
green [Thu, 24 Apr 2008 05:58:37 +0000 (05:58 +0000)]
b=14712
r=vitaly,shadow
Do not free request that we do not have refcount on on open error
fanyong [Thu, 24 Apr 2008 04:41:11 +0000 (04:41 +0000)]
Branch b1_6
b=15406
i=huanghua
i=tappro
i=vitaly
Back port dir_SA fixes from HEAD (b1_8_dir_ra) to b1_6.
adilger [Thu, 24 Apr 2008 02:43:04 +0000 (02:43 +0000)]
Branch b1_6
Document the maximum filesysyem name length.
b=15486
ericm [Wed, 23 Apr 2008 18:00:48 +0000 (18:00 +0000)]
branch: b1_6
reset AT flag on reconnects.
a=nathan (original author)
b=15487
r=rread
r=ericm
yangsheng [Wed, 23 Apr 2008 13:24:40 +0000 (13:24 +0000)]
Branch b1_6
b=14714
i=adilger, johann
Fixed previous error.
shadow [Tue, 22 Apr 2008 11:39:53 +0000 (11:39 +0000)]
not swab ost objects for directory because it's not exist.
b=14856
i=green
i=johan
deen [Tue, 22 Apr 2008 08:18:45 +0000 (08:18 +0000)]
Set proper locale when generating wiretest.c.
b=15566
deen [Tue, 22 Apr 2008 07:53:33 +0000 (07:53 +0000)]
Update wirecheck.c/wirehdr.c and regenerate wiretest.c
b=15566
i=adilger
i=shadow
grev [Mon, 21 Apr 2008 18:05:49 +0000 (18:05 +0000)]
b=15273
i=Adilger
skip test_37 if CLIENTMODSONLY is set
ericm [Mon, 21 Apr 2008 17:11:38 +0000 (17:11 +0000)]
branch: b1_6
change at_max according to AT status.
b=13659
r=nathan
r=rread
r=grev
anserper [Mon, 21 Apr 2008 11:20:39 +0000 (11:20 +0000)]
Branch b1_6
b=15218
i=johann
i=tianzy
additional admin quota file update
grev [Fri, 18 Apr 2008 10:35:14 +0000 (10:35 +0000)]
b=15612
i=Adilger
force test_20a and test_20b to do write on the correct ost
shadow [Fri, 18 Apr 2008 09:45:38 +0000 (09:45 +0000)]
Fix warnings with compile liblustre at sles10/rhel5 which have
__u64 as usingied long long type.
b=15517
i=johan
i=deen
shadow [Fri, 18 Apr 2008 07:16:30 +0000 (07:16 +0000)]
removing callback before disconnect import is open race with processing
callback.
b=15210
i=green
i=deen
bwzhou [Fri, 18 Apr 2008 04:47:53 +0000 (04:47 +0000)]
Branch b1_6
b=15521
r=adilger, shadow
correct the initialization of lc_min of struct lprocfs_counter
shadow [Thu, 17 Apr 2008 13:41:42 +0000 (13:41 +0000)]
init rq_history_list before use.
b=15412
i=johann
i=deen
shadow [Thu, 17 Apr 2008 12:30:05 +0000 (12:30 +0000)]
fix typo.
i=nikita
i=johann
yury [Wed, 16 Apr 2008 20:49:35 +0000 (20:49 +0000)]
b=15440
r=shadow,adilger
- remove @ns from list using list_del_init() to make sure that consequnet list_empty() will really work right on removed listy_head.
brian [Wed, 16 Apr 2008 14:41:07 +0000 (14:41 +0000)]
b=15482
i=cliffw
i=wangyb
Allow a kernel target to specify a delimiter between the version and the
"flavor" (i.e. "smp")
- specifically this allows RH kernels to be <version>smp and SLES10 kernels
to be <version>-smp.
- maintaining the vendors versioning specification means that when software
is trying to determine a vendors kernel using patterns (like OFED does),
it properly detects the SLES10 kernel.
This all lays the ground work for bug 15316.
grev [Wed, 16 Apr 2008 14:07:44 +0000 (14:07 +0000)]
b=15273
i=Nathan.Rutman
skip test_37 for client only testing
grev [Wed, 16 Apr 2008 12:13:07 +0000 (12:13 +0000)]
b=15526
i=Adilger
allow both "cfs" and "sun" e2fsck
grev [Wed, 16 Apr 2008 12:00:54 +0000 (12:00 +0000)]
b=15513
i=Yury.Umanets
i=Alexey.Lyashkov
force test_69 to fail if directio write failed
yury [Wed, 16 Apr 2008 08:38:20 +0000 (08:38 +0000)]
b=14901
r=grev
- fixes using check_runas_id(). Adds check for used runas id in test_72.
ericm [Tue, 15 Apr 2008 21:11:16 +0000 (21:11 +0000)]
branch: b1_6
fix AT time calculation in AT_OFF mode.
b=3055
r=nathan
r=rread
yangsheng [Tue, 15 Apr 2008 16:02:37 +0000 (16:02 +0000)]
Branch b1_6
b=12652
i=shadow, johann
Add FMODE_EXEC flag to SLES10 SP1.
ericm [Mon, 14 Apr 2008 18:56:17 +0000 (18:56 +0000)]
branch: b1_6
increase the version to 1.6.4.56
ericm [Mon, 14 Apr 2008 18:10:22 +0000 (18:10 +0000)]
branch: b1_6
fix a race that early reply right after realy reply.
b=15178
Christopher Morrone, LLNL (original author)
r=nathan
r=ericm
ericm [Fri, 11 Apr 2008 19:03:15 +0000 (19:03 +0000)]
branch: b1_6
Do not skip at_check_timed in AT_OFF mode, early replies might still be
sent out until affected RPCs will drain eventually.
b=15341
r=nathan
r=rread
deen [Thu, 10 Apr 2008 12:50:35 +0000 (12:50 +0000)]
Use fsfilt_sync() for both the whole filesystem sync and
individual file sync to eliminate dangerous inode locking
with I_LOCK that can lead to a deadlock.
b=15188
i=green
i=shadow
vitaly [Thu, 10 Apr 2008 11:55:07 +0000 (11:55 +0000)]
Branch b1_6
b=14661
i=green
i=shadow
-- remove BL_AST lock from lru once we mark the lock as a such;
-- do not place BL_AST lock into lru even if the lock is matched and put later;
=> no BL_AST locks in lru at all;
-- CANCELING locks are not so numerous, but to avoid its traversal by another
thread another time, drop them from the unused list once come them across.
shadow [Thu, 10 Apr 2008 06:27:13 +0000 (06:27 +0000)]
fix iov handling.
b=15483
i=green
i=johann
yangsheng [Thu, 10 Apr 2008 03:09:56 +0000 (03:09 +0000)]
Branch b1_6
b=13397
i=johann
i=shadow
Split the export journal-api part as a separate patch.
grev [Wed, 9 Apr 2008 19:16:47 +0000 (19:16 +0000)]
b=15289
i=Yury.Umanets
force test_66b to use FSNAME
grev [Wed, 9 Apr 2008 18:41:37 +0000 (18:41 +0000)]
b=13886
i=Oleg.Drokin
load crc16 module if it exists
yangsheng [Mon, 7 Apr 2008 03:22:11 +0000 (03:22 +0000)]
Branch b1_6
b=15152
Fixed previous lost part.
johann [Fri, 4 Apr 2008 06:03:53 +0000 (06:03 +0000)]
Branch b1_6
b=14751
i=green
i=bzzz
reset the time reference between calls to fsfilt_check_slow to prevent
useless slow brw_start/direct_io/... messages.
tianzy [Fri, 4 Apr 2008 00:51:07 +0000 (00:51 +0000)]
Branch b1_6
Add a new item(lq_lock) in struct lustre_qunit which protects every single qunit
and qunit_hash_lock only protects qunit hash. It will improve parellelism.
i=johann
i=andrew
stinson1947 [Thu, 3 Apr 2008 17:19:09 +0000 (17:19 +0000)]
created tag for 1.6.4.55
bobijam [Thu, 3 Apr 2008 03:23:43 +0000 (03:23 +0000)]
Branch b1_6
b=15288
i=wangdi, shadow
fix stride_len assertion.
when current ra window is consumed, and 2 consequent read requires to enlarge
the read ahead window, and the enlargement action met window_start 0,
window_len 80, because the latest read consumes the whole window content,
stride_offset is 80, so the left of current ra window is 0, and the assertion
of stride_len should be ">= 0" rather than "> 0"
green [Thu, 3 Apr 2008 03:21:19 +0000 (03:21 +0000)]
r=shadow,umka
b=14257
Do not include LdLM_FLOCK locks into ldlm_pool sanity calculations.
bobijam [Thu, 3 Apr 2008 02:46:55 +0000 (02:46 +0000)]
Branch b1_6
b=14134
i=shadow, nathan
change non-fatal error messages about contacting MGS.
bobijam [Thu, 3 Apr 2008 02:17:59 +0000 (02:17 +0000)]
Branch b1_6
b=13375
i=shadow, panda
Descriptoin: make lov_create() will not stuck in obd_statfs_rqset()
Details : If an OST is down the MDS will hang indefinitely in
obd_statfs_rqset() waiting for the statfs data. While for
MDS QOS usage of statfs, it should not stuck in waiting.
stinson1947 [Wed, 2 Apr 2008 21:07:15 +0000 (21:07 +0000)]
Updating version to 1.6.4.5
johann [Wed, 2 Apr 2008 20:06:26 +0000 (20:06 +0000)]
Branch b1_6
b=14855
i=shadow
i=adilger
On SLES10/PPC, fs.h includes idr.h which requires BITS_PER_LONG to
be defined. Add a hack in mkfs_lustre.c to work around this compile
issue.
grev [Tue, 1 Apr 2008 04:19:21 +0000 (04:19 +0000)]
b=13886
i=Adilger
load crc16
robert.read [Mon, 31 Mar 2008 18:31:43 +0000 (18:31 +0000)]
Branch b1_6
Change #if to #ifdef to make gcc 3.x happy.
b=15327
i=oleg
i=walter
jxiong [Mon, 31 Mar 2008 07:45:54 +0000 (07:45 +0000)]
Remove specialized patch for titech, as Scjody suggested.
deen [Fri, 28 Mar 2008 17:27:07 +0000 (17:27 +0000)]
Move test 28 from sanityN to ALWAYS_EXCEPT due to object recreation code
removal in bug 13499.
b=13499
green [Thu, 27 Mar 2008 03:32:38 +0000 (03:32 +0000)]
b=13371
r=shadow,nikita
Implement readv/writev (aio_read/aio_write) to greatly help NFS writes speed
on 2.6 kernels.
robert.read [Wed, 26 Mar 2008 16:17:18 +0000 (16:17 +0000)]
Branch b1_6
Increase version number to 1.6.4.53 for new tag.
robert.read [Wed, 26 Mar 2008 15:58:30 +0000 (15:58 +0000)]
Branch b1_6
Disable Adaptive Timeouts by default. Can be re-enabled by setting the ptlrpc
module parameter "at_max=600".
b=3055
i=adilger
i=nathan
bwzhou [Wed, 26 Mar 2008 11:43:58 +0000 (11:43 +0000)]
Branch b1_6
b=15283
r=walter
use "get_param version" instead of "lustre_build_version"
deen [Wed, 26 Mar 2008 09:39:50 +0000 (09:39 +0000)]
Remove recreation code from filter_truncate() and filter_preprw_write().
b=13499
i=adilger
i=shadow
shadow [Wed, 26 Mar 2008 08:08:19 +0000 (08:08 +0000)]
fix typo
shadow [Wed, 26 Mar 2008 06:22:07 +0000 (06:22 +0000)]
fix panic with double free request if network error.
b=15027
i=johann
i=fanyong
kalpak [Tue, 25 Mar 2008 19:48:52 +0000 (19:48 +0000)]
update to latest e2fsprogs version