Whamcloud - gitweb
fs/lustre-release.git
21 years agoRe-add memset() of request struct, since we re-use the same struct many times.
adilger [Fri, 20 Sep 2002 08:05:06 +0000 (08:05 +0000)]
Re-add memset() of request struct, since we re-use the same struct many times.

21 years ago- Parallel recovery implementation, to match documented design.
shaver [Fri, 20 Sep 2002 00:38:00 +0000 (00:38 +0000)]
- Parallel recovery implementation, to match documented design.
- Handle failed client recovery by simply restarting recovery.  Not perfect, but
  surprisingly useful for testing.

21 years agoAdd link support to vanilla kernel patch.
adilger [Thu, 19 Sep 2002 23:19:55 +0000 (23:19 +0000)]
Add link support to vanilla kernel patch.

21 years agoSet the EASIZE valid flag in the MDS body, so the filesystem knows there
adilger [Thu, 19 Sep 2002 22:35:34 +0000 (22:35 +0000)]
Set the EASIZE valid flag in the MDS body, so the filesystem knows there
is EA data available.

21 years agoAdd a comment on why we don't return a lock for some operations.
adilger [Thu, 19 Sep 2002 22:33:19 +0000 (22:33 +0000)]
Add a comment on why we don't return a lock for some operations.

21 years agoFix comments, add declaration for simple_mknod().
adilger [Thu, 19 Sep 2002 22:32:37 +0000 (22:32 +0000)]
Fix comments, add declaration for simple_mknod().

21 years ago* add support for gmnal to ptlrpc
rread [Thu, 19 Sep 2002 22:27:27 +0000 (22:27 +0000)]
* add support for gmnal to ptlrpc

21 years ago- add hardlink support
braam [Thu, 19 Sep 2002 20:53:53 +0000 (20:53 +0000)]
- add hardlink support
- update kernel patch
- simple create method for obdfilter instead of filp open
- add mcr-* config files
- add cobd document draft 1.

21 years ago- add collaborative caching document. Radhika: one more pass and add
braam [Thu, 19 Sep 2002 20:50:26 +0000 (20:50 +0000)]
- add collaborative caching document. Radhika: one more pass and add
  pictures before we distribute.

21 years agoAdd --dump option to usage output.
adilger [Thu, 19 Sep 2002 20:12:53 +0000 (20:12 +0000)]
Add --dump option to usage output.

21 years ago- Added preventative locking in two areas, where we're walking shared lists
pschwan [Thu, 19 Sep 2002 18:28:18 +0000 (18:28 +0000)]
- Added preventative locking in two areas, where we're walking shared lists
- Fixed a subtle race condition in ldlm_local_lock_enqueue: we checked to see if
  a completion AST had been received and then acted, with no lock.  This fixes
  the assertion that I was seeing yesterday.

21 years agoadd a note for 0.5.9
braam [Thu, 19 Sep 2002 17:50:26 +0000 (17:50 +0000)]
add a note for 0.5.9

21 years agoDon't allocate so much space on the stack!!!
adilger [Thu, 19 Sep 2002 08:15:23 +0000 (08:15 +0000)]
Don't allocate so much space on the stack!!!

21 years agoAvoid allocating 'event' and 'request' on the stack (saving some 350 bytes),
pschwan [Thu, 19 Sep 2002 08:09:35 +0000 (08:09 +0000)]
Avoid allocating 'event' and 'request' on the stack (saving some 350 bytes),
because there is strong evidence that we are running out of space in some call
paths

21 years agoUpdate uml.xml as generated by a more recent lmc.
adilger [Wed, 18 Sep 2002 23:27:17 +0000 (23:27 +0000)]
Update uml.xml as generated by a more recent lmc.

21 years agoUse $TMP variable, if set, for storing temp loopback files.
adilger [Wed, 18 Sep 2002 23:25:01 +0000 (23:25 +0000)]
Use $TMP variable, if set, for storing temp loopback files.

21 years agoIgnore PtlPut error, so that we will still timeout and trigger recovery.
shaver [Wed, 18 Sep 2002 21:36:41 +0000 (21:36 +0000)]
Ignore PtlPut error, so that we will still timeout and trigger recovery.
(This case occurs when the MDS or OST drops off the elan network, for
example.)

21 years agoChange port numbers to 988, now that BA OSTs also use that port.
adilger [Wed, 18 Sep 2002 20:07:30 +0000 (20:07 +0000)]
Change port numbers to 988, now that BA OSTs also use that port.

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.