Whamcloud - gitweb
fs/lustre-release.git
21 years agoUpdates for 0.5.8 release.
adilger [Wed, 18 Sep 2002 18:18:52 +0000 (18:18 +0000)]
Updates for 0.5.8 release.

21 years agoincreased request buffering for the OST service
eeb [Wed, 18 Sep 2002 18:17:26 +0000 (18:17 +0000)]
increased request buffering for the OST service

21 years agoProbably memory corruption bug: the file lock bits weren't aware that
pschwan [Wed, 18 Sep 2002 17:47:05 +0000 (17:47 +0000)]
Probably memory corruption bug: the file lock bits weren't aware that
stripe_count==0 is legal, so they were allocating a 0-byte lock array that
would hold one 16-byte lock handle.  Fixed.

21 years agoFixup readme a bit to reflect reality.
adilger [Wed, 18 Sep 2002 16:51:42 +0000 (16:51 +0000)]
Fixup readme a bit to reflect reality.
Add object type to test_getattr obdo, so it works with obdfilter.
Fix up threading again, for "asked-for-threads-but-not-running-threads" case.

21 years agoAllow caller to specify autoconf program to use, in order to support systems
shaver [Wed, 18 Sep 2002 14:39:12 +0000 (14:39 +0000)]
Allow caller to specify autoconf program to use, in order to support systems
with both 2.13 and 2.53.

21 years ago- add manual pages with configuration help.
braam [Wed, 18 Sep 2002 05:44:26 +0000 (05:44 +0000)]
- add manual pages with configuration help.
- of particular importance is lustre-conf.
- this is included as a new chapter in the book.

21 years ago- add templates for manpages.
braam [Wed, 18 Sep 2002 03:33:19 +0000 (03:33 +0000)]
- add templates for manpages.

21 years agoFix "thread" parameters for test_brw and test_getattr for non-threaded tests.
adilger [Tue, 17 Sep 2002 22:38:27 +0000 (22:38 +0000)]
Fix "thread" parameters for test_brw and test_getattr for non-threaded tests.

21 years agoFix problem with shell escaping of variables.
adilger [Tue, 17 Sep 2002 22:30:26 +0000 (22:30 +0000)]
Fix problem with shell escaping of variables.

21 years agoFix badness in test scripts.
adilger [Tue, 17 Sep 2002 22:06:20 +0000 (22:06 +0000)]
Fix badness in test scripts.

21 years agoClean up runtests for inclusion in ltest.
gord-fig [Tue, 17 Sep 2002 21:11:18 +0000 (21:11 +0000)]
Clean up runtests for inclusion in ltest.

21 years agoTodo comment.
adilger [Tue, 17 Sep 2002 20:19:12 +0000 (20:19 +0000)]
Todo comment.

21 years agoLook for compat flag in GS_OPTIONS.
gord-fig [Tue, 17 Sep 2002 20:11:35 +0000 (20:11 +0000)]
Look for compat flag in GS_OPTIONS.

21 years ago* now current with lmc and lconf
rread [Tue, 17 Sep 2002 19:19:39 +0000 (19:19 +0000)]
* now current with lmc and lconf

21 years agob=596503
pschwan [Tue, 17 Sep 2002 19:00:13 +0000 (19:00 +0000)]
b=596503
b=608680
Reenable bits of dentry caching by doing lock matching for LOOKUP intents in
ll_revalidate2.

21 years agoRemove the locking warning added yesterday.
adilger [Tue, 17 Sep 2002 16:43:01 +0000 (16:43 +0000)]
Remove the locking warning added yesterday.

I now see that this was fixed by the "re-get file attributes after we
get the file lock" change, which seemed sort of overkill at the time...

21 years agoUse make distdir to generate a pristine source tree because we need to keep around...
gord-fig [Tue, 17 Sep 2002 16:23:44 +0000 (16:23 +0000)]
Use make distdir to generate a pristine source tree because we need to keep around some files that are clobbered by distclean.

21 years agoAppease tex2pdf.
gord-fig [Tue, 17 Sep 2002 15:24:57 +0000 (15:24 +0000)]
Appease tex2pdf.

21 years agoShould only happen with lctl, but just to be safe...
adilger [Mon, 16 Sep 2002 23:17:29 +0000 (23:17 +0000)]
Should only happen with lctl, but just to be safe...

21 years agoReplace all of the "char[37]" uses with obd_uuid_t.
adilger [Mon, 16 Sep 2002 23:10:40 +0000 (23:10 +0000)]
Replace all of the "char[37]" uses with obd_uuid_t.

21 years agoPrevent false "leak" because of OBD memory accounting.
adilger [Mon, 16 Sep 2002 22:58:58 +0000 (22:58 +0000)]
Prevent false "leak" because of OBD memory accounting.

21 years agoRemove the extra magic from mds_extN.c for now (we will get it back soon).
adilger [Mon, 16 Sep 2002 22:52:30 +0000 (22:52 +0000)]
Remove the extra magic from mds_extN.c for now (we will get it back soon).

21 years agoPut checks for LOV magic into LOV code, what a good idea.
adilger [Mon, 16 Sep 2002 22:46:35 +0000 (22:46 +0000)]
Put checks for LOV magic into LOV code, what a good idea.

21 years agoDon't look at the EA magic in the filesystem, but use the FLEASIZE flag.
adilger [Mon, 16 Sep 2002 22:42:09 +0000 (22:42 +0000)]
Don't look at the EA magic in the filesystem, but use the FLEASIZE flag.

21 years agoTODO message.
adilger [Mon, 16 Sep 2002 22:40:50 +0000 (22:40 +0000)]
TODO message.

21 years agoRemove setup code from runregression-net.sh and runregression-brw.sh.
adilger [Mon, 16 Sep 2002 22:37:25 +0000 (22:37 +0000)]
Remove setup code from runregression-net.sh and runregression-brw.sh.
You need to set up lustre before running these scripts now.

21 years ago- a fix for Gary's directory read-back bug. You can now create lots
braam [Mon, 16 Sep 2002 22:33:16 +0000 (22:33 +0000)]
- a fix for Gary's directory read-back bug.  You can now create lots
  of files and ls shows them. Fixes include updating the directory
  size during readdir by passing back the size in the readdir call.
  Every directory has at least one page, so this works.

21 years ago- a fix for single node rm `pwd` problems. The distributed case is
braam [Mon, 16 Sep 2002 21:27:49 +0000 (21:27 +0000)]
- a fix for single node rm `pwd` problems.  The distributed case is
  more involved and we'll have to see about that.

21 years ago* print a message when a duplicate mds or lov name is used
rread [Mon, 16 Sep 2002 19:35:31 +0000 (19:35 +0000)]
* print a message when a duplicate mds or lov name is used

21 years agoFix help message for --threads.
adilger [Mon, 16 Sep 2002 18:51:18 +0000 (18:51 +0000)]
Fix help message for --threads.

21 years agoAllow OBD UUID to be specified explicitly for BA OSTs.
adilger [Mon, 16 Sep 2002 18:50:37 +0000 (18:50 +0000)]
Allow OBD UUID to be specified explicitly for BA OSTs.

21 years agob=609205
pschwan [Mon, 16 Sep 2002 18:19:20 +0000 (18:19 +0000)]
b=609205
Reenable the throwing away of data locks on file close.  This may or may not
be enough to fix 609205, depending on whether that bug is purely related to
running out of memory.

21 years ago- add resource and lock counters to the namespace
pschwan [Mon, 16 Sep 2002 18:13:03 +0000 (18:13 +0000)]
- add resource and lock counters to the namespace
- add them to the namespace proc directories (which are, tragically, in the
  top level of the /proc tree until lprocfs gets sorted out)
- fix a dangling resource refcount bug in ldlm_cli_cancel_unused

21 years ago* add --obduuid <uuid> option so the OBD UUID can be specified
rread [Mon, 16 Sep 2002 17:59:49 +0000 (17:59 +0000)]
* add --obduuid <uuid> option so the OBD UUID can be specified
when create an ost.  For example:

lmc  --node localhost --lov lov1 --obduuid 'REAL_UUID' --ost bluearc

21 years agominor edits to the patch to work with the Red Hat 2.4.18-12.5 kernel.
braam [Mon, 16 Sep 2002 17:29:01 +0000 (17:29 +0000)]
minor edits to the patch to work with the Red Hat 2.4.18-12.5 kernel.

21 years agoTake a LOV default stripe count of "0" to mean striping across all OSTs.
adilger [Mon, 16 Sep 2002 06:18:21 +0000 (06:18 +0000)]
Take a LOV default stripe count of "0" to mean striping across all OSTs.

21 years ago- don't forget to pass data and data_len on to the local enqueue
braam [Sat, 14 Sep 2002 07:02:20 +0000 (07:02 +0000)]
- don't forget to pass data and data_len on to the local enqueue
  functions.
- do directory truncations when the clients don't modify directory
  data and change the dcache.

21 years agoMade correction to mdc_statfs prototype and a change to mdc_open API.
radhikav [Sat, 14 Sep 2002 05:53:57 +0000 (05:53 +0000)]
Made correction to mdc_statfs prototype and a change to mdc_open API.

21 years ago* ensure mds name used for mtpt is really an mds
rread [Fri, 13 Sep 2002 00:20:13 +0000 (00:20 +0000)]
* ensure mds name used for mtpt is really an mds
* standardize lookup error messages

21 years agoMinor fix for getting the EA size.
adilger [Thu, 12 Sep 2002 22:33:05 +0000 (22:33 +0000)]
Minor fix for getting the EA size.

21 years agob=597333
pschwan [Thu, 12 Sep 2002 17:47:29 +0000 (17:47 +0000)]
b=597333
Remove unused ELDLM_RESOURCE_FREED

21 years agoAllos statfs to return values larger than 16TB.
adilger [Thu, 12 Sep 2002 15:39:20 +0000 (15:39 +0000)]
Allos statfs to return values larger than 16TB.

21 years agoThis should fix the LOV problem. All is well.
adilger [Thu, 12 Sep 2002 13:33:57 +0000 (13:33 +0000)]
This should fix the LOV problem.  All is well.

21 years agoFix lov stripe offset calculations.
adilger [Thu, 12 Sep 2002 12:13:59 +0000 (12:13 +0000)]
Fix lov stripe offset calculations.

21 years agoSet lsm_magic to LOV_MAGIC.
adilger [Thu, 12 Sep 2002 09:48:07 +0000 (09:48 +0000)]
Set lsm_magic to LOV_MAGIC.
Fix stripe OST allocation policy slightly.

21 years agoAllow the default stripe_count to be specified in the XML config, and also
adilger [Thu, 12 Sep 2002 09:24:32 +0000 (09:24 +0000)]
Allow the default stripe_count to be specified in the XML config, and also
read this value instead of the "stripe_offset" for which we have no use.

Set an objid for lctl create, so we get one step closer to support of
test_brw for LOV devices.

21 years agoMake sure we remove extN_fs.h when building new.
adilger [Thu, 12 Sep 2002 09:02:10 +0000 (09:02 +0000)]
Make sure we remove extN_fs.h when building new.

21 years agoFix minor printf breakage introduced today.
adilger [Thu, 12 Sep 2002 09:01:27 +0000 (09:01 +0000)]
Fix minor printf breakage introduced today.

21 years agoUpdate the README to describe the usage of the XML configuration files.
adilger [Thu, 12 Sep 2002 07:32:54 +0000 (07:32 +0000)]
Update the README to describe the usage of the XML configuration files.
Also update runtests to do setup and cleanup with an XML file as a parameter.
Allow the llecho.sh script to build a config that will run on two separate
hosts if desired.

21 years agoMake runtests take an XML config file as a parameter.
adilger [Thu, 12 Sep 2002 06:54:45 +0000 (06:54 +0000)]
Make runtests take an XML config file as a parameter.

21 years agoPut the HOWTO back in the book.
braam [Thu, 12 Sep 2002 06:03:46 +0000 (06:03 +0000)]
Put the HOWTO back in the book.

21 years agoAdd a bit of debugging for LOV sub-object allocation, so we can track it
adilger [Thu, 12 Sep 2002 05:23:02 +0000 (05:23 +0000)]
Add a bit of debugging for LOV sub-object allocation, so we can track it
more easily.

21 years agoFix minor braino.
adilger [Thu, 12 Sep 2002 05:08:40 +0000 (05:08 +0000)]
Fix minor braino.

21 years agoAdd definition for O_DIRECT since it is not in the headers yet.
adilger [Thu, 12 Sep 2002 04:24:17 +0000 (04:24 +0000)]
Add definition for O_DIRECT since it is not in the headers yet.

21 years agoAdd O_LARGEFILE and O_DIRECT to openclose test so we can eventually stress
adilger [Thu, 12 Sep 2002 04:05:52 +0000 (04:05 +0000)]
Add O_LARGEFILE and O_DIRECT to openclose test so we can eventually stress
test the kernel for O_DIRECT again.

21 years agoLarge commit which implements more "intelligent" offsets for stripe
adilger [Thu, 12 Sep 2002 00:47:45 +0000 (00:47 +0000)]
Large commit which implements more "intelligent" offsets for stripe
creation in the LOV.  Most of it is just variable renaming.

Needs some testing.

21 years agoprint message if a server is not found, instead of failing with stack trace.
rread [Thu, 12 Sep 2002 00:42:13 +0000 (00:42 +0000)]
print message if a server is not found, instead of failing with stack trace.

21 years agoTODOs for proper LOV test_brw operations (not implemented yet).
adilger [Wed, 11 Sep 2002 22:47:20 +0000 (22:47 +0000)]
TODOs for proper LOV test_brw operations (not implemented yet).

21 years agoAllow the start offset for test_brw be based on the thread number. This
adilger [Wed, 11 Sep 2002 22:21:14 +0000 (22:21 +0000)]
Allow the start offset for test_brw be based on the thread number.  This
allows the threads to be writing to different parts of the file (instead
of all overwriting the same part of the file), to better simulate a real
client load.

Make thread "offsets" start at zero for objids and file offsets (we need
to keep the actual thread numbers > 0, because thread 0 is the master).

Make be_verbose 64-bit clean, and also handle very large counts.

Validate LOV default stripe count <= OST count.

21 years agoUse OBD_PUNCH_EOF constant instead of lots of f's.
adilger [Wed, 11 Sep 2002 22:08:40 +0000 (22:08 +0000)]
Use OBD_PUNCH_EOF constant instead of lots of f's.

21 years agoMove definition of LP[DUX]64 to lustre_lib.h so we can use it in obd.c
adilger [Wed, 11 Sep 2002 22:06:51 +0000 (22:06 +0000)]
Move definition of LP[DUX]64 to lustre_lib.h so we can use it in obd.c

21 years agoRework the code that Phil spent so much time fixing to be much simpler,
adilger [Wed, 11 Sep 2002 22:01:27 +0000 (22:01 +0000)]
Rework the code that Phil spent so much time fixing to be much simpler,
much easier to see correctness, and nano-faster also.

21 years agob=600245
pschwan [Wed, 11 Sep 2002 18:22:57 +0000 (18:22 +0000)]
b=600245
Fixes this bug by remember that sizeof() returns the size in bytes, not bits.

21 years agoUse sizeof(var) instead of sizeof(type).
adilger [Wed, 11 Sep 2002 17:41:01 +0000 (17:41 +0000)]
Use sizeof(var) instead of sizeof(type).

21 years agoAdd a define for the "punch to EOF = truncate" constant.
adilger [Wed, 11 Sep 2002 17:07:58 +0000 (17:07 +0000)]
Add a define for the "punch to EOF = truncate" constant.

21 years agob=600245
pschwan [Wed, 11 Sep 2002 16:11:09 +0000 (16:11 +0000)]
b=600245
This probably won't fix 600245, but it is related, and would have bitten us
once we grew to more than 32 clients with an ia32 MDS.

21 years agoAdd 0x prefix to hex numbers.
adilger [Wed, 11 Sep 2002 05:17:04 +0000 (05:17 +0000)]
Add 0x prefix to hex numbers.

21 years ago* support 'ethX:*' style wildcard for tcp clients
rread [Wed, 11 Sep 2002 00:50:40 +0000 (00:50 +0000)]
* support 'ethX:*' style wildcard for tcp clients
* grab output of acceptor so errors can be displayed

21 years agodisconnect first, then del_uuid
rread [Tue, 10 Sep 2002 17:36:36 +0000 (17:36 +0000)]
disconnect first, then del_uuid

21 years ago* also del_uuid when deleting routes
rread [Tue, 10 Sep 2002 07:31:41 +0000 (07:31 +0000)]
* also del_uuid when deleting routes

21 years agonew --batch <file> option
rread [Tue, 10 Sep 2002 06:34:55 +0000 (06:34 +0000)]
new  --batch <file>  option
File contains a series of lmc command lines.  All commands are run and
then xml file is saved.

21 years agoUpdate changelog for release 0_5_7
adilger [Mon, 9 Sep 2002 19:09:07 +0000 (19:09 +0000)]
Update changelog for release 0_5_7

21 years ago- osc_create was setting lmd_stripe_count to 1 instead of 0
pschwan [Mon, 9 Sep 2002 18:00:50 +0000 (18:00 +0000)]
- osc_create was setting lmd_stripe_count to 1 instead of 0
- ll_read_inode2 was requiring lmd_stripe_count to be non-zero; instead, we now
  check the magic number in ll_lookup2 before calling iget

21 years ago- change field names for clarity.
braam [Mon, 9 Sep 2002 16:01:17 +0000 (16:01 +0000)]
- change field names for clarity.

21 years agoClarify that ll_brw() gets lustre flags and not the kernel rw flags.
adilger [Mon, 9 Sep 2002 15:19:11 +0000 (15:19 +0000)]
Clarify that ll_brw() gets lustre flags and not the kernel rw flags.

21 years agoIf the 'nolocks' mount option is set, avoid taking or releasing OST locks.
pschwan [Mon, 9 Sep 2002 01:47:05 +0000 (01:47 +0000)]
If the 'nolocks' mount option is set, avoid taking or releasing OST locks.
This is hopefully a suitable workaround for 606116

21 years ago- defiition of the flag and value
braam [Mon, 9 Sep 2002 01:29:24 +0000 (01:29 +0000)]
- defiition of the flag and value

21 years ago- add nolocks mount option osc=foo,mdc=bar,nolocks
braam [Mon, 9 Sep 2002 01:28:40 +0000 (01:28 +0000)]
- add nolocks mount option osc=foo,mdc=bar,nolocks

21 years agob=606116
pschwan [Mon, 9 Sep 2002 00:52:32 +0000 (00:52 +0000)]
b=606116
Add a check for req->rq_export in ldlm_callback_handler, to immediately return
an error instead of later triggering the 'conn' assertion in ptl_send_buf

21 years agoDrop the spinlock before returning if the export already has a connection.
adilger [Sun, 8 Sep 2002 22:28:43 +0000 (22:28 +0000)]
Drop the spinlock before returning if the export already has a connection.

I'm still not sure I agree that this is an error, but be that as it may,
I leave it for Mike & Peter to work out.

21 years ago- We don't use pga[i].pg->index, so don't overwrite it, since that seems pretty
pschwan [Sun, 8 Sep 2002 20:05:16 +0000 (20:05 +0000)]
- We don't use pga[i].pg->index, so don't overwrite it, since that seems pretty
  dangerous
- obd_dev's definition is already in a common header file, it doesn't need to be
  in each module
- add an assertion that will perhaps catch the callback bug
- fix PTL_RPC_MSG_ERR reporting, which I don't think has ever worked properly

21 years agodon't crash an MDS if a client send a reconnect.
braam [Sun, 8 Sep 2002 20:01:41 +0000 (20:01 +0000)]
don't crash an MDS if a client send a reconnect.

21 years agoDon't oops if there is no recovd for a connection. Mike needs to confirm if
adilger [Sun, 8 Sep 2002 19:39:30 +0000 (19:39 +0000)]
Don't oops if there is no recovd for a connection.  Mike needs to confirm if
that is wrong (to not have a recovd), or if this fix is correct.

21 years agoAllow an objid to be specified on the CLI (via OID=<foo>) to allow multiple
adilger [Sun, 8 Sep 2002 19:36:50 +0000 (19:36 +0000)]
Allow an objid to be specified on the CLI (via OID=<foo>) to allow multiple
hosts to run on the same object and/or only do rewrite or read tests on an
existing object.

21 years agoAdd O_DIRECT by default again.
adilger [Sun, 8 Sep 2002 19:32:24 +0000 (19:32 +0000)]
Add O_DIRECT by default again.

21 years agoAvoid OOPS on timeout from unconnected client. (Temporary.)
shaver [Sun, 8 Sep 2002 17:21:08 +0000 (17:21 +0000)]
Avoid OOPS on timeout from unconnected client. (Temporary.)

21 years agoSample recovery reconnection script for MDS failover.
shaver [Sun, 8 Sep 2002 17:19:00 +0000 (17:19 +0000)]
Sample recovery reconnection script for MDS failover.

21 years agoShow page vector size (useful for very long running tests).
adilger [Sun, 8 Sep 2002 16:48:22 +0000 (16:48 +0000)]
Show page vector size (useful for very long running tests).

21 years agoInitialize spinlock for obdecho creates.
adilger [Sun, 8 Sep 2002 09:56:57 +0000 (09:56 +0000)]
Initialize spinlock for obdecho creates.

21 years agoDisable the lprocfs deregistration, now that I've disabled the registration.
adilger [Sun, 8 Sep 2002 09:10:03 +0000 (09:10 +0000)]
Disable the lprocfs deregistration, now that I've disabled the registration.

21 years agoDisable the procfs setup stuff, because it is having grief with obdecho.
adilger [Sun, 8 Sep 2002 09:00:53 +0000 (09:00 +0000)]
Disable the procfs setup stuff, because it is having grief with obdecho.

21 years agoAdd obdecho so I don't get a complaint from the proc stuff.
adilger [Sun, 8 Sep 2002 08:55:20 +0000 (08:55 +0000)]
Add obdecho so I don't get a complaint from the proc stuff.

21 years agoUpdate scripts to not do vector reads on BA OSTs.
adilger [Sun, 8 Sep 2002 08:51:34 +0000 (08:51 +0000)]
Update scripts to not do vector reads on BA OSTs.
Do some quickie tests in -brw so we know things are at least close to good.

21 years agoLike runregression-net.sh, but only bulk I/O, and lots of it. It does
adilger [Sun, 8 Sep 2002 08:24:57 +0000 (08:24 +0000)]
Like runregression-net.sh, but only bulk I/O, and lots of it.  It does
reads immediately following the write tests, to catch errors early.
Uses 64GB of space on a real OST.

21 years agoFix case where only the OSTNODE is set (test_brw).
adilger [Sun, 8 Sep 2002 08:07:16 +0000 (08:07 +0000)]
Fix case where only the OSTNODE is set (test_brw).

21 years agoAdd echo_open() and echo_close() to keep test_brw happy.
adilger [Sun, 8 Sep 2002 07:59:39 +0000 (07:59 +0000)]
Add echo_open() and echo_close() to keep test_brw happy.

21 years agoFix 32-bit truncation of test_brw offset calculation.
adilger [Sun, 8 Sep 2002 01:28:52 +0000 (01:28 +0000)]
Fix 32-bit truncation of test_brw offset calculation.

21 years agoUpdated test_brw user program. Checks args better, uses a long long for
adilger [Sun, 8 Sep 2002 01:18:08 +0000 (01:18 +0000)]
Updated test_brw user program.  Checks args better, uses a long long for
the iteration count, handles default args properly.

21 years agoAllow test_brw to run in either read-only, write-only, or read-write mode,
adilger [Sun, 8 Sep 2002 00:00:33 +0000 (00:00 +0000)]
Allow test_brw to run in either read-only, write-only, or read-write mode,
with or without O_DIRECT.  The read-only mode allows us to offline verify
a file that was created from lctl test_brw write independent of Lustre.

21 years ago- Add hooks for post-replay fixup on ptlrpc_request.
shaver [Sat, 7 Sep 2002 21:19:48 +0000 (21:19 +0000)]
- Add hooks for post-replay fixup on ptlrpc_request.
- Use those hooks to update fh data in client filehandles when replaying
  open.

Recovery can now failover to a standby/rebooted MDS and complete a
file write, attr-update and close successfully.  HAND.