Whamcloud - gitweb
fs/lustre-release.git
19 years agoLand changes to the read-ahead algorithm improving its behavior for random
nikita [Tue, 20 Sep 2005 13:24:54 +0000 (13:24 +0000)]
Land changes to the read-ahead algorithm improving its behavior for random
reads:

 - always try to read-ahead at least file region that will be read by read(2)
   call.

 - try to detect random reads, and avoid excessive read-ahead in that case.

b=6252
r=adilger

19 years agoA script to run kernel builds as a benchmark.
nikita [Mon, 19 Sep 2005 14:09:16 +0000 (14:09 +0000)]
A script to run kernel builds as a benchmark.

19 years agoBranch b1_4
adilger [Thu, 15 Sep 2005 19:08:53 +0000 (19:08 +0000)]
Branch b1_4
Fix liblustre sanity unaligned write test.  Was previously not really testing
the 1TB write offset because of 32-bit lseek offset truncation.
b=7279

19 years agouse local variable
nikita [Thu, 15 Sep 2005 08:19:02 +0000 (08:19 +0000)]
use local variable

19 years agoBranch b1_4
adilger [Wed, 14 Sep 2005 21:45:49 +0000 (21:45 +0000)]
Branch b1_4
Add support for F_{GET,SET}LK{,W}64 to fcntl because the t23() use of
_FILE_OFFSET_BITS=64 caused these macros to be changed in the header.
b=7279

19 years agoBranch b1_4
adilger [Wed, 14 Sep 2005 21:18:37 +0000 (21:18 +0000)]
Branch b1_4
Use 64-bit variable for libsysio lseek64() internal return value.
Update liblustre sanity.c to use 64-bit IO functions where needed.
b=7279

19 years agoBranch b1_4
adilger [Wed, 14 Sep 2005 20:46:52 +0000 (20:46 +0000)]
Branch b1_4
Move ChangeLog comment to end of 1.4.6 release notes.
Fix CFS_PAGE_MASK for extent start in ost_get_extent_lock().
Add LDLM_FL_CBPENDING for all granted liblustre extent locks.
Add OBD_CONNECT_SRVLOCK for OST only.
Add misc comments from final patch.
b=7311
r=nikita (original patch)

19 years agoversion of 7311 fix, tested by Cray, with few minor modifications from newer
nikita [Wed, 14 Sep 2005 10:42:52 +0000 (10:42 +0000)]
version of 7311 fix, tested by Cray, with few minor modifications from newer
not-yet tested version:

 - comments;

 - uninitialized .l_extent in lustre_build_lock_params();

 - extent lock boundaries are better to be page aligned in ost_brw_lock_get().

b=7311
r=adilger

19 years agoBranch b1_4
adilger [Wed, 14 Sep 2005 08:56:29 +0000 (08:56 +0000)]
Branch b1_4
Update liblustre 2GB lseek test to also do SEEK_SET 0 afterward (per bug).
I'm unable to reproduce a problem with this test on 2.6.9.
b=7279

19 years agoBranch: b1_4
green [Tue, 13 Sep 2005 16:53:20 +0000 (16:53 +0000)]
Branch: b1_4
b=7313
r=adilger

Allow locks flagged in a certain way (used by liblustre) to be cancelled without
waiting for reply from client.
This is a prototype version of code. We land it so that it will get into next
code drop to Cray.

19 years agoBranch b1_4
adilger [Tue, 13 Sep 2005 16:13:35 +0000 (16:13 +0000)]
Branch b1_4
Remove lower limit on ldlm_timeout value for liblustre.  Tested at Sandia.
b=7201

19 years agob=5781
phil [Tue, 13 Sep 2005 06:23:13 +0000 (06:23 +0000)]
b=5781
r=adilger (original patch)

Severity   : minor
Frequency  : rare (only HPUX clients mounting unsupported re-exported NFS vol)
Bugzilla   : 5781
Description: an HPUX NFS client would get -EACCESS when ftruncate()ing a newly
             created file with mode 000
Details    : the Linux NFS server relies on an MDS_OPEN_OWNEROVERRIDE hack to
     allow an ftruncate() as a non-root user to a file with mode 000.
     Lustre now respects this flag to disable mode checks when
     truncating a file owned by the user

19 years agoBranch b1_4
adilger [Mon, 12 Sep 2005 22:47:07 +0000 (22:47 +0000)]
Branch b1_4
Compatibility for 2.6.12 kernel.
b=6864

19 years agoBranch b1_4
adilger [Mon, 12 Sep 2005 22:20:51 +0000 (22:20 +0000)]
Branch b1_4
Don't enable full debug for liblustre testing.

19 years agoBranch b1_4
adilger [Mon, 12 Sep 2005 22:13:45 +0000 (22:13 +0000)]
Branch b1_4
Always hold obd_dev_lock when manipulating obd_exports_timed or
exp_obd_chain_timed lists.  Found in code inspection, but not a cause of
bug 8322 (crash in ping evictor) as liblustre is not involved.
b=8322

19 years agoadd explicit atoll() declaration to keep gcc happy.
nikita [Mon, 12 Sep 2005 15:48:08 +0000 (15:48 +0000)]
add explicit atoll() declaration to keep gcc happy.

19 years ago - add command line option to random-reads to make multiple consecutive calls
nikita [Sat, 10 Sep 2005 13:18:11 +0000 (13:18 +0000)]
 - add command line option to random-reads to make multiple consecutive calls
   to read(2);

 - add random-reads to the Makefile;

 - add random-reads-based test to sanity.sh (test_101) to test how read-ahead
 algorithm handles seekful work-loads.

19 years agoBranch: b1_4
adilger [Sat, 10 Sep 2005 09:09:48 +0000 (09:09 +0000)]
Branch: b1_4
Don't allocate zero'd memory so we write non-zero'd data to disk in test 23.
b=7279

19 years agoBranch: b1_4
adilger [Sat, 10 Sep 2005 08:09:58 +0000 (08:09 +0000)]
Branch: b1_4
Add lseek() tests (t23) to liblustre sanity.c for bug 7279.
Test can be run without arguments if LIBLUSTRE_MOUNT_TARGET is set.
Allow running only a single test from sanity via "-o {number}" like sanity.sh.
b=7279

19 years agoBranch b1_4
adilger [Sat, 10 Sep 2005 06:31:36 +0000 (06:31 +0000)]
Branch b1_4
Added debugging for bad LOV EA detection.
Quiet spurious error for generation mismatch.
r=phil (original patch)

19 years agoBranch b1_4
adilger [Fri, 9 Sep 2005 20:21:07 +0000 (20:21 +0000)]
Branch b1_4
Description: doing an ls when liblustre clients are running is slow
Details    : sending a glimpse AST to a liblustre client waits for every AST
     to time out, as liblustre clients will not respond while they
     are processing.  Since they cannot cache data anyways we refresh
     the OST lock LVB from disk instead.
b=7198
r=phil, green (original patch)

19 years agoBranch b1_4
adilger [Fri, 9 Sep 2005 18:32:26 +0000 (18:32 +0000)]
Branch b1_4
Remove obsolete test script (this is covered by replay-single.sh anyways).

19 years agoBranch b1_4
adilger [Fri, 9 Sep 2005 18:18:48 +0000 (18:18 +0000)]
Branch b1_4
Description: specifying an (invalid) directory default stripe_size of -1
     would reset the directory default striping
Details    : stripe_size -1 was used internally to signal directory stripe
     removal, now use "all default" to signal dir stripe removal
     as a directory striping of "all default" is not useful
b=7328
r=green

19 years agoBranch b1_4
adilger [Fri, 9 Sep 2005 16:15:48 +0000 (16:15 +0000)]
Branch b1_4
Description: Tuning the MDC DLM LRU size to zero triggers client LASSERT
Details    : llu_lookup_finish_locks() tries to set lock data on a lock
     after it has been released, only do this for referenced locks.
     Tested by bogl.
b=7201 (b=7350)
r=green

19 years agoBranch b1_4
adilger [Thu, 8 Sep 2005 18:16:18 +0000 (18:16 +0000)]
Branch b1_4
Description: liblustre could not open files whose last component is a symlink
Details    : sysio_path_walk() would incorrectly pass the open intent to
     intermediate path components.
b=6363
r=oleg, lee, devesh

19 years agoBranch b1_4
adilger [Thu, 8 Sep 2005 07:49:38 +0000 (07:49 +0000)]
Branch b1_4
Description: Fix for potential infinite loop processing records in an llog.
Details    : If an llog record is corrupted/zeroed, it is possible to loop
             forever in llog_process().  Validate the llog record length
             and skip the remainder of the block on an invalid value.
b=7359

19 years agoBranch b1_4
adilger [Thu, 8 Sep 2005 07:27:59 +0000 (07:27 +0000)]
Branch b1_4
Quiet some overly noisy debug messages.

19 years agob=8320
phil [Wed, 7 Sep 2005 05:45:05 +0000 (05:45 +0000)]
b=8320
r=phil (HP's patch)
Severity   : minor
Frequency  : rare
Bugzilla   : 8320
Description: lconf incorrectly determined whether two IP networks could talk
Details    : In some more complicated routing and multiple-network
     configurations, lconf will avoid trying to make a network
     connection to a disjoint part of the IP space.  It was doing the
     math incorrectly for one set of cases.

19 years agoBranch b1_4
adilger [Tue, 6 Sep 2005 19:52:55 +0000 (19:52 +0000)]
Branch b1_4
Add more debugging to LASSERT.
b=5359
r=phil (original patch)

19 years agoBranch b1_4
adilger [Fri, 2 Sep 2005 21:13:05 +0000 (21:13 +0000)]
Branch b1_4
Remove final vestiges of "groups_upcall".  Verified that lmc with:

MDSOPT="--group_upcall=$PWD/../utils/l_getgroups" sh llmount.sh

will create a .xml file with group_upcall stanza and lconf configures
this properly.  Previously only tested with "lconf --group_upcall=...".
b=9259

19 years agoBranch b1_4
adilger [Fri, 2 Sep 2005 16:57:34 +0000 (16:57 +0000)]
Branch b1_4
Add documentation for the supplementary group upcall in lmc docs.
Fix minor inconsistency between lmc and lconf usage.
b=9259

19 years agob=7278
phil [Fri, 2 Sep 2005 15:56:08 +0000 (15:56 +0000)]
b=7278
reference the bug number in the comment that was added

19 years agoBranch b1_4
adilger [Thu, 1 Sep 2005 22:49:25 +0000 (22:49 +0000)]
Branch b1_4
Remove ialloc patch from fc3 kernel series, it should be (and is) in ldiskfs.
r=nathan

19 years agoBranch b1_4
adilger [Thu, 1 Sep 2005 18:09:27 +0000 (18:09 +0000)]
Branch b1_4
Description: 2.6 OST async journal commit and locking fix to improve performance
Details    : The filter_direct_io()+filter_commitrw_write() journal commits for
             2.6 kernels are now async as they already were in 2.4 kernels so
             that they can commit concurrently with the network bulk transfer.
             For block-allocated files the filter allocation semaphore is held
             to avoid filesystem fragmentation during allocation.  BKL lock
     removed for 2.6 xattr operations where it is no longer needed.
b=7116
r=alex, tested at HP

19 years agoBranch b1_4
nathan [Wed, 31 Aug 2005 23:24:27 +0000 (23:24 +0000)]
Branch b1_4
b=none
r=adilger
Add/fix error messages for failing to mount

19 years agocommited patch submitted to bug 5649 which checks return code from 'losetup'.
nkj [Wed, 31 Aug 2005 21:25:46 +0000 (21:25 +0000)]
commited patch submitted to bug 5649 which checks return code from 'losetup'.

19 years agoLand b_release_1_4_5 onto b1_4 (20050830_1747)
adilger [Wed, 31 Aug 2005 08:59:46 +0000 (08:59 +0000)]
Land b_release_1_4_5 onto b1_4 (20050830_1747)

19 years agohandle running from numbered RC scripts, and exit if no configuration is present
jacob [Tue, 30 Aug 2005 17:48:30 +0000 (17:48 +0000)]
handle running from numbered RC scripts, and exit if no configuration is present

19 years agoBranch b1_4
adilger [Mon, 29 Aug 2005 19:34:56 +0000 (19:34 +0000)]
Branch b1_4
Disable test 27 (fail LOV while using OSCs) as it is constantly failing
since we enabled failover OSTs by default.
b=7288

19 years agoBranch b1_4
adilger [Fri, 26 Aug 2005 22:40:31 +0000 (22:40 +0000)]
Branch b1_4
Description: Running on many-way SMP OSTs can trigger oops in llcd_send()
Details    : A race between allocating a new llcd and re-getting the llcd_lock
             in llcd_grab() allowed another thread to get the newly-allocated
     llcd.  Re-check that the list has an llcd in it before proceeding.
     Make the llcd size small enough that it fits into a single page
     when we are sending/receiving it.
b=7407

19 years agoadd new testing proglet random-reads.c to benchmark bug 6252 fix.
nikita [Wed, 24 Aug 2005 19:27:08 +0000 (19:27 +0000)]
add new testing proglet random-reads.c to benchmark bug 6252 fix.

random-reads.c randomly reads chunks of given size from the given file. See
"random-reads -h" for (ridiculously incomplete) help.

19 years agoBranch b1_4
adilger [Wed, 24 Aug 2005 17:45:43 +0000 (17:45 +0000)]
Branch b1_4
Add dump_on_timeout support for client eviction.

19 years agoBranch b1_4
adilger [Wed, 24 Aug 2005 05:24:14 +0000 (05:24 +0000)]
Branch b1_4
Fix "service lustre status" on OST_only hosts.
b=7396

19 years agoBranch b1_4
adilger [Mon, 22 Aug 2005 10:46:22 +0000 (10:46 +0000)]
Branch b1_4
Remove request for log files, we have some now.
b=5195

19 years agoBranch b1_4
adilger [Mon, 22 Aug 2005 10:31:35 +0000 (10:31 +0000)]
Branch b1_4
Fix patch names.

19 years agoBranch b1_4
adilger [Fri, 19 Aug 2005 08:48:08 +0000 (08:48 +0000)]
Branch b1_4
Add some extra checks to recursive symlink test.
b=7022

19 years agoBranch b1_4
adilger [Fri, 19 Aug 2005 08:40:36 +0000 (08:40 +0000)]
Branch b1_4
Update the kernel patch version for SLES9 kernels.
To be consistent, we revert the old version and apply whatever
the current version is.

19 years agoBranch b1_4
adilger [Fri, 19 Aug 2005 08:13:51 +0000 (08:13 +0000)]
Branch b1_4
Description: Racing open + rm can assert client in mdc_set_open_replay_data()
Details    : If lookup is in progress on a file that is unlinked we might try
             to revalidate the inode and fail in revalidate after lookup is
             complete and ll_file_open() enqueues the open again but
             it_open_error() was not checking DISP_OPEN_OPEN errors correctly.
b=5479 b=6816

19 years agoBranch b1_4
adilger [Fri, 19 Aug 2005 07:26:48 +0000 (07:26 +0000)]
Branch b1_4
Don't override existing ALWAYS_EXCEPT on 2.6.
b=7311

19 years agoBranch b1_4
adilger [Fri, 19 Aug 2005 04:13:49 +0000 (04:13 +0000)]
Branch b1_4
Description: chmod/chown may include an extra supplementary group
Details    : ll{,u}_mdc_pack_op_data() does not properly initialize the
             supplementary group and if none is specified this is used.
     Add check to mds_fix_attr() for only ATTR_GID being set.
b=7331

19 years agoBranch b1_4
adilger [Fri, 19 Aug 2005 03:48:55 +0000 (03:48 +0000)]
Branch b1_4
Quiet compiler warning for liblustre.

19 years agoBranch b1_4
adilger [Thu, 18 Aug 2005 23:20:46 +0000 (23:20 +0000)]
Branch b1_4
Fix valid compiler warning of unset variables.
b=7138

19 years agoBranch b1_4
adilger [Thu, 18 Aug 2005 22:00:09 +0000 (22:00 +0000)]
Branch b1_4
Frequency  : during shutdown only
Description: shutdown with a failed MDS or OST can cause unmount to hang
Details    : Don't resend DISCONNECT messages in ptlrpc_disconnect_import()
             if server is down.
b=6827

19 years agoGuard against incorrect $RUNAS_ID shenanigans.
mjmac [Wed, 17 Aug 2005 21:13:34 +0000 (21:13 +0000)]
Guard against incorrect $RUNAS_ID shenanigans.

19 years agoBranch b1_4
adilger [Wed, 17 Aug 2005 18:47:02 +0000 (18:47 +0000)]
Branch b1_4
Don't add primary group to groups list twice.
b=7331

19 years ago* running on 2 GM nodes @ HP
eeb [Wed, 17 Aug 2005 18:35:18 +0000 (18:35 +0000)]
*   running on 2 GM nodes @ HP

19 years agoAdd warning to identify which UID is being used, if UID is not root.
mjmac [Wed, 17 Aug 2005 18:31:45 +0000 (18:31 +0000)]
Add warning to identify which UID is being used, if UID is not root.

19 years agoBranch b1_4
adilger [Wed, 17 Aug 2005 10:59:56 +0000 (10:59 +0000)]
Branch b1_4
Minor message cleanups.

19 years agoBranch b1_4
adilger [Wed, 17 Aug 2005 09:06:44 +0000 (09:06 +0000)]
Branch b1_4
NUMA CPU affinity patch for ext3 journal threads.  Not in any series yet.
r=eeb

19 years agoThis commit was manufactured by cvs2svn to create branch 'b1_4'.
cvs2svn [Wed, 17 Aug 2005 09:06:40 +0000 (09:06 +0000)]
This commit was manufactured by cvs2svn to create branch 'b1_4'.

19 years agofix for bug 4843
nikita [Tue, 16 Aug 2005 15:51:05 +0000 (15:51 +0000)]
fix for bug 4843

19 years agoAdd command-line switch to specify number of iterations. Default is still
mjmac [Tue, 16 Aug 2005 14:01:29 +0000 (14:01 +0000)]
Add command-line switch to specify number of iterations.  Default is still
1000 loops.

19 years agoBranch b1_4
adilger [Tue, 16 Aug 2005 00:38:25 +0000 (00:38 +0000)]
Branch b1_4
Print units of jiffies in brw_stats output
b=7116

19 years agoBranch b1_4
adilger [Mon, 15 Aug 2005 22:53:38 +0000 (22:53 +0000)]
Branch b1_4
Fix swabbing of the total inodes count for big-endian clients.
r=behlendorf

19 years agoBranch b1_4
adilger [Mon, 15 Aug 2005 21:54:11 +0000 (21:54 +0000)]
Branch b1_4
Remove unused function, merge from HEAD.

19 years agoBranch b1_4
adilger [Mon, 15 Aug 2005 21:49:14 +0000 (21:49 +0000)]
Branch b1_4
Make iozone O_DIRECT and multi-thread tests separate.

19 years agoBranch b1_4
adilger [Mon, 15 Aug 2005 21:27:28 +0000 (21:27 +0000)]
Branch b1_4
Fix valid compile warning.
b=6902

19 years agoBranch b1_4
adilger [Mon, 15 Aug 2005 21:16:54 +0000 (21:16 +0000)]
Branch b1_4
Bump the minimal acceptable kernel patch version a bit.
This is low enough that a 1.2.4-patched kernel could still run 1.4 with
the caveats that any of the newer bugs wouldn't be fixed.
b=7255

19 years agoBranch b1_4
adilger [Mon, 15 Aug 2005 21:08:10 +0000 (21:08 +0000)]
Branch b1_4
Don't deref NULL dirent if allocation failure, merge from HEAD.

19 years agoBranch b1_4
adilger [Mon, 15 Aug 2005 20:05:24 +0000 (20:05 +0000)]
Branch b1_4
Description: service threads change working directory to that of init
Details    : Starting lustre service threads may pin the working directory
             of the parent thread, making that filesystem busy.  Threads
             now change to the working directory of init to avoid this.
b=6273

19 years agoBranch: b1_4
green [Mon, 15 Aug 2005 10:35:00 +0000 (10:35 +0000)]
Branch: b1_4
b=7198
r=adilger

Do not double-query file size from OSTs during stat(2). This might slow
down things considerably if somebody actively writes to stat()ed files too.

19 years agofix incorrect python
jacob [Fri, 12 Aug 2005 18:42:30 +0000 (18:42 +0000)]
fix incorrect python

19 years agoBranch: b1_4
green [Fri, 12 Aug 2005 12:00:25 +0000 (12:00 +0000)]
Branch: b1_4
b=6902
r=adilger
Evict clients by NID from both MDS and active OSTs

19 years agoBranch b1_4
adilger [Thu, 11 Aug 2005 22:19:14 +0000 (22:19 +0000)]
Branch b1_4
Description: liblustre clients evicted if not contacting servers
Details    : Don't put liblustre clients into the ping_evictor list, so
             they will not be evicted by the pinger ever.  Tested by Sandia.
b=7137

19 years agob=6455
green [Thu, 11 Aug 2005 16:41:17 +0000 (16:41 +0000)]
b=6455
r=adilger

Correctly fill struct dirent, d_off there should hold offset to NEXT dir entry,
not current one.

19 years agob=7278
green [Thu, 11 Aug 2005 10:47:53 +0000 (10:47 +0000)]
b=7278
r=adilger
Trick libsysio not to enforce O_EXCL open flag. MDS will enforce it for us.

19 years agoBranch b1_4
adilger [Thu, 11 Aug 2005 07:49:55 +0000 (07:49 +0000)]
Branch b1_4
Fix now-incorrect check in test 42 since OSTs are failover and not failout.
b=7287

19 years agoBranch b1_4
adilger [Thu, 11 Aug 2005 05:56:42 +0000 (05:56 +0000)]
Branch b1_4
Disable test 67 for non-local MDS - it needs to know if there is a group
upcall, and we can't tell otherwise.

19 years agoBranch b1_4
adilger [Thu, 11 Aug 2005 00:41:26 +0000 (00:41 +0000)]
Branch b1_4
Allow setting ldlm_timeout smaller than 10s.
b=7201

19 years agoBranch b1_4
adilger [Thu, 11 Aug 2005 00:24:19 +0000 (00:24 +0000)]
Branch b1_4
Add check for NULL imp_conn_current.  It isn't clear whether this should
always be non-NULL (in which case locking is bad, though we can't really
expect to hold imp_lock over the whole operation) or whether it is OK
to handle the NULL case gracefully.
b=7269
r=jacob

19 years agofix dist
jacob [Wed, 10 Aug 2005 20:44:11 +0000 (20:44 +0000)]
fix dist

19 years agoLand b1_4_bug3389 onto b1_4 (20050810_1124)
adilger [Wed, 10 Aug 2005 19:36:08 +0000 (19:36 +0000)]
Land b1_4_bug3389 onto b1_4 (20050810_1124)
Description: Add support for supplementary groups on the MDS.
Details    : The MDS has an upcall /proc/fs/lustre/mds/{mds}/group_upcall
             (set to /usr/sbin/l_getgroups if enabled) which will do MDS-side
             lookups for user supplementary groups into a cache.
b=3389, b=6253
Description: Add support for compiling against Cray portals.
Details    : Conditional compiling for some areas that are different
             on Cray Portals.

19 years agoLand b_release_1_4_4 onto b1_4 (20050810_0211)
adilger [Wed, 10 Aug 2005 08:35:42 +0000 (08:35 +0000)]
Land b_release_1_4_4 onto b1_4 (20050810_0211)
Description: Heavy concurrent write and delete load may cause data corruption.
Details    : It was possible under high-load situations to have an extent
             metadata block in the block device cache from a just-unlinked
             file overwrite a newly-allocated data block.  We now unmap any
             metadata buffers that alias just-allocated data blocks.
b=6998

Description: lconf+mke2fs fail when formatting filesystem with > 77 stripes
Details    : lconf specifies an inode size of 4096 bytes when the default
             stripe_count is larger than 77.  This conflicts with the default
             inode density of 1 per 4096 bytes.  Allocate smaller inodes in
             this case to avoid pinning too much memory for large EAs.
b=7241

19 years agoBranch b1_4
adilger [Wed, 10 Aug 2005 08:02:40 +0000 (08:02 +0000)]
Branch b1_4
Make the "return grant" constant dependent upon RPC size, not hard coded.
Currently the values are the same.
b=7138

19 years agoBranch b1_4
adilger [Wed, 10 Aug 2005 08:00:27 +0000 (08:00 +0000)]
Branch b1_4
Description: Client will block write RPCs if not enough grant
Details    : If a client has max_dirty_mb smaller than max_rpcs_in_flight,
             then the client will block writes while waiting for another RPC
             to complete instead of consuming its dirty limit.  With change
             we get improved performance when max_dirty_mb is small.

19 years agoBranch b1_4
adilger [Wed, 10 Aug 2005 07:36:45 +0000 (07:36 +0000)]
Branch b1_4
Description: If an OST is inactive, its locks might reference stale inodes.
Details    : lov_change_cbdata() must iterate over all namespaces, even if
             they are inactive to clear inode references from the lock.
     Otherwise we get stale locks referencing random memory (possibly
     not even an inode) when the locks drop off the LRU.
b=7039
r=alex

19 years agoAdded an info() sub for non-warning, non-error messages, and modified
mjmac [Tue, 9 Aug 2005 20:29:24 +0000 (20:29 +0000)]
Added an info() sub for non-warning, non-error messages, and modified
warning() as well.  Both now use stderr for output.

19 years agoBranch b1_4
adilger [Tue, 9 Aug 2005 20:24:25 +0000 (20:24 +0000)]
Branch b1_4
Description: Mounting an ldiskfs file system with mballoc may crash OST node.
Details    : ldiskfs mballoc code may reference an uninitialized buddy struct
             at startup during orphan unlinking.  Instead, skip buddy update
             before setup, as it will be regenerated after recovery is complete.
b=7264
r=alex

19 years agoliblustre doesn't have PageLocked
nikita [Mon, 8 Aug 2005 22:05:56 +0000 (22:05 +0000)]
liblustre doesn't have PageLocked

19 years agoAdded warning message for change in stripe_cnt 0 policy
cliffw [Mon, 8 Aug 2005 16:36:16 +0000 (16:36 +0000)]
Added warning message for change in stripe_cnt 0 policy

19 years agomake it compilable when CONFIG_PTRACK is not defined (like on UML)
nikita [Mon, 8 Aug 2005 16:05:50 +0000 (16:05 +0000)]
make it compilable when CONFIG_PTRACK is not defined (like on UML)

19 years agoBranch b1_4
adilger [Sun, 7 Aug 2005 05:01:41 +0000 (05:01 +0000)]
Branch b1_4
Update lmc documntation to match recent changes.
b=7140

19 years agoAdded 26f for testing removal of directory which contains recursive symlink.
devesh [Fri, 5 Aug 2005 21:03:00 +0000 (21:03 +0000)]
Added 26f for testing removal of directory which contains recursive symlink.

19 years agoassert that page is locked when IO is started by the osc layer
nikita [Fri, 5 Aug 2005 17:21:13 +0000 (17:21 +0000)]
assert that page is locked when IO is started by the osc layer

19 years agoadd description of struct ll_readahead_state fields
nikita [Fri, 5 Aug 2005 16:18:36 +0000 (16:18 +0000)]
add description of struct ll_readahead_state fields

19 years agoBranch b1_4
adilger [Thu, 4 Aug 2005 22:39:55 +0000 (22:39 +0000)]
Branch b1_4
Add ext3-ialloc patch to Cray patch series, avoids poor inode placement and
filesystem fragmentation on the OSTs.
b=4466
r=alex

19 years agoBranch b1_4
adilger [Thu, 4 Aug 2005 19:06:17 +0000 (19:06 +0000)]
Branch b1_4
Allow the "created" parameter to be NULL.  We don't actually use this data
for anything, and the current obdfilter code just passes in a dummy array
to make the API happy.  This leads to confusion when modifying the code.
b=7049, b=6998

19 years agoBranch b1_4
adilger [Thu, 4 Aug 2005 18:42:46 +0000 (18:42 +0000)]
Branch b1_4
Description: Unusual file access patterns on the MDS may result in inode
             data being lost in very rare circumstances.
Details    : Bad interaction between the ea-in-inode patch and the "no-read"
             code in the 2.6 kernel caused the inode and/or EA data not to
             be read from disk, causing single-file corruption.
b=6866, b=6869
r=alex

19 years agoremove unneeded argument
jacob [Thu, 4 Aug 2005 18:38:49 +0000 (18:38 +0000)]
remove unneeded argument

19 years agoname the cluster using a sort list of node names
jacob [Thu, 4 Aug 2005 18:37:52 +0000 (18:37 +0000)]
name the cluster using a sort list of node names