Whamcloud - gitweb
fs/lustre-release.git
19 years agoChangelog entry about quota support
green [Sat, 2 Apr 2005 07:38:04 +0000 (07:38 +0000)]
Changelog entry about quota support

19 years agoBranch: b1_4
adilger [Sat, 2 Apr 2005 01:16:16 +0000 (01:16 +0000)]
Branch: b1_4
Don't abort lfs find if we get an error statting a file, this can happen
if e.g. the MDS is corrupted, which is exactly when we need it to work.

19 years agoBranch: b1_4
adilger [Sat, 2 Apr 2005 01:14:54 +0000 (01:14 +0000)]
Branch: b1_4
Don't barf if "HOST" is unset.

19 years agoBranch: b1_4
adilger [Sat, 2 Apr 2005 01:14:10 +0000 (01:14 +0000)]
Branch: b1_4
Fix bug number for excluded test, remove dupe from some merge.

19 years agoBranch: b1_4
adilger [Sat, 2 Apr 2005 01:13:29 +0000 (01:13 +0000)]
Branch: b1_4
Don't think just any mountpoint with "lustre" in the name is Lustre(tm).
There are no substitutes.  (for HP)

19 years agoBranch: b1_4
adilger [Sat, 2 Apr 2005 00:57:21 +0000 (00:57 +0000)]
Branch: b1_4
Quiet annoying grant message.
r=phil

19 years agoLanding b1_4_quotaoff to b1_4
green [Fri, 1 Apr 2005 21:32:29 +0000 (21:32 +0000)]
Landing b1_4_quotaoff to b1_4

19 years agob=3048
jacob [Fri, 1 Apr 2005 20:52:21 +0000 (20:52 +0000)]
b=3048
r=me, originally from adilger

Moves the checking for stripe sizes into the lib, so all callers get
this.  Properly checks for dirstripe default removal, and always
prints the directory default striping.

19 years agob=3026
nathan [Fri, 1 Apr 2005 19:36:38 +0000 (19:36 +0000)]
b=3026
r=boc
support for arbitrary number of OSTs

19 years agoFix rhel4 compile errors for me
green [Fri, 1 Apr 2005 15:50:59 +0000 (15:50 +0000)]
Fix rhel4 compile errors for me

19 years agob=5985
green [Fri, 1 Apr 2005 15:46:59 +0000 (15:46 +0000)]
b=5985
r=adilger
Do not drop LOOKUP_LINK_NOTLAST flag not set by us (in case of recursive
symlinks)

19 years agob=6000
green [Fri, 1 Apr 2005 15:00:52 +0000 (15:00 +0000)]
b=6000
Do not search any VMAs in NULL mm. Fixes NFS exporting problems for HP.

19 years agob=3048
jacob [Thu, 31 Mar 2005 21:21:39 +0000 (21:21 +0000)]
b=3048
r=me, adilger

when creating new directories, inherit parent's striping

19 years agob=6017
jacob [Thu, 31 Mar 2005 21:18:27 +0000 (21:18 +0000)]
b=6017
r=adilger

add --abort-recovery option to lconf

19 years agoBranch b1_4
nathan [Wed, 30 Mar 2005 21:58:08 +0000 (21:58 +0000)]
Branch b1_4
think-o

19 years agoBranch b1_4
nathan [Wed, 30 Mar 2005 21:10:23 +0000 (21:10 +0000)]
Branch b1_4
b=5951
Try to confine test 24 effects to test 24

19 years ago* llmount fix
eeb [Wed, 30 Mar 2005 14:03:28 +0000 (14:03 +0000)]
*   llmount fix
    - vibnal needs IP address as well as NID (assuming NID == IP
      could lead to ARP failures; e.g. bug 5858).

19 years agoBranch: b1_4
adilger [Wed, 30 Mar 2005 11:06:27 +0000 (11:06 +0000)]
Branch: b1_4
Define $UPCALL=DEFAULT for instanity.sh, test breaks otherwise (it assumes
that "--lustre-upcall $UPCALL" will work, instead we eat the next parameter
--ptldebug as the upcall).

19 years agob=6011
jacob [Wed, 30 Mar 2005 08:31:21 +0000 (08:31 +0000)]
b=6011
r=adilger

 * bump portals ioctl version to work around not checking the
   portals_cfg version number anywhere

 * print error messages when there are errors in lctl

 * some typo fixes ect.

19 years agoBranch: b1_4
adilger [Wed, 30 Mar 2005 08:05:09 +0000 (08:05 +0000)]
Branch: b1_4
Update ChangeLog with a message about incompatible 1.4.2 release.

19 years agoBranch: b1_4
adilger [Wed, 30 Mar 2005 07:59:30 +0000 (07:59 +0000)]
Branch: b1_4
Remove unused variable.

19 years agoBranch: b1_4
adilger [Wed, 30 Mar 2005 07:39:31 +0000 (07:39 +0000)]
Branch: b1_4
Clean up both llog contexts in osc and obdfilter, even if one has an error.
Equivalent to changes in lov_llog_cleanup() and mds_llog_cleanup().
b=4834
r=nathan

19 years agoBranch: b1_4
adilger [Wed, 30 Mar 2005 04:55:21 +0000 (04:55 +0000)]
Branch: b1_4
For some reason having an inline ll_set_rdonly() with HAVE_OLD_DEV_SET_RDONLY
is causing gcc to miscompile and way overstep the array bounds (2 == 1792
in some cases it seems).  Move this code to a function.

Add some more 64-bit sanity checks (it was do_div() on BGL that broke things
previously).

19 years agoBranch: b1_4 (merge from b_cray)
adilger [Wed, 30 Mar 2005 00:32:33 +0000 (00:32 +0000)]
Branch: b1_4 (merge from b_cray)
Remove useless fcb_cache_count atomic.

19 years agob=5981
jacob [Tue, 29 Mar 2005 22:38:21 +0000 (22:38 +0000)]
b=5981
r=oleg

fix for this patch from oleg.

this fixes oopses when running replay-single in UML for me, and
recovery-small for andreas somewhere

19 years ago* added uml-vanilla-2.4.24.config for lustre/uml setups
nkj [Tue, 29 Mar 2005 21:05:01 +0000 (21:05 +0000)]
* added uml-vanilla-2.4.24.config for lustre/uml setups

19 years agoBranch: b1_4
adilger [Tue, 29 Mar 2005 20:33:39 +0000 (20:33 +0000)]
Branch: b1_4
Use ldlm_type_t when storing lock type.

19 years agoFix quotes
jacob [Tue, 29 Mar 2005 19:05:20 +0000 (19:05 +0000)]
Fix quotes

19 years agodidn't mean for this to go in
jacob [Tue, 29 Mar 2005 18:53:37 +0000 (18:53 +0000)]
didn't mean for this to go in

19 years agob=3262
jacob [Tue, 29 Mar 2005 18:51:56 +0000 (18:51 +0000)]
b=3262
r=adilger,green

Store backup servers in the config logs on the mds, and try them
round-robin style when recovering

ported from b_cray, originally by eric mei.

19 years agoBranch: b1_4
adilger [Tue, 29 Mar 2005 13:03:33 +0000 (13:03 +0000)]
Branch: b1_4
Don't re-add a lock being destroyed to the waiting locks list.
Debugging (that doesn't panic system) in case this happens again.
b=5653
r=phil

19 years agoupdate wiretest for MDS_SET_INFO. without the noise, this amounts to:
jacob [Tue, 29 Mar 2005 06:41:04 +0000 (06:41 +0000)]
update wiretest for MDS_SET_INFO.  without the noise, this amounts to:

-        LASSERTF(MDS_LAST_OPC == 46, " found %lld\n",
+        LASSERTF(MDS_SET_INFO == 46, " found %lld\n",
+                 (long long)MDS_SET_INFO);
+        LASSERTF(MDS_LAST_OPC == 47, " found %lld\n",

19 years agor=adilger
jacob [Tue, 29 Mar 2005 06:34:29 +0000 (06:34 +0000)]
r=adilger
r=phil

include the version of the actual compiler we were compiled with.

19 years agoBranch: b1_4
adilger [Tue, 29 Mar 2005 06:32:09 +0000 (06:32 +0000)]
Branch: b1_4
Ignore writemany binary.

19 years agoBranch: b1_4
adilger [Tue, 29 Mar 2005 06:24:00 +0000 (06:24 +0000)]
Branch: b1_4
Remove scripts duplicated in build/
r=jacob

19 years agor=phil
jacob [Tue, 29 Mar 2005 04:55:56 +0000 (04:55 +0000)]
r=phil

these haven't been used in years and years.

19 years agob=4952
phil [Tue, 29 Mar 2005 04:34:02 +0000 (04:34 +0000)]
b=4952
A plurality of Makefiles led me astray; super.c isn't compiled into 2.6 builds
at all, so lustre_remount_fs needs to be in llite_lib.c

19 years agoUpdate lwizard man page on how to use multinet
lwang [Tue, 29 Mar 2005 03:15:08 +0000 (03:15 +0000)]
Update lwizard man page on how to use multinet

19 years agolwizard supports multi-net
lwang [Tue, 29 Mar 2005 02:59:37 +0000 (02:59 +0000)]
lwizard supports multi-net

19 years agotry to clean up all lov/mds llogs, even if first on fails
nathan [Mon, 28 Mar 2005 23:05:35 +0000 (23:05 +0000)]
try to clean up all lov/mds llogs, even if first on fails

19 years agob=4952
phil [Mon, 28 Mar 2005 20:28:11 +0000 (20:28 +0000)]
b=4952
r=adilger
Protocol change!  This commit breaks wire protocol compatibility.

connect messages now exchange another buffer, which currently contains only
flags.  This is used to implement read-only mounting, but will be used to fix
other issues as well.

The flags are exchanged with the MDT and OST, but currently only the MDT pays
any attention to them.  The places that check the disk are carefuly to check
the export for its read-only status.  Having this flag in the export gives us
the opportunity to also set it when the client doesn't request it, to force
read-only mounts as a security policy.

This commit also adds remount_fs method, which can make use of mdc_set_info to
change the rw/ro status at remount-time.  And osc_set_info should follow.

19 years agoBranch: b1_4
adilger [Sat, 26 Mar 2005 08:27:13 +0000 (08:27 +0000)]
Branch: b1_4
Fix regression caught by e2fsck - we weren't unlinking empty directories
if they were renamed-over by another directory.  This is impossible to
do with a shell, as it will move the source dir INTO the target instead
of OVER the target.
b=5953

19 years agoBranch: b1_4
adilger [Sat, 26 Mar 2005 06:36:41 +0000 (06:36 +0000)]
Branch: b1_4
Quiet grant messages until we have CONNECT messages to fix bug 3273.
b=5983

19 years agochangelog entry for 5981
phil [Sat, 26 Mar 2005 05:23:00 +0000 (05:23 +0000)]
changelog entry for 5981

19 years agoland b_release_1_4_1 onto b1_4
phil [Sat, 26 Mar 2005 05:08:16 +0000 (05:08 +0000)]
land b_release_1_4_1 onto b1_4

19 years agob=5654
phil [Sat, 26 Mar 2005 04:38:54 +0000 (04:38 +0000)]
b=5654
r=adilger

The last little bits of cleanup for bug 5654 (from Andreas's review):
- save_valid isn't needed in ll_setattr_raw, because either the function exits
  early or ia_valid gets cleared regardless
- protect i_size updates in ll_nopage and ll_ap_refresh_count
- change ll_page_matches to only match outgoing locks for real reads;
  readaheads no longer match locks which are in the process of being
  cancelled anyways

19 years agob=5981
phil [Sat, 26 Mar 2005 04:13:11 +0000 (04:13 +0000)]
b=5981
r=adilger

SetPageDirty in 2.6 is a hangman's noose made of time bombs, with which to
shoot yourself in the foot.  It doesn't adjust page lists or counters, which
we now believe was almost certainly responsible for the two weeks of
mysterious "negative nr_dirty" hangs at NERSC and NOAA.

As an extra precaution, I also move the clear_page_dirty_for_io compat function
into the 2.4-only part.  If configure happened to ever enable it in 2.6
somehow, it would be a similar disaster (assuming that the compile didn't
fail).

19 years agob=5903
nathan [Fri, 25 Mar 2005 22:16:41 +0000 (22:16 +0000)]
b=5903
minor fix for 5903

19 years agob=5975
jacob [Fri, 25 Mar 2005 19:39:04 +0000 (19:39 +0000)]
b=5975
r=adilger

use lustre_cfg_bufs_set_string() in userspace to NULL-terminate the
flags

19 years agoLand b1_4_bgl on b1_4.
jacob [Thu, 24 Mar 2005 22:50:56 +0000 (22:50 +0000)]
Land b1_4_bgl on b1_4.

Portals b1_4_bgl will land on HEAD after 1.4.2 is released, so for now
children of b1_4 need to use the b1_4_bgl branch of portals.

Existing filesystems will need to --write_conf on the MDS as the log
format has incompatible changes.

19 years ago- Remove portals-upcall and lustre-upcall
lwang [Thu, 24 Mar 2005 06:18:30 +0000 (06:18 +0000)]
- Remove portals-upcall and lustre-upcall
- Fix 5943. Only one MDS is supported

19 years agoMake sure to really crash the kernel even if it did not crashed by just cd to
green [Wed, 23 Mar 2005 21:24:06 +0000 (21:24 +0000)]
Make sure to really crash the kernel even if it did not crashed by just cd to
wrong place.

19 years agob=4889,5773
green [Wed, 23 Mar 2005 20:42:38 +0000 (20:42 +0000)]
b=4889,5773
r=adilger
Fix test 48e to work properly.b=4889,5773

19 years agoBranch: b1_4
adilger [Wed, 23 Mar 2005 19:20:15 +0000 (19:20 +0000)]
Branch: b1_4
Remove patches that weren't removed from b_release_1_4_1 landing.
b=5875

19 years agoBranch: b1_4
adilger [Wed, 23 Mar 2005 18:56:59 +0000 (18:56 +0000)]
Branch: b1_4
Allow FORCE for cleanup

19 years agoBranch: b1_4
adilger [Wed, 23 Mar 2005 18:55:49 +0000 (18:55 +0000)]
Branch: b1_4
Patch series verification scripts moved to build.

19 years agor=adilger
nic [Wed, 23 Mar 2005 17:20:43 +0000 (17:20 +0000)]
r=adilger

remove old and unneeded includes

19 years agodisable init scripts by default
jacob [Tue, 22 Mar 2005 17:27:05 +0000 (17:27 +0000)]
disable init scripts by default

19 years agob=4834
nathan [Tue, 22 Mar 2005 00:27:22 +0000 (00:27 +0000)]
b=4834
Land b_release_1_4_1 onto b1_4 (20050321_1527)

19 years ago* Added check that network parses OK in llmount.c
eeb [Mon, 21 Mar 2005 18:07:54 +0000 (18:07 +0000)]
*    Added check that network parses OK in llmount.c

19 years agoremove old mballoc from series until we get new mballoc2 patches
nic [Sat, 19 Mar 2005 02:27:50 +0000 (02:27 +0000)]
remove old mballoc from series until we get new mballoc2 patches

19 years ago* removed the non-working 2.4.20 uml kernel config
nkj [Sat, 19 Mar 2005 01:51:58 +0000 (01:51 +0000)]
* removed the non-working 2.4.20 uml kernel config
* added a working 2.4.24 uml kernel config

19 years agor=braam
green [Fri, 18 Mar 2005 10:54:54 +0000 (10:54 +0000)]
r=braam
Fix 2.4 uml to use vmalloc instead of kmalloc for internal allocations,
because kmalloc has 128k limit and e.g. readdir in glibc exceeds this.

19 years agoBranch: b1_4
adilger [Fri, 18 Mar 2005 09:10:21 +0000 (09:10 +0000)]
Branch: b1_4
Write enough to send at least one BRW RPC to an OST, otherwise the client
might cache the whole write and the VM not flush it before we re-enable
BRWs.  When that happens the client isn't evicted and our file compares OK.
b=5595

19 years agob=5188,5749
nic [Thu, 17 Mar 2005 19:45:04 +0000 (19:45 +0000)]
b=5188,5749

remove test 68 until bugs are fixed, it is causing sanity to never complete
test 68 is swap on Lustre

19 years agoBranch: b1_4
adilger [Wed, 16 Mar 2005 19:14:26 +0000 (19:14 +0000)]
Branch: b1_4
Fix typo.

19 years agoBranch: b1_4
adilger [Wed, 16 Mar 2005 07:33:53 +0000 (07:33 +0000)]
Branch: b1_4
Change load_ldap.sh to check for autoMakefile.am for "devel" mode, as
Makefile.am no longer exists.
b=5872
r=fergal (original patch)

19 years agoBranch: b1_4
adilger [Wed, 16 Mar 2005 03:44:39 +0000 (03:44 +0000)]
Branch: b1_4
Remove unused patch, the 2.4.21-rhel version works on chaos already.

19 years agoBranch: b1_4
adilger [Wed, 16 Mar 2005 03:00:08 +0000 (03:00 +0000)]
Branch: b1_4
Remove files duplicated with build/ .  I verified that the suse-*
scrips are installed from build/autoMakefile.am, and that the two
versions were identical.

19 years agoBranch: b1_4
adilger [Wed, 16 Mar 2005 02:27:44 +0000 (02:27 +0000)]
Branch: b1_4
Allow NFSD to reopen files for write that were created without write perms.
This is needed for HPUX NFS clients (cp creates files with mode 000), and
Linux NFS test progs that intentionally do the same because NFSD always
reopens files for each client RPC and loses the Lustre initial open(O_CREAT)
file handle that was allowed to open-for-write a readonly file.
This only works for the file owner so it is no net loss of security (the
user could always just chmod a file and then write to it).  Tested at HP.
b=5781
r=peter (concept)

19 years agoBranch: b1_4
adilger [Tue, 15 Mar 2005 19:13:38 +0000 (19:13 +0000)]
Branch: b1_4
Fix lock deadlock between obdfilter statistics gathering and object creation
(they used the same lock and stats handling might be in an IRQ).
b=5811
r=adilger (original patch from phil)

19 years agoThere have been so many changes since 1.4.0.10 that it needs its own ChangeLog
phil [Tue, 15 Mar 2005 14:15:43 +0000 (14:15 +0000)]
There have been so many changes since 1.4.0.10 that it needs its own ChangeLog
section.

19 years agoBranch: b1_4
adilger [Tue, 15 Mar 2005 10:56:52 +0000 (10:56 +0000)]
Branch: b1_4
Set the mkfs defaults for the MDS to 1 inode/4k, and for the OST 1/16k.
We could probably be more aggressive on the OSTs, but this should be
safe for any reasonable usage of Lustre.
r=phil

19 years agoBranch: b1_4
adilger [Tue, 15 Mar 2005 01:17:26 +0000 (01:17 +0000)]
Branch: b1_4
Fix problem with iopen-on-NFS problem.
b=5698

19 years agoBranch: b1_4
adilger [Mon, 14 Mar 2005 17:06:05 +0000 (17:06 +0000)]
Branch: b1_4
Don't attach NFSD_DISCONN dentries in ext3_lookup->iopen_connected_dentry()
to avoid confusing NFSD when run on a Lustre-patched kernel.  This makes
iopen_connected_dentry() behave exactly as d_add(dentry, inode) did for
non-IOPEN mounted filesystems (i.e. everything except the MDS).
b=5698
r=behlendo

19 years agoBranch: b1_4
adilger [Wed, 9 Mar 2005 07:08:02 +0000 (07:08 +0000)]
Branch: b1_4
Fix kernel oops when creating .foo in unlinked directory.
Kernels vanilla-2.4.24+ and 2.6.5+ already have this fix.
b=5548

19 years agoBranch: b1_4
adilger [Mon, 7 Mar 2005 19:59:14 +0000 (19:59 +0000)]
Branch: b1_4
Enable mmaped writes for acceptance-small.sh

19 years agoBranch: b1_4
adilger [Mon, 7 Mar 2005 19:34:59 +0000 (19:34 +0000)]
Branch: b1_4
Remove obsolete open_delay.c program, can use "openfile -f O_LOV_DELAY_CREATE"
instead.

19 years agoBranch: b1_4
adilger [Mon, 7 Mar 2005 18:56:32 +0000 (18:56 +0000)]
Branch: b1_4
Don't try to block map an extent-mapped file if kernel doesn't support
extents, return error instead.

19 years agoBranch: b1_4
adilger [Mon, 7 Mar 2005 18:53:05 +0000 (18:53 +0000)]
Branch: b1_4
Print out mode/rdev for ll_mknod_raw.

19 years agoBranch: b1_4
adilger [Mon, 7 Mar 2005 18:50:42 +0000 (18:50 +0000)]
Branch: b1_4
Print ll_dir_readpage offset, use 64-bit value for calculation.

19 years agoBranch: b1_4
adilger [Sun, 6 Mar 2005 07:26:19 +0000 (07:26 +0000)]
Branch: b1_4
- don't move pending lock onto export if it is already evicted
b=5863
r=phil

19 years agoBranch: b1_4
adilger [Sun, 6 Mar 2005 07:22:26 +0000 (07:22 +0000)]
Branch: b1_4
b=5800

19 years agoclean up MOUNT grep
nic [Fri, 4 Mar 2005 02:11:54 +0000 (02:11 +0000)]
clean up MOUNT grep

19 years agoallow sanity to work on 0conf mounted systems
nic [Thu, 3 Mar 2005 23:30:21 +0000 (23:30 +0000)]
allow sanity to work on 0conf mounted systems

19 years agoadd enough arguments for the printf format string.
jacob [Wed, 2 Mar 2005 23:57:05 +0000 (23:57 +0000)]
add enough arguments for the printf format string.

19 years agob=5492,5624,5654,5664,5672
phil [Wed, 2 Mar 2005 23:35:09 +0000 (23:35 +0000)]
b=5492,5624,5654,5664,5672
Fundamentally changes the locking rules for the i_size and KMS.  The way in
which this was done is documented in bug 5654 comment #6, and I'll ask the
colibri team to either adopt or adapt this design, but in any case make it a
part of their documentation after they've merged it.

i_size and KMS sampling and updates are now protected by an lli_size_sem.
The reasons are many:

The truncate path has been reorganized not to hold this semaphore during RPCs,
which allows us to reverse the deadlock-inducing order with the ns_lock in
ll_pgcache_remove_extent. (bug 5492)

The introduction of the i_alloc_sem in 2.6 was wreaking havoc on our ability
to get our ordering right.  The truncate path was a festering boil of unlocking
and relocking which may well have been the source of other concurrency bugs.
Not using the i_sem for i_size updates eliminates this rat nest (bugs 5624,
5654)

Finally, the CMD team reported a similar inversion between a writing thread
and ptlrpcd (the writing thread has the i_sem, and won't release it until
ptlrpcd finishes the I/O; ptlrpcd wants the i_sem to finalize lock cancellation
after being evicted). (bugs 5664, 5672)

This has been running at NERSC for the last week, so I think it's ready for
more exposure.

19 years agowhitespace-only changes to the series file, which helps me cat it through xargs
phil [Wed, 2 Mar 2005 23:25:49 +0000 (23:25 +0000)]
whitespace-only changes to the series file, which helps me cat it through xargs

19 years agoUpdate ChangeLog for last 2 commits
phil [Wed, 2 Mar 2005 23:21:56 +0000 (23:21 +0000)]
Update ChangeLog for last 2 commits

19 years agob=5637,4952
phil [Wed, 2 Mar 2005 23:19:29 +0000 (23:19 +0000)]
b=5637,4952
r=adilger
This patch tries to support all of the common VFS-enforced options like
nosuid, nodev, and noexec.  There are some others that will require server-side
code -- notably read-only -- that will have to come later.

19 years agob=5779
phil [Wed, 2 Mar 2005 23:16:57 +0000 (23:16 +0000)]
b=5779
There's one error path in the DLM's enqueue code where, after a timeout and
user abort, the client will keep its local copy of the lock.

This has a few follow-on effects, all of which should be fixed by this patch:

- the reference on the lock is never dropped, so we never try to cancel it, so
we never find out that our view of the lock state differs from the server's.
This could perhaps cause some corruption.

- we try to match this lock on future enqueues; although the lock is marked as
failed, search_queue is only checking for destroyed (bug).  I don't know
precisely why we need two flags for this, but that's a more subtle change than
I'm willing to make right now.

- once we have a handle on that lock, the completion AST does check that flag,
so it returns an error right away -- but we don't check its return code in the
match path (bug) and plow on

- the lock enqueue was originally aborted before it got to the part that updates
the KMS and sets the LDLM_FL_CAN_MATCH flag.  So each match attempt will wait
100 seconds for that flag to get set, which of course never happens.  We should
print a pretty serious warning if that timeout happens, but fixes for the
previous two bugs should prevent us from getting here in the first place.

This has been running at NERSC for the last week, so I think it's ready for
more exposure.

19 years agor=adilger
phil [Wed, 2 Mar 2005 23:12:23 +0000 (23:12 +0000)]
r=adilger
HP submitted a patch to dynamically calculate the page size in lfs, but we
decided that it made more sense to hard code it to at least 64kB.  That's
the largest page size that we could commonly come into contact with (ia64)

19 years agob=5800
nic [Wed, 2 Mar 2005 22:15:52 +0000 (22:15 +0000)]
b=5800

extend the same affection shown to lconf to lmc. we have no favorite child

19 years agoBranch: b1_4
adilger [Wed, 2 Mar 2005 20:21:51 +0000 (20:21 +0000)]
Branch: b1_4
Fix build error if _LARGEFILE64_SOURCE not defined when lustre_user.h is
included.  lov_user_mds_data isn't widely used, just silently drop it.
Quiet compiler warning.
r=jacob

19 years agoLand b1_4_smallfix onto b1_4 (20050302_0257)
adilger [Wed, 2 Mar 2005 14:05:52 +0000 (14:05 +0000)]
Land b1_4_smallfix onto b1_4 (20050302_0257)
- new delete_thread patch for 81chaos kernel (b=5669)
- use KIOBUF_GET_BLOCKS() for PPC kernel (from b1_4_bgl)
- add "instantaneous" rates to llstat.pl in addition to overall average rate

19 years agoBranch: b1_4
adilger [Wed, 2 Mar 2005 08:18:49 +0000 (08:18 +0000)]
Branch: b1_4
Add debugging for bug 5793 in case it happens again.
b=5793

19 years agob=5800
phil [Tue, 1 Mar 2005 21:24:56 +0000 (21:24 +0000)]
b=5800
Info:
HP SFS 2250/CFS 5800

On em64t/x86_64 systems the %{_libdir} rpm path resolves to
/usr/lib64 rather than /usr/lib. This patch updates lconf to
look in both locations for the Lustre extension modules.

19 years agoBranch: b1_4
adilger [Tue, 1 Mar 2005 09:52:12 +0000 (09:52 +0000)]
Branch: b1_4
Disable extents/mballoc with old patch, but allow Lustre to build.

19 years agoBranch: b1_4
adilger [Tue, 1 Mar 2005 09:17:46 +0000 (09:17 +0000)]
Branch: b1_4
Move the MDC EA/cookie max size initialization later in the mount process,
until we have established our permanent connections.  This avoids needless
a bunch of client->OST connect+disconnect RPCs, and also fixes a bug where
the client didn't get the reply for the first disconnect, and then hit a
sanity check (target handle mismatch) on the server.

This will tie in directly to the bug 5707 fix, as that will additionally
store a "default" EA size to avoid allocating and sending a very large
(and otherwise useless) request buffer, just to have a place to store
the LOV EA for a MDS open replay.    Includes regression test.
b=5317
r=nathan (with minor fix to avoid the storage of lovdesc at all)

19 years agoOmnibus lconf update, courtesy of HP.
phil [Tue, 1 Mar 2005 00:20:14 +0000 (00:20 +0000)]
Omnibus lconf update, courtesy of HP.

lconf_write_conf_failover-cfs5111.patch
b=5111
Info:
        HP SFS 1575/CFS 5111
        Allow lconf --write_conf to handle stopping when the MDS device
        started in recovery.

lconf_pidfile_fix-cfs4903.patch:
b=4903
Info:
        HP SFS 1515, 1597/CFS 4903, 5091, 5452

        Fix the my_int() routine to handle arguments that are already
        integers correctly, and also handle octal values in the same way
        as hexadecimal ones are handled, and handle non-numeric strings,
        which will trigger TypeError exception, appropriately.

        Partially address issues identified with starting up and shutting
        down the acceptor daemon. For startup we attempt to deal with the
        possibility of another lconf instance racing with us that is also
        attempting to start the daemon. For shutdown we wait for up to 15
        seconds for the daemon to shut down properly before continuing.

lconf_validate_upcall-sfs1487.patch:
Info:
        HP SFS 1487
        Fixes erroneous comment in LCTLInterface class.
        Adds validation check to make sure that the specified upcall
        exists and is executable if appropriate.

lconf_whitespace_fixup.patch:
Info:
        Fix up white space on all lines to be consistent as part of the
        lustre 1.4.0 merge.