Whamcloud - gitweb
fs/lustre-release.git
15 years agob=15715
jxiong [Wed, 5 Nov 2008 02:47:41 +0000 (02:47 +0000)]
b=15715
r=adilger,green

Fixed the race of destroying and enqueuing a ldlm lock at OST side.

15 years agoBranch HEAD
bobijam [Wed, 5 Nov 2008 02:03:57 +0000 (02:03 +0000)]
Branch HEAD
b=16578
i=adilger

Description: ldlm_cancel_pack()) ASSERTION(max >= dlm->lock_count + count)
Details    : If there is no extra space in the request for early cancels,
             ldlm_req_handles_avail() returns 0 instead of a negative value.

15 years agoBranch HEAD
tianzy [Tue, 4 Nov 2008 07:29:14 +0000 (07:29 +0000)]
Branch HEAD
Replace LBUG with RETURN(-EINVAL) to avoid crashing
b=5135
i=adilger
i=johann

15 years ago- test fix from 12512
tappro [Mon, 3 Nov 2008 22:09:43 +0000 (22:09 +0000)]
- test fix from 12512
  b:12512
  i:grev, adilger

15 years ago- fix recovery time growing
tappro [Mon, 3 Nov 2008 13:34:52 +0000 (13:34 +0000)]
- fix recovery time growing
  b:16389
  i:rread,nathan

15 years agob=17397
alex [Sat, 1 Nov 2008 17:43:50 +0000 (17:43 +0000)]
b=17397
i=adilger

 - always flush page left by partial truncate

15 years agob=17122
grev [Fri, 31 Oct 2008 18:30:04 +0000 (18:30 +0000)]
b=17122
i=Nikita
sanity test_100 fix

15 years agob=17540
grev [Fri, 31 Oct 2008 17:21:35 +0000 (17:21 +0000)]
b=17540
i=Nikita
test_53 fix

15 years agoBranch HEAD
adilger [Fri, 31 Oct 2008 17:01:52 +0000 (17:01 +0000)]
Branch HEAD
Remove trailing whitespace

15 years agob=16551
grev [Fri, 31 Oct 2008 16:20:31 +0000 (16:20 +0000)]
b=16551
o=Robert.Read
i=grev
test_27u fix

15 years agofile quota-large-limits-sles10.patch was initially added on branch b1_6.
anserper [Fri, 31 Oct 2008 14:13:43 +0000 (14:13 +0000)]
file quota-large-limits-sles10.patch was initially added on branch b1_6.

15 years agofile quota-large-limits-rhel5.patch was initially added on branch b1_6.
anserper [Fri, 31 Oct 2008 14:13:42 +0000 (14:13 +0000)]
file quota-large-limits-rhel5.patch was initially added on branch b1_6.

15 years agoBranch HEAD
yangsheng [Fri, 31 Oct 2008 13:31:10 +0000 (13:31 +0000)]
Branch HEAD
b=17379

15 years agoBranch HEAD
yangsheng [Fri, 31 Oct 2008 08:12:50 +0000 (08:12 +0000)]
Branch HEAD
b=17379
i=adilger, johann

Test case for recursive symlink.

15 years agoBranch HEAD
yangsheng [Fri, 31 Oct 2008 07:59:50 +0000 (07:59 +0000)]
Branch HEAD
b=17379
i=Brian(LLNL), johann

Set recursive symlink depth to 5 when kernel has 4K stack.

15 years agoupdate buildcvs
pravins [Fri, 31 Oct 2008 07:43:41 +0000 (07:43 +0000)]
update buildcvs

15 years agoBranch HEAD
bobijam [Fri, 31 Oct 2008 01:37:39 +0000 (01:37 +0000)]
Branch HEAD
b=17510
i=robert.read
i=johann

* fix a memory leak introduced by bug 11089.
* some format fix.

15 years agoBranch: HEAD
wangdi [Thu, 30 Oct 2008 21:46:32 +0000 (21:46 +0000)]
Branch: HEAD
Once the unmatched stride IO mode is detected, shrink the stride-ahead window to 0.
if it does hit cache miss, and read-pattern is still stride-io mode,
does not reset the stride window, but also does not increase the stride
window length in this case.
b=17197
i=Nikita
i=Andreas

15 years agob=17532
grev [Thu, 30 Oct 2008 18:37:15 +0000 (18:37 +0000)]
b=17532
i=Yury.Umanets
local cfg CMD fix for several mds nodes configuration

15 years agoBranch HEAD
bobijam [Thu, 30 Oct 2008 02:18:07 +0000 (02:18 +0000)]
Branch HEAD
b=16887
i=pravin.shelar
i=adilger

Address LBUG, ASSERTION(client_stat->nid_exp_ref_count == 0) failed:count -1
* add client stat on obd_nid_stat after client stat is ready.
* properly decrease exp_nid_stats' nid_exp_ref_count in lprocfs_exp_cleanup().

15 years agoRemove "CVS:" from start of lines that should be in commit message
adilger [Wed, 29 Oct 2008 20:07:34 +0000 (20:07 +0000)]
Remove "CVS:" from start of lines that should be in commit message
Fix lfs find --maxdepth wording.

15 years agobranch: HEAD
ericm [Wed, 29 Oct 2008 19:34:24 +0000 (19:34 +0000)]
branch: HEAD
AT: fix reply offset calculate and check.
b=17404
r=h.huang
r=nathan

15 years agoBranch HEAD
robert.read [Tue, 28 Oct 2008 23:17:00 +0000 (23:17 +0000)]
Branch HEAD
b=17491
i=nathan
i=rread

Quick fix patch from behlendorf1@llnl.gov.

15 years agob=17187
kalpak [Tue, 28 Oct 2008 18:19:01 +0000 (18:19 +0000)]
b=17187
i=nathan
i=manoj

Add "lfs path2fid" to get fid from path

15 years agob=16680
kalpak [Tue, 28 Oct 2008 17:59:09 +0000 (17:59 +0000)]
b=16680
i=adilger, kalpak (o=bzzz)

Detect on-disk corruption of block bitmap and better checking of preallocated blocks.

15 years agob=17477
grev [Tue, 28 Oct 2008 16:05:54 +0000 (16:05 +0000)]
b=17477
i=Adilger
i=Tappro
init facet vars for mounted lustre

15 years agoBranch HEAD
huanghua [Tue, 28 Oct 2008 14:06:30 +0000 (14:06 +0000)]
Branch HEAD
b=17192
i=robert.read
i=adilger

clear the proc stats counter. This value might be used later again.

15 years agoBranch HEAD
bobijam [Tue, 28 Oct 2008 05:34:14 +0000 (05:34 +0000)]
Branch HEAD
b=17093
o=Btian Behlendorf (behlendorf1@llnl.gov) for mgs part
o=E. Gryaznova (grev) for test framework
i=nathan.rutman
i=adilger

Do writeconf only explicitly required.

15 years agolockdep: add lockdep_{on,off}() functions.
nikita [Mon, 27 Oct 2008 12:15:58 +0000 (12:15 +0000)]
lockdep: add lockdep_{on,off}() functions.

15 years agoBranch HEAD
johann [Mon, 27 Oct 2008 12:08:33 +0000 (12:08 +0000)]
Branch HEAD
b=17385
i=green
i=shadow

grab lock reference when the lock is added to the waiting or expired list.

15 years agoBranch HEAD
zhanghc [Mon, 27 Oct 2008 06:04:19 +0000 (06:04 +0000)]
Branch HEAD

handle 'Unexpected: can't find mdc_open_data,
but the close succeeded with replayabel imp.
Please tell http://bugzilla.lustre.org/"
printed by mdc_close in mdc_request.c

b=17089
i=johann

15 years agoBranch HEAD
bobijam [Mon, 27 Oct 2008 02:15:02 +0000 (02:15 +0000)]
Branch HEAD
b=11089
i=nathan.rutman
i=adilger

per-nid client statistics for MDT.

15 years agoBranch HEAD
fanyong [Sat, 25 Oct 2008 04:37:55 +0000 (04:37 +0000)]
Branch HEAD
b=17193
i=eric.mei
i=minh.diep

1) set root permission mode as 0755 before test.
2) scripts cleanup.

15 years agoBranch HEAD
adilger [Fri, 24 Oct 2008 20:52:32 +0000 (20:52 +0000)]
Branch HEAD
Return a protocol error from ost_punch() like all other handler methods
if there is a request format error, instead of -EINVAL.

15 years agoBranch HEAD
adilger [Fri, 24 Oct 2008 20:47:38 +0000 (20:47 +0000)]
Branch HEAD
Rename "pages" pointer to "npages", because it otherwise looks like an
array of pointers to pages instead of a pass-by-reference number of pages.
b=12682

15 years agoBranch HEAD
adilger [Fri, 24 Oct 2008 20:40:56 +0000 (20:40 +0000)]
Branch HEAD
Fix whitespace, line wrapping.

15 years agob=13297
grev [Fri, 24 Oct 2008 20:10:57 +0000 (20:10 +0000)]
b=13297
add test_27u to ALWAYS_EXCEPT list

15 years agob=16551 (att 19784)
grev [Fri, 24 Oct 2008 19:46:25 +0000 (19:46 +0000)]
b=16551 (att 19784)
o=Adilger
i=grev
skip replay/recovery tests if remote MDS/OSS nodsh

b=16551 (att 19835)
i=Nathan
do skip_rem[mds|ost] check only if test suit is run; fail acc-sm if
tests suits were skipped due to nodsh

b=17326
i=Alexey.Lyashkov
remove now-useless remount/recofig for liblustre;
always add accept=all to lnet module

15 years agob=17323
yury [Fri, 24 Oct 2008 05:05:11 +0000 (05:05 +0000)]
b=17323

- fixed using "mds" in test 59b

15 years agoKill extra argument for llog_connect, and don't access to ld_tgt_count
shadow [Fri, 24 Oct 2008 05:03:41 +0000 (05:03 +0000)]
Kill extra argument for llog_connect, and don't access to ld_tgt_count
without protection.

Branch HEAD
b=16693
i=umka
i=tappro

15 years agoupdated for next bi-weekly build of 2.0.0
stinson1947 [Thu, 23 Oct 2008 23:53:36 +0000 (23:53 +0000)]
updated for next bi-weekly build of 2.0.0

15 years agofile large-scale.sh was initially added on branch b1_8_gate.
grev [Thu, 23 Oct 2008 19:33:30 +0000 (19:33 +0000)]
file large-scale.sh was initially added on branch b1_8_gate.

15 years agob=17323
yury [Thu, 23 Oct 2008 18:10:26 +0000 (18:10 +0000)]
b=17323
r=shadow

- small to test from Mike

15 years agoInitialize i_file_acl for EXT3_BAD_INO (Johann)
girish [Thu, 23 Oct 2008 16:59:43 +0000 (16:59 +0000)]
Initialize i_file_acl for EXT3_BAD_INO (Johann)
i=adilger
i=kalpak
b=17414

15 years agob=17447
yury [Thu, 23 Oct 2008 14:33:01 +0000 (14:33 +0000)]
b=17447
r=deen,adilger

- fixes memory leaks;
- cleanups and more accurate error handling.

15 years agoRemove files imported by Cariddi (osr) carelessly
mattwu [Thu, 23 Oct 2008 13:33:28 +0000 (13:33 +0000)]
Remove files imported by Cariddi (osr) carelessly

15 years agob=12800
kalpak [Thu, 23 Oct 2008 10:02:19 +0000 (10:02 +0000)]
b=12800
o=alex.zhuravlev
i=kalpak
i=adilger

Add support for tunable preallocation window and new tunables for large/small requests

15 years agoBranch HEAD
adilger [Thu, 23 Oct 2008 04:13:42 +0000 (04:13 +0000)]
Branch HEAD
Remove trailing whitespace.

15 years agoBranch HEAD
adilger [Wed, 22 Oct 2008 23:39:19 +0000 (23:39 +0000)]
Branch HEAD
Make releasepage check failsafe for newer kernels, per Robert's suggestion.

15 years agoBranch HEAD
adilger [Wed, 22 Oct 2008 21:33:28 +0000 (21:33 +0000)]
Branch HEAD
Improve error messages.

15 years agoBranch HEAD
adilger [Wed, 22 Oct 2008 21:32:09 +0000 (21:32 +0000)]
Branch HEAD
Start modifying test 32a, 32b (currently disabled) to handle 1.8->2.0
filesystem upgrade test.

15 years agoBranch HEAD
adilger [Wed, 22 Oct 2008 21:26:57 +0000 (21:26 +0000)]
Branch HEAD
Fix whitespace.

15 years agoBranch HEAD
adilger [Wed, 22 Oct 2008 21:25:23 +0000 (21:25 +0000)]
Branch HEAD
Move HAVE_PAGE_CONSTANT checks out-of-line via compat macros.

15 years agoBranch HEAD
adilger [Wed, 22 Oct 2008 21:19:51 +0000 (21:19 +0000)]
Branch HEAD
Remove unnecessary cast of void pointers.

15 years agoBranch HEAD
adilger [Wed, 22 Oct 2008 21:17:28 +0000 (21:17 +0000)]
Branch HEAD
copy_{to,from}_user() do not return an error code, but rather the number
of uncopied bytes (0 if all bytes were copied).  Storing this return value
into "rc" is misleading because it then seems this should be returned to
the caller of the function.

Code was audited to remote storing of the return value into "rc" and
several incorrect uses were found.

15 years agoBranch HEAD
adilger [Wed, 22 Oct 2008 21:06:44 +0000 (21:06 +0000)]
Branch HEAD
Don't print two console messages where one would do.

15 years agoBranch HEAD
adilger [Wed, 22 Oct 2008 21:04:39 +0000 (21:04 +0000)]
Branch HEAD
The infiniband code includes its own lockdep compatibility code and this
#defines lockdep_set_class but doesn't include mutex_lock_nested() or
down_write_nested(), causing a compiler error in obdclass/llog_cat.c.

mutex_{un,}lock_nested() and down_{read,write}_nested() are functions
under CONFIG_DEBUG_LOCK_ALLOC, but #defined to regular locks without
CONFIG_DEBUG_LOCK_ALLOC so just checking #ifndef isn't sufficient.
b=16450

15 years agoBranch HEAD
adilger [Wed, 22 Oct 2008 20:56:18 +0000 (20:56 +0000)]
Branch HEAD
Fix compile warning for 2.6.9 kernels that define gfp_t but don't use
it in the ->releasepage() prototype.
Make the AC_MSG_RESULT() output consistent.

15 years agoBranch HEAD
adilger [Wed, 22 Oct 2008 20:22:58 +0000 (20:22 +0000)]
Branch HEAD
Limit bio_alloc() size to the maximum possible value, or it will always fail.
b=9945
i=johann

15 years agob=15711
grev [Wed, 22 Oct 2008 19:26:12 +0000 (19:26 +0000)]
b=15711
i=Johann
recovery-small exception for FAILURE_MODE=HARD and mixed ost devices

15 years agoBranch HEAD
adilger [Wed, 22 Oct 2008 18:58:20 +0000 (18:58 +0000)]
Branch HEAD
Fix debug message.

15 years agob=17442
grev [Wed, 22 Oct 2008 18:57:06 +0000 (18:57 +0000)]
b=17442
i=Nikita
do_nodes fix for case when list contains a single node $HOSTNAME

15 years agoBranch HEAD
adilger [Wed, 22 Oct 2008 18:55:40 +0000 (18:55 +0000)]
Branch HEAD
Fix ChangeLog comments

15 years agoBranch: HEAD
wangdi [Wed, 22 Oct 2008 18:32:57 +0000 (18:32 +0000)]
Branch: HEAD
rq_xid should be "LPU64", instead of "LPD64"

15 years agoSetup changed
cariddi [Wed, 22 Oct 2008 16:46:40 +0000 (16:46 +0000)]
Setup changed

15 years agob=17443
grev [Wed, 22 Oct 2008 16:39:53 +0000 (16:39 +0000)]
b=17443
i=Nikita
fix calc_osc_kbytes

15 years agob=17323
yury [Wed, 22 Oct 2008 14:25:38 +0000 (14:25 +0000)]
b=17323
r=johann,adilger

- fixes resent rpcs for those sent by set and also fixes log_cancel resent handling;
- cleanups.

15 years agoBranch HEAD
yangsheng [Wed, 22 Oct 2008 06:12:46 +0000 (06:12 +0000)]
Branch HEAD
b=16437
i=cliff.white, brian

Enable the '-m64' flag for powerpc64 patchless build.

15 years agoBranch HEAD
robert.read [Tue, 21 Oct 2008 22:30:53 +0000 (22:30 +0000)]
Branch HEAD
b=1819
i=adilger
i=nathan

Add test for new proc file.

15 years agoBranch HEAD
robert.read [Tue, 21 Oct 2008 21:40:41 +0000 (21:40 +0000)]
Branch HEAD
b=1819
i=adilger
i=nathan

Add an import file to the osc, mdc, and mgc proc dir.

15 years agob=17353
yury [Tue, 21 Oct 2008 13:53:47 +0000 (13:53 +0000)]
b=17353
r=shadow,wangdi

- fixes wrong work with llog in catalog that led to removing alive object on ost in recovery time;
- cleanups.

15 years agofix lu_device_is_md() assertions.
nikita [Tue, 21 Oct 2008 10:58:13 +0000 (10:58 +0000)]
fix lu_device_is_md() assertions.

15 years agoBranch HEAD
adilger [Tue, 21 Oct 2008 07:06:23 +0000 (07:06 +0000)]
Branch HEAD
Temporary build fix.
b=17444
i=ericm (original fix)

15 years agoBranch HEAD
fanyong [Tue, 21 Oct 2008 02:18:04 +0000 (02:18 +0000)]
Branch HEAD
b=16621
i=robert.read

scripts fix.

15 years agomdt_init0(): fix memory leak in error handling path.
nikita [Mon, 20 Oct 2008 20:46:41 +0000 (20:46 +0000)]
mdt_init0(): fix memory leak in error handling path.

15 years agoliblustre build fixes for 2.6.18-53 (found by Shadow).
nikita [Mon, 20 Oct 2008 10:19:30 +0000 (10:19 +0000)]
liblustre build fixes for 2.6.18-53 (found by Shadow).

15 years agolockdep build fixes for 2.6.18-53 (found by Shadow).
nikita [Mon, 20 Oct 2008 10:19:09 +0000 (10:19 +0000)]
lockdep build fixes for 2.6.18-53 (found by Shadow).

15 years ago Branch HEAD
liuy [Mon, 20 Oct 2008 06:47:01 +0000 (06:47 +0000)]
 Branch HEAD
 b=12521
 remove unused hint "user_cb_nodes"

15 years agoBranch HEAD
huanghua [Mon, 20 Oct 2008 05:47:14 +0000 (05:47 +0000)]
Branch HEAD
b=17444

quick fix for HEAD build problem.
nikita may have more fix.

15 years ago*** empty log message ***
ericm [Mon, 20 Oct 2008 00:06:26 +0000 (00:06 +0000)]
*** empty log message ***

15 years agomerge with HEAD.
nikita [Sun, 19 Oct 2008 10:10:49 +0000 (10:10 +0000)]
merge with HEAD.

15 years agolibcfs: add cfs_{need,cond}_resched() definition and implementations for
nikita [Sat, 18 Oct 2008 17:43:11 +0000 (17:43 +0000)]
libcfs: add cfs_{need,cond}_resched() definition and implementations for
Linux, NT, and liblustre.
b=16450

15 years agoLiblustre build fixes.
nikita [Sat, 18 Oct 2008 17:41:47 +0000 (17:41 +0000)]
Liblustre build fixes.

15 years agoUse cdebug_show() in CDEBUG-style macros defined outside of libcfs.
nikita [Sat, 18 Oct 2008 17:40:51 +0000 (17:40 +0000)]
Use cdebug_show() in CDEBUG-style macros defined outside of libcfs.
b=16450

15 years agoRatelimit a memory allocation failure message that can be too chatty.
nikita [Sat, 18 Oct 2008 17:39:45 +0000 (17:39 +0000)]
Ratelimit a memory allocation failure message that can be too chatty.
b=16450

15 years agoNew testing program exercising sendfile(2) (Jay).
nikita [Sat, 18 Oct 2008 17:38:41 +0000 (17:38 +0000)]
New testing program exercising sendfile(2) (Jay).
b=16450

15 years agoNew testing program exercising readv(2) and writev(2) (Qian).
nikita [Sat, 18 Oct 2008 17:37:57 +0000 (17:37 +0000)]
New testing program exercising readv(2) and writev(2) (Qian).
b=16450

15 years agolu_ref is a debugging module allowing to track references to a given
nikita [Sat, 18 Oct 2008 17:36:17 +0000 (17:36 +0000)]
lu_ref is a debugging module allowing to track references to a given
object. It is quite cpu expensive, and has to be explicitly enabled with
--enable-lu_ref. See usage description within the patch.
b=16450

15 years agoReplace RW_LOCK_UNLOCKED() with rwlock_init() as the former doesn't work with
nikita [Sat, 18 Oct 2008 17:34:22 +0000 (17:34 +0000)]
Replace RW_LOCK_UNLOCKED() with rwlock_init() as the former doesn't work with
lockdep.
b=16450

15 years agoAdd lu_env parameter to ->rq_interpreter call-back. NULL is passed
nikita [Sat, 18 Oct 2008 17:33:11 +0000 (17:33 +0000)]
Add lu_env parameter to ->rq_interpreter call-back. NULL is passed
there. Actual usage will be in CLIO.
b=16450

15 years agoRemove unused code.
nikita [Sat, 18 Oct 2008 17:31:46 +0000 (17:31 +0000)]
Remove unused code.
b=16450

15 years agoAdd lu_ref tracking to obd_device.
nikita [Sat, 18 Oct 2008 17:30:57 +0000 (17:30 +0000)]
Add lu_ref tracking to obd_device.
b=16450

15 years agoAdd st_block checking to multistat.c.
nikita [Sat, 18 Oct 2008 17:29:50 +0000 (17:29 +0000)]
Add st_block checking to multistat.c.
b=16450

15 years agoRemove unused mdd code.
nikita [Sat, 18 Oct 2008 17:28:44 +0000 (17:28 +0000)]
Remove unused mdd code.
b=16450

15 years agoMove md-specific fields out of struct lu_site into special struct md_site, so
nikita [Sat, 18 Oct 2008 17:27:58 +0000 (17:27 +0000)]
Move md-specific fields out of struct lu_site into special struct md_site, so
that lu_site can be used on a client.
b=16450

15 years agoConstify instances of struct {lu,dt,md}_device_operations.
nikita [Sat, 18 Oct 2008 17:26:37 +0000 (17:26 +0000)]
Constify instances of struct {lu,dt,md}_device_operations.
b=16450

15 years agoSeparate lu_site stats printing code into a separate function that can be
nikita [Sat, 18 Oct 2008 17:25:19 +0000 (17:25 +0000)]
Separate lu_site stats printing code into a separate function that can be
reused on a client.
b=16450

15 years agolu_ref is a debugging module allowing to track references to a given
nikita [Sat, 18 Oct 2008 17:24:14 +0000 (17:24 +0000)]
lu_ref is a debugging module allowing to track references to a given
object. It is quite cpu expensive, and has to be explicitly enabled with
--enable-lu_ref. See usage description within the patch.
b=16450

15 years agoFix a race between lu_object_find() finding an object and its concurrent
nikita [Sat, 18 Oct 2008 17:22:46 +0000 (17:22 +0000)]
Fix a race between lu_object_find() finding an object and its concurrent
finalization. This race is (most likely) not possible on the server, but might
happen on the client.
b=16450

15 years agolu_kmem_descr and its companion interface allow to create and destroy a number
nikita [Sat, 18 Oct 2008 17:20:41 +0000 (17:20 +0000)]
lu_kmem_descr and its companion interface allow to create and destroy a number
of kmem caches at once.
b=16450