Whamcloud - gitweb
fs/lustre-release.git
19 years agoBranch b_release_1_4_6
adilger [Mon, 6 Feb 2006 22:25:01 +0000 (22:25 +0000)]
Branch b_release_1_4_6
- Verify the client-supplied oa->o_dirty value validity before we assert on
  it.  Getting a negative o_dirty would cause the OST to LBUG.  b=10125
- improve precreate path log messages.  b=10123

19 years agoBranch b_release_1_4_6
adilger [Mon, 6 Feb 2006 21:05:43 +0000 (21:05 +0000)]
Branch b_release_1_4_6
Remove unused "rc" variable.

19 years agoBranch b_release_1_4_6
adilger [Mon, 6 Feb 2006 20:57:28 +0000 (20:57 +0000)]
Branch b_release_1_4_6
Fix unlikely bugs in mballoc found by Coverity:
- NULL bh dereferenced in ext3_mb_init_cache() if kmalloc(bh) fails
- don't free on-stack bhs in ext3_mb_init_cache() if groups_per_page == 1
- remove unnecessary "if (err)" check in ext3_mb_new_blocks()
- remove redundant "if (s == NULL)" check in ext3_mb_seq_history_open()
b=10093

19 years agoBranch b_release_1_4_6
adilger [Mon, 6 Feb 2006 20:44:51 +0000 (20:44 +0000)]
Branch b_release_1_4_6
When unlinking block-mapped files with the delete thread on a filesystem
with extents enabled it will trip an assertion.  This is not a configuration
that CFS supports, since extents+mballoc are only used on 2.6 kernels with
CFS Lustre, and there is no 2.6 asyncdel patch.  HP SFS can run with extents
and mballoc enabled on 2.4 kernels.
b=10134
r=fergal (original patch)

19 years agoBranch b_release_1_4_6
adilger [Mon, 6 Feb 2006 20:22:45 +0000 (20:22 +0000)]
Branch b_release_1_4_6
Don't dereference data=NULL in case of old liblustre client connections.
b=8007

19 years agoBranch b_release_1_4_6
nathan [Mon, 6 Feb 2006 19:40:28 +0000 (19:40 +0000)]
Branch b_release_1_4_6
b=10139
r=adilger
(original patch by fergal)
don't try to ping '*' nids

19 years agoLand b1_4_lfs_df on b_release_1_4_6
zhanghc [Sun, 5 Feb 2006 10:27:54 +0000 (10:27 +0000)]
Land b1_4_lfs_df on b_release_1_4_6
BUG: 9461
DESCRIPTION: Implement 'lfs df' to report actual free space on per-OST basis

Modified Files:
  include/lustre/liblustreapi.h include/lustre/lustre_user.h
  liblustre/tests/sanity.c llite/dir.c llite/file.c
  llite/llite_internal.h llite/llite_lib.c mds/mds_join.c
  tests/sanity.sh utils/lfs.c utils/liblustreapi.c

19 years agob=9811
alex [Sat, 4 Feb 2006 14:00:02 +0000 (14:00 +0000)]
b=9811
r=nikita

 - free export when all OSCs are cleaned

19 years agoBranch b_release_1_4_6
scjody [Sat, 4 Feb 2006 01:09:17 +0000 (01:09 +0000)]
Branch b_release_1_4_6

Revert suse kernel update for now, since it doesn't work on Boston (upstream
issue, not ours.)

19 years agoBranch b_release_1_4_6
adilger [Fri, 3 Feb 2006 23:10:51 +0000 (23:10 +0000)]
Branch b_release_1_4_6
2.6.12 series is actually for 2.6.12.6

19 years agoBranch b_release_1_4_6
adilger [Fri, 3 Feb 2006 08:16:29 +0000 (08:16 +0000)]
Branch b_release_1_4_6
Remove ancient, obsolete portals block device #define.

19 years agoBranch b_release_1_4_6
adilger [Thu, 2 Feb 2006 22:34:43 +0000 (22:34 +0000)]
Branch b_release_1_4_6
ALlow default paths for patch-verification scripts.

19 years agoBranch b_release_1_4_6
adilger [Wed, 1 Feb 2006 23:23:43 +0000 (23:23 +0000)]
Branch b_release_1_4_6
Remove duplicate ChangeLog entries.

19 years agoBranch: b_release_1_4_6
green [Wed, 1 Feb 2006 20:21:29 +0000 (20:21 +0000)]
Branch: b_release_1_4_6
Merge from b1_4

19 years agoBranch b_release_1_4_6
adilger [Wed, 1 Feb 2006 18:59:45 +0000 (18:59 +0000)]
Branch b_release_1_4_6
Add 2.6.12 kernel series, and clarify usage of ldiskfs series files.

19 years agoBranch b_release_1_4_6
nathan [Wed, 1 Feb 2006 18:03:26 +0000 (18:03 +0000)]
Branch b_release_1_4_6
b=10130
r=adilger
Set a fake non-0 NAL in 1.4.6, so if someone runs a pre-LNET version without
--write-conf, the ASSERT in class_add_uuid doesn't crash us.

19 years agoBranch b_release_1_4_6
adilger [Wed, 1 Feb 2006 00:39:56 +0000 (00:39 +0000)]
Branch b_release_1_4_6
LLNL has updated the BG/L clients to 2.6.9 and have stopped using 2.4.19.

19 years ago* Fixed 2.6.x sk_??? isms (required by zerocopy tcp)
eeb [Tue, 31 Jan 2006 15:16:22 +0000 (15:16 +0000)]
*    Fixed 2.6.x sk_??? isms (required by zerocopy tcp)

*    Future protocol version compatibility support....

     *  consolidated PROTO MAGIC decls in lib-types.h

     *  changed qswlnd's protocol to encapsulate the LNET protocol within its
        own magic+version tagged packets and added a response when incoming
        packets have new magic/version to tell peer which version I am.

'portals_compatibility' works as described in the documentation to
inter-operate with portals.

*    Changed block_debug_check() to print EVERY error (it's only called by
     obdecho so it can't be a DOS vector without root).

*    Fixed a bug in osc_request: when a single oversize BRW was chopped up, the
     subsequent RPCs used the 'oa' that had been overwritten by the previous
     ones.  This turned off checking in obdecho.

     The fix I applied was to restore the original 'oa' from a saved copy on
     all subsequent RPCs.

19 years agoBranch b_release_1_4_6
adilger [Tue, 31 Jan 2006 05:50:40 +0000 (05:50 +0000)]
Branch b_release_1_4_6
Quiet overly-verbose error message.

19 years agoBranch b_release_1_4_6
adilger [Tue, 31 Jan 2006 05:16:44 +0000 (05:16 +0000)]
Branch b_release_1_4_6
Disable test 15c, as it is failing repeatedly, and was only added during
CROW, so it may depend on crow-specific changes (though it passes in UML).
b=10124

19 years agoBranch b_release_1_4_6
adilger [Mon, 30 Jan 2006 22:48:41 +0000 (22:48 +0000)]
Branch b_release_1_4_6
Add journal statistics patch to CVS.
Not currently referenced by any kernel series, but useful for debugging
performance problems.
b=9387
r=alex (original patch)

19 years agoBranch b_release_1_4_6
adilger [Sun, 29 Jan 2006 11:59:17 +0000 (11:59 +0000)]
Branch b_release_1_4_6
Fix unused variable warning.

19 years agoBranch b_release_1_4_6
adilger [Sat, 28 Jan 2006 01:14:38 +0000 (01:14 +0000)]
Branch b_release_1_4_6
Description: Random seed of liblustre clients was not sufficiently random
Details    : Improve initial seed of liblustre random number generator.
b=9794, tested by Cray

19 years agoBranch b_release_1_4_6
adilger [Sat, 28 Jan 2006 00:48:38 +0000 (00:48 +0000)]
Branch b_release_1_4_6
Remove hard-coded test directory from 63b.
SFS 3760

19 years agoBranch b_release_1_4_6
adilger [Sat, 28 Jan 2006 00:29:11 +0000 (00:29 +0000)]
Branch b_release_1_4_6
Include lock flags in the LDLM namespace dump.
b=9573 (SFS 4389)

19 years agoBranch b_release_1_4_6
adilger [Fri, 27 Jan 2006 09:29:07 +0000 (09:29 +0000)]
Branch b_release_1_4_6
Description: MDS or OST may oops/LBUG if a client is connecting multiple times
Details    : The client ptlrpc code may be trying to reconnect to a down
     server before a previous connection attempt has timed out.
     Increase the reconnect interval to be longer than the connection
     timeout interval to avoid sending duplicate connections to
     servers.

This first part of the fix simply increases the reconnect interval to be
longer than the connection request timeout, to avoid having multiple
connect requests in flight from the same client at the same time.
b=9635
r=nathan

19 years agoBranch b_release_1_4_6
nathan [Fri, 27 Jan 2006 02:10:54 +0000 (02:10 +0000)]
Branch b_release_1_4_6
b=9860
r=adilger
Include ost index from mds connect, so we can set it in the last_rcvd file.
This will be useful when upgrading to 1.6

19 years ago* Adding a temporary branch tag to buildcvs for LNET protocol
eeb [Thu, 26 Jan 2006 14:20:17 +0000 (14:20 +0000)]
*  Adding a temporary branch tag to buildcvs for LNET protocol
   compatibility work

19 years agoBranch b_release_1_4_6
adilger [Wed, 25 Jan 2006 18:32:54 +0000 (18:32 +0000)]
Branch b_release_1_4_6
Add missing (old) ChangeLog entry.
b=6422

19 years ago* Fixes needed to build for XT3/catamount
eeb [Wed, 25 Jan 2006 17:08:50 +0000 (17:08 +0000)]
*   Fixes needed to build for XT3/catamount

19 years agoBranch b_release_1_4_6
adilger [Wed, 25 Jan 2006 12:24:29 +0000 (12:24 +0000)]
Branch b_release_1_4_6
Bump build version.
b=10074

19 years agoBranch b_release_1_4_6
adilger [Wed, 25 Jan 2006 12:03:41 +0000 (12:03 +0000)]
Branch b_release_1_4_6
Fix compile warning.

19 years agoBranch b_release_1_4_6
adilger [Wed, 25 Jan 2006 12:01:33 +0000 (12:01 +0000)]
Branch b_release_1_4_6
Check return value from fstat().  (COV:629)
b=10098

19 years agoBranch b_release_1_4_6
adilger [Wed, 25 Jan 2006 11:59:26 +0000 (11:59 +0000)]
Branch b_release_1_4_6
Remove bogus check for NULL dchild in mds_open_by_fid().  We will always get
either a valid dentry or ERR_PTR() back from ll_lookup_one_len().  This
extra check provokes a false deref-before-NULL error in Coverity (COV:717,718)
b=10098
r=nikita

19 years agoBranch b_release_1_4_6
adilger [Wed, 25 Jan 2006 11:16:26 +0000 (11:16 +0000)]
Branch b_release_1_4_6
Fix potential NULL deref in ldlm_resource_foreach() (COV:707)
b=10098

19 years agoBranch b_release_1_4_6
adilger [Wed, 25 Jan 2006 11:14:11 +0000 (11:14 +0000)]
Branch b_release_1_4_6
Fix potential NULL obd deref in client_disconnect_export() (COV:708)
b=10098

19 years agoMerge b_release_1_4_6 from b_hd_newconfig (20060124_1325)
adilger [Wed, 25 Jan 2006 05:51:04 +0000 (05:51 +0000)]
Merge b_release_1_4_6 from b_hd_newconfig (20060124_1325)
Revert "core" part of winnt and darwin compatibility code, as this
apparently does not compile for catamount.  The arch-specific code
is still there as it does not affect anything outside those arches.
b=10074

19 years agoMerge b_release_1_4_6 from b_hd_newconfig (20060124_1325)
adilger [Wed, 25 Jan 2006 00:33:39 +0000 (00:33 +0000)]
Merge b_release_1_4_6 from b_hd_newconfig (20060124_1325)
- cross-platform compiling for winnt (r=mattwu, original patch)
- improve use of compat macros for darwin (r=nikita, original patch)

Description: fix use of portals/lnet pid
Details    : incorrect use of portals/lnet pid caused them to get out of
     sync and would result in silent dropping of RPC messages
b=10074
r=eeb (original patch)

Severity   : major
Frequency  : Infiniband IB LND only
Description: iiblnd wasn't mapping all memory
Details    : iiblnd wasn't mapping all memory, resulting in comms errors
     on some architectures/memory configs
b=9776
r=eeb (original patch)

19 years agoMerge b_release_1_4_6 from HEAD (20060124_1302)
adilger [Tue, 24 Jan 2006 20:23:38 +0000 (20:23 +0000)]
Merge b_release_1_4_6 from HEAD (20060124_1302)
Minor fixes in "build" directory merged from parent.

19 years agoBranch b_release_1_4_6
adilger [Sat, 21 Jan 2006 00:54:32 +0000 (00:54 +0000)]
Branch b_release_1_4_6
Add explanitory comment.

19 years agoBranch b_release_1_4_6
adilger [Sat, 21 Jan 2006 00:53:46 +0000 (00:53 +0000)]
Branch b_release_1_4_6
Fix memory leak found by Coverity - we were not freeing any of the
other allocated structs if there was a later allocation error.

19 years agoBranch b_release_1_4_6
adilger [Fri, 20 Jan 2006 23:01:23 +0000 (23:01 +0000)]
Branch b_release_1_4_6
Fix errors spotted by Coverity - check for NULL after dereference

19 years agocheck return value of quota off, though it can only fail for network problem.
niu [Fri, 20 Jan 2006 08:23:25 +0000 (08:23 +0000)]
check return value of quota off, though it can only fail for network problem.

19 years agoBranch b_release_1_4_6
adilger [Wed, 18 Jan 2006 17:57:48 +0000 (17:57 +0000)]
Branch b_release_1_4_6
Finish lconf fixup.
b=10079

19 years agoDo the same for the non-smp configs too.
brian [Tue, 17 Jan 2006 22:38:50 +0000 (22:38 +0000)]
Do the same for the non-smp configs too.

19 years agoMake kernel configs look like make oldconfig will make.
brian [Tue, 17 Jan 2006 22:21:39 +0000 (22:21 +0000)]
Make kernel configs look like make oldconfig will make.

19 years agoUse sendmail and set the sender address to ensure that mail is not sent from a
brian [Tue, 17 Jan 2006 22:15:15 +0000 (22:15 +0000)]
Use sendmail and set the sender address to ensure that mail is not sent from a
domain name that is neither an A or MX record (and thusly gets refused by
mail servers).

19 years agoBranch b_release_1_4_6
adilger [Tue, 17 Jan 2006 19:08:22 +0000 (19:08 +0000)]
Branch b_release_1_4_6
Use the "fid" EA name when storing FID data on the OST.  This avoids
confusion on the OST when using the "lov" EA name and would certainly
be a problem with lfsck.
b=10072
r=yury

19 years agoBranch b_release_1_4_6
adilger [Tue, 17 Jan 2006 10:41:35 +0000 (10:41 +0000)]
Branch b_release_1_4_6
Quiet compile warning.

19 years agoBranch b_release_1_4_6
adilger [Sat, 14 Jan 2006 01:08:14 +0000 (01:08 +0000)]
Branch b_release_1_4_6
Merge changes from b1_4 that were missed in recent b_release_1_4_6 (b2) update
SWIOTLB = run x86_64 kernel on nocona
EXT3_MOUNT = avoid flag conflict with newer 2.6.12 kernel, make patches closer

19 years agoBranch b_release_1_4_6
adilger [Fri, 13 Jan 2006 21:34:18 +0000 (21:34 +0000)]
Branch b_release_1_4_6
Ignore generated file.

19 years ago5047 looks like a major, if not critical, data corruption bug. Updating the
phil [Fri, 13 Jan 2006 17:24:44 +0000 (17:24 +0000)]
5047 looks like a major, if not critical, data corruption bug.  Updating the
changelog accordingly.

19 years agoBranch b_release_1_4_6
adilger [Thu, 12 Jan 2006 07:50:21 +0000 (07:50 +0000)]
Branch b_release_1_4_6
Dbench failing to run properly because the clients.txt file is truncated.
rundbench verifies that the file has a non-zero size instead of just existing.
r=brian

19 years agoremove needless lwizard; that break rpm building
houfeng [Thu, 12 Jan 2006 04:53:32 +0000 (04:53 +0000)]
remove needless lwizard; that break rpm building

19 years agoRemove lwizard and associated documents
cliffw [Thu, 12 Jan 2006 00:19:25 +0000 (00:19 +0000)]
Remove lwizard and associated documents

19 years agoMerge b_release_1_4_6 from b1_4 (20060110_0557)
adilger [Wed, 11 Jan 2006 09:59:57 +0000 (09:59 +0000)]
Merge b_release_1_4_6 from b1_4 (20060110_0557)

Description: OST becomes very slow and/or deadlocked during object unlink
Details    : filter_destroy() was holding onto the parent directory lock
     while truncating+unlinking objects.  For very large objects this
     may block other threads for a long time and slow overall OST
     responsiveness.  It may also be possible to get a lock ordering
     deadlock in this case, or run out of journal credits because of
     the combined truncate+unlink.  Solution is to do object truncate
     first in one transaction without parent lock, and then do the
     final unlink in a new transaction with the parent lock.  This
     reduces the lock hold time dramatically.
b=4180, b=6984, b=7171, b=9963, b=9331
r=alex

Description: MDS or OST cleanup may trip kernel BUG when dropping kernel lock
Details    : mds_cleanup() and filter_cleanup() need to drop the kernel lock
             before unmounting their filesystem in order to avoid deadlock.
     The kernel_locked() function in 2.4 kernels only checks whether
     the kernel lock is held, not whether it is this process that is
     holding it as 2.6 kernels do.
b=9967
r=nathan

Description: unlinked inodes were kept in memory on the client
Details    : If a client is repeatedly creating and unlinking files it
             can accumulate a lot of stale inodes in the inode slab cache.
     If there is no other client load running this can cause the
     client node to run out of memory.  Instead flush old inodes
     from client cache that have the same inode number as a new inode.
b=1443
r=niu (original patch)

Description: Referencing freed requests leading to crash, memleask with NFS.
Details    : We used to require that call to ll_revalidate_it was always
             followed by ll_lookup_it. Also with revalidate_special() it is
     possible to call ll_revalidate_it() twice for the same dentry
     even if first occurence returned success. This fix changes semantic
     between DISP_ENQ_COMPLETE disposition flag to mean there is extra
     reference on a request referred from the intent.
     ll_intent_release() then releases such a request.
b=9942, b=9903
r=green (original patch)

19 years agoAdded the <url> for the Knowledge Base article
cliffw [Tue, 10 Jan 2006 23:53:18 +0000 (23:53 +0000)]
Added the <url> for the Knowledge Base article

19 years agob=9969
alex [Tue, 10 Jan 2006 20:21:52 +0000 (20:21 +0000)]
b=9969

 - skip invalidated dentries via ll_dcompare()
 - one more patch to the suse series to embed d_name structure into dentry unconditionally

19 years agoMerge b_release_1_4_6 from b1_4 (20060110_0557)
adilger [Tue, 10 Jan 2006 17:58:52 +0000 (17:58 +0000)]
Merge b_release_1_4_6 from b1_4 (20060110_0557)
- fix lustre/tests build problem before doing full merge

19 years agoUpdate b_release_1_4_6 from b_hd_newconfig
adilger [Tue, 10 Jan 2006 12:48:27 +0000 (12:48 +0000)]
Update b_release_1_4_6 from b_hd_newconfig
- add timestamps for liblustre debug messages
- use wait_event_interruptible_exclusive() to LNDs so we don't get
  too-many-thread wakeups and lock contention when waiting for events
- fix tx credits handling
- fix incorrect error for multiple networks and portals_compatible option
- add 2.4 compatibility macro for wait_event_interruptible_exclusive()

19 years agoUpdate the ChangeLog and version info for 1.4.6 beta2.
brian [Mon, 9 Jan 2006 19:14:25 +0000 (19:14 +0000)]
Update the ChangeLog and version info for 1.4.6 beta2.

19 years agoBranch: b_release_1_4_6
wangdi [Sat, 7 Jan 2006 05:18:22 +0000 (05:18 +0000)]
Branch: b_release_1_4_6
b=9926
1) shrink the reply buffer for unlink and orphan close
2) retrieve max mdsize and cookiesize in getattr, because in join, max_mdsize and
   cookiesize might change, and all the clients should know this info.
r=adilger

19 years agob=5681
alex [Fri, 6 Jan 2006 23:57:11 +0000 (23:57 +0000)]
b=5681
r=nikita

 - don't unhash in-use dentries because it breaks sys_getcwd()

19 years agob=9942,9903
green [Fri, 6 Jan 2006 06:21:27 +0000 (06:21 +0000)]
b=9942,9903
r=adilger

Treat DISP_ENQ_COMPLETE as a flag that request referenced from this intent
has extra reference that needs to be released, if still set at intent freeing
time.

19 years agob=9942
green [Fri, 6 Jan 2006 06:05:29 +0000 (06:05 +0000)]
b=9942
r=adilger

In link_raw() always call iget before doing d_instantiate

19 years agob=10027
green [Fri, 6 Jan 2006 05:49:12 +0000 (05:49 +0000)]
b=10027
r=adilger

Do not segfault in 'lfs check' if no Lustre fs mounted.

19 years agoBranch b_release_1_4_6
adilger [Thu, 5 Jan 2006 22:37:06 +0000 (22:37 +0000)]
Branch b_release_1_4_6
Don't call _sysio_shutdown() on catamount, Lustre isn't the only user of
libsysio there.
b=10024, b=7193

19 years agob=9780
green [Thu, 5 Jan 2006 21:45:29 +0000 (21:45 +0000)]
b=9780

Check that we actually encountered a symlink before returning error.

19 years agob=9781
green [Thu, 5 Jan 2006 21:12:19 +0000 (21:12 +0000)]
b=9781
r=adilger

When we cancel a lock in completion or blocking callback 0 we must return
-ERESTART so that resource would be reprocessed again.

19 years agob=7313
green [Thu, 5 Jan 2006 21:08:55 +0000 (21:08 +0000)]
b=7313
r=adilger

Latest version of reply-less lock callbacks patch with proper replay
support - for testing by Cray.

19 years agob=9678
alex [Thu, 5 Jan 2006 19:46:14 +0000 (19:46 +0000)]
b=9678
r=adilger

 - free pool after client_obd_cleanup() because the latter may abort in-flight requests from the pool

19 years agoBranch b_release_1_4_6
adilger [Thu, 5 Jan 2006 09:58:33 +0000 (09:58 +0000)]
Branch b_release_1_4_6
Don't update thread->t_id as we exit from ptlrpc_main() after waking
t_ctl_waitq, as it is possible the thread struct is being freed by
ptlrpc_stop_thread() that was waiting on t_ctl_waitq.
r=alex

19 years agoBranch: b_release_1_4_6
green [Wed, 4 Jan 2006 22:21:51 +0000 (22:21 +0000)]
Branch: b_release_1_4_6
b=9780

Better version proposed by Lee.

19 years agoupdate the fc3 kernel to be more like the newer rhel4 kernel to allow the rhel4
nic [Wed, 4 Jan 2006 21:06:17 +0000 (21:06 +0000)]
update the fc3 kernel to be more like the newer rhel4 kernel to allow the rhel4
patches to apply

19 years agoBranch b_release_1_4_6
adilger [Tue, 3 Jan 2006 22:50:45 +0000 (22:50 +0000)]
Branch b_release_1_4_6
Ensure that statfs does not come out of local cached value.
b=9691

19 years agob=9780
green [Tue, 3 Jan 2006 22:48:44 +0000 (22:48 +0000)]
b=9780

properly handle O_NOFOLLOW

19 years agoMore sync-up with sysio head
green [Tue, 3 Jan 2006 22:46:30 +0000 (22:46 +0000)]
More sync-up with sysio head

19 years agob=9919
alex [Tue, 3 Jan 2006 19:10:41 +0000 (19:10 +0000)]
b=9919
r=nikita (original fix)

hijacks pages from struct brw_page (allocated by echo_client_kbrw()) by filter_brw(). This

 - fixes problem introduced by 5137 (filter_preprw_*() assumes that pages are preallocated),

 - avoids duplicate allocation,

 - avoids data copying.

Also fixes small defect in filter_iobuf_get().

19 years agoBranch b_release_1_4_6
adilger [Mon, 2 Jan 2006 08:04:54 +0000 (08:04 +0000)]
Branch b_release_1_4_6
Define $tdir and $tfile for sanityN.sh, bringing us one tiny step closer to
being able to use test-framework.sh for sanityN.sh.

19 years agoBranch b_release_1_4_6
adilger [Mon, 2 Jan 2006 07:48:32 +0000 (07:48 +0000)]
Branch b_release_1_4_6
Description: two objects could be created on the same OST for a single file
Details    : If an OST is down, in some cases it was possible to create two
     objects on a single OST for a single file.  No problems other
     than potential performance impact and spurious error messages.
b=9923
r=green

19 years agoBranch b_release_1_4_6
adilger [Mon, 2 Jan 2006 07:38:42 +0000 (07:38 +0000)]
Branch b_release_1_4_6
We should always be starting service threads when we call
ptlrpc_start_threads().  This caused a very tricky to notice "communications"
problem when an OST didn't start any service threads.  This can only be a
code problem, and not from module parameter input.
r=hwartens

19 years agoa local-tree-cleanup commit full of empty calories
phil [Sat, 31 Dec 2005 16:33:00 +0000 (16:33 +0000)]
a local-tree-cleanup commit full of empty calories

19 years agob=10018
green [Sat, 31 Dec 2005 13:44:12 +0000 (13:44 +0000)]
b=10018

Fix 64 bit compile problem

19 years agoacquire block quota on owner of child also, in case of ea block counted in some kerne...
niu [Sat, 31 Dec 2005 05:03:09 +0000 (05:03 +0000)]
acquire block quota on owner of child also, in case of ea block counted in some kernel version.
b: 10017

19 years agob=9926
yury [Fri, 30 Dec 2005 07:58:39 +0000 (07:58 +0000)]
b=9926
r=adilger

- do not confuse developer looking at logs by saying that namespace is freeing on last lock put.
- cleanups in mds_init_lov_desc()
- using stripes = min(tgt_count, LOV_MAX_STRIPE_COUNT) as a basis for calculating easize/cookiesize on MDS and client.
- removed redundant obd_set_info("mds_conn") in mds_notify()

19 years agoChange some CERROR()s that are not errors to CWARN()s in administrative
green [Thu, 29 Dec 2005 22:00:01 +0000 (22:00 +0000)]
Change some CERROR()s that are not errors to CWARN()s in administrative
evictions path.

19 years agoSwitch b_release_1_4_6 to use new libsysio.
green [Thu, 29 Dec 2005 21:57:30 +0000 (21:57 +0000)]
Switch b_release_1_4_6 to use new libsysio.

19 years agoBranch: b_release_1_4_6
green [Thu, 29 Dec 2005 21:50:49 +0000 (21:50 +0000)]
Branch: b_release_1_4_6

new libsysio from Sandia.

19 years ago- typo fix
niu [Thu, 29 Dec 2005 06:32:12 +0000 (06:32 +0000)]
- typo fix
- message format fix for 'lfs quota -t'

19 years agoBranch b_release_1_4_6
adilger [Sat, 24 Dec 2005 20:07:28 +0000 (20:07 +0000)]
Branch b_release_1_4_6
Fix up acl check.

19 years agoBranch b_release_1_4_6
adilger [Fri, 23 Dec 2005 23:59:09 +0000 (23:59 +0000)]
Branch b_release_1_4_6
Use (effectively) ptlrpc_daemonize() when starting the ping evictor thread,
as this thread can do filesystem IO when evicting clients (update last_rcvd)
and as a result trip LASSERT in pop_ctxt().

We can't call ptlrpc_daemonize() directly from code in obdclass as that
results in module symbol circular dependencies.  Looking into moving the
pinger code into ptlrpc entirely to avoid this issue.
b=9961
r=nathan

19 years agoBranch b_release_1_4_6
adilger [Fri, 23 Dec 2005 06:07:10 +0000 (06:07 +0000)]
Branch b_release_1_4_6
Fix error message argument order
b=9788
r=nathan (original fix)

19 years agomake lustre_get_qids() support 2.6.12
niu [Fri, 23 Dec 2005 03:51:45 +0000 (03:51 +0000)]
make lustre_get_qids() support 2.6.12
b: 9812

19 years agob=9975
brian [Thu, 22 Dec 2005 20:05:26 +0000 (20:05 +0000)]
b=9975
r=adilger
Add a --disable-quilt option to force ldiskfs patching using patch rather than
quilt even if it's found.

19 years agoRevert this commit. The obdfilter module produces the following error on load:
brian [Thu, 22 Dec 2005 19:30:46 +0000 (19:30 +0000)]
Revert this commit.  The obdfilter module produces the following error on load:
/lib/modules/2.4.21-37.EL_lustre-b_release_1_4_6.200512222341smp/kernel/fs/lustre/obdfilter.o: unresolved symbol IS_KEY

19 years ago- fixed debug message in ldlm_lock_put() to less confusing. Former looked
yury [Thu, 22 Dec 2005 10:59:33 +0000 (10:59 +0000)]
- fixed debug message in ldlm_lock_put() to less confusing. Former looked
like this:

"final lock_put on destroyed lock, freeing namespace ..."
whereas it should like this:
"final lock_put on destroyed lock, freeing it. namespace ..."

- cleanups in mds_init_lov_desc()

- in mds_notify() remove obd_set_info("mds_conn") before calling mds_lov_start_synchronize()
as it will be called by mds_lov_start_synchronize() itself.

- in filter_set_info() using IS_KEY() macro

19 years agoBranch: b_release_1_4_6
green [Wed, 21 Dec 2005 17:15:50 +0000 (17:15 +0000)]
Branch: b_release_1_4_6
r=adilger

Make llu_dir_do_readpage to match LCK_CR locks to conform to inodebits new
locking policy.

19 years agor=green
alex [Tue, 20 Dec 2005 21:51:34 +0000 (21:51 +0000)]
r=green

  - remove dentry from hash before puting on orphan list (2.4 only)

19 years agoBranch b_release_1_4_6
adilger [Tue, 20 Dec 2005 09:27:56 +0000 (09:27 +0000)]
Branch b_release_1_4_6
Add /proc/fs/lustre/{mdc,osc}/*/connect_flags entries, so it is possible
to check what features are supported by a client.

19 years agoBranch b_release_1_4_6
adilger [Tue, 20 Dec 2005 07:13:38 +0000 (07:13 +0000)]
Branch b_release_1_4_6
Fix minor compile warnings.