Whamcloud - gitweb
fs/lustre-release.git
21 years agomerge b_md onto HEAD. as best as I can remember:
pschwan [Mon, 25 Nov 2002 09:17:17 +0000 (09:17 +0000)]
merge b_md onto HEAD.  as best as I can remember:
- fix dentry->d_it clobbering
- credentials weren't being shipped for readdir/getattr operations
- remove invalid assertions triggered during some concurrent MD updates
- many, many updates to llanalyse

21 years agoDon't dump bogus locks, we can deref null pointers therein.
adilger [Sun, 24 Nov 2002 19:45:00 +0000 (19:45 +0000)]
Don't dump bogus locks, we can deref null pointers therein.

21 years agoInclude the portal request/reply number so we know the source of the bad
adilger [Sun, 24 Nov 2002 18:26:58 +0000 (18:26 +0000)]
Include the portal request/reply number so we know the source of the bad
export data.

21 years agoupdate
adilger [Sat, 23 Nov 2002 02:24:12 +0000 (02:24 +0000)]
update

21 years agoFix the many client simultaneous startup bug (b=392).
adilger [Sat, 23 Nov 2002 02:23:10 +0000 (02:23 +0000)]
Fix the many client simultaneous startup bug (b=392).

We just ignore exports with NULL mcd, since they are just being set up.
The clients have a semaphore to prevent multiple setups there.  We could
alternately have a semaphore on the MDS instead of the current spinlock.

21 years agoPrint more information when we get a callback with a bogus export.
pschwan [Fri, 22 Nov 2002 12:37:06 +0000 (12:37 +0000)]
Print more information when we get a callback with a bogus export.
Also, try to see if we can proceed--maybe the rest of the packet is OK.

21 years agouse correct name for toenal_ni
rread [Fri, 22 Nov 2002 01:33:01 +0000 (01:33 +0000)]
use correct name for toenal_ni

21 years ago* add cleanup code for toenal
rread [Fri, 22 Nov 2002 00:36:06 +0000 (00:36 +0000)]
* add cleanup code for toenal

21 years agoChange over to new echo client like runregression-net.sh
adilger [Thu, 21 Nov 2002 18:05:17 +0000 (18:05 +0000)]
Change over to new echo client like runregression-net.sh

21 years agofile version_tag.pl was initially added on branch b_phil.
amrutjoshi [Thu, 21 Nov 2002 10:57:26 +0000 (10:57 +0000)]
file version_tag.pl was initially added on branch b_phil.

21 years agoRemove generated file.
adilger [Thu, 21 Nov 2002 08:06:48 +0000 (08:06 +0000)]
Remove generated file.

21 years agoRemove bogus LBUG and error return code. This was triggered by a non-root
adilger [Thu, 21 Nov 2002 07:18:56 +0000 (07:18 +0000)]
Remove bogus LBUG and error return code.  This was triggered by a non-root
user trying to create a file and getting -EACCES from lookup_one_len().

21 years agoteach runregression-net.sh about echo_client
rread [Thu, 21 Nov 2002 00:34:39 +0000 (00:34 +0000)]
teach runregression-net.sh about echo_client

21 years agoOmission in checkin.
adilger [Wed, 20 Nov 2002 23:27:23 +0000 (23:27 +0000)]
Omission in checkin.

21 years agoFix bad awk in mcr-routed-config.sh, which grabbed every OST UUID instead
adilger [Wed, 20 Nov 2002 22:57:51 +0000 (22:57 +0000)]
Fix bad awk in mcr-routed-config.sh, which grabbed every OST UUID instead
of just the one we wanted.

21 years agoRemove PORT specification, so we get the (correct) default if it changes
adilger [Wed, 20 Nov 2002 22:56:08 +0000 (22:56 +0000)]
Remove PORT specification, so we get the (correct) default if it changes
(and people haven't copied the fixed port number to dozens of configs
like I did.

21 years agoSadly, CVS doesn't handle adding/removing/moving files very well from
adilger [Wed, 20 Nov 2002 20:33:57 +0000 (20:33 +0000)]
Sadly, CVS doesn't handle adding/removing/moving files very well from
branch merges.

21 years agofile ha_assist2 was initially added on branch b_ravi_devel.
sravi [Tue, 19 Nov 2002 18:58:05 +0000 (18:58 +0000)]
file ha_assist2 was initially added on branch b_ravi_devel.

21 years agofile lutils.py was initially added on branch b_ravi_devel.
sravi [Tue, 19 Nov 2002 18:48:38 +0000 (18:48 +0000)]
file lutils.py was initially added on branch b_ravi_devel.

21 years agob=191
pschwan [Mon, 18 Nov 2002 05:28:30 +0000 (05:28 +0000)]
b=191
b=214
b=306
b=385
landing b_brw, which _includes_ all fixes from b_lov.

Roughly, this fixes bugs in 3 general areas:

- OSC was locking one byte too many; fixed.

- several LOV bug fixes, to support adding LOVs and striping over fewer
  than the maximum number

- the brw code was rewritten

See the bugs listed above for more details.  This will be immediately
tagged as 0.5.17.

21 years agofile echo_client.c was initially added on branch b_brw.
pschwan [Sun, 17 Nov 2002 04:50:12 +0000 (04:50 +0000)]
file echo_client.c was initially added on branch b_brw.

21 years agoDon't dereference last_xid and last_committed in a request we just freed.
adilger [Sat, 16 Nov 2002 08:27:40 +0000 (08:27 +0000)]
Don't dereference last_xid and last_committed in a request we just freed.

21 years agoRevert buffalization of acceptance-small.sh in HEAD, that lives in ltest.
adilger [Fri, 15 Nov 2002 20:48:54 +0000 (20:48 +0000)]
Revert buffalization of acceptance-small.sh in HEAD, that lives in ltest.

21 years agoModified to report to buffalo (Buffalized)
alokbhagwat [Fri, 15 Nov 2002 15:40:02 +0000 (15:40 +0000)]
Modified to report to buffalo (Buffalized)

21 years agoDecrement the LOV module use count on connect errors.
adilger [Thu, 14 Nov 2002 23:32:53 +0000 (23:32 +0000)]
Decrement the LOV module use count on connect errors.

21 years agoBug Fix for Bug #369
thantry [Thu, 14 Nov 2002 19:30:23 +0000 (19:30 +0000)]
Bug Fix for Bug #369

21 years agoUpdate acceptance-small.sh from b_lov branch. Allows fully specifying
adilger [Thu, 14 Nov 2002 06:34:46 +0000 (06:34 +0000)]
Update acceptance-small.sh from b_lov branch.  Allows fully specifying
LOV/non-lov configs and/or not running one of those configs, and which of
runtests, sanity, bonnie, dbench NOT to run (by default everything is run).

It could probably just be set up to take a list of configs as command-line
arguments to test instead.  We currently ignore the entire issue of mutli-
client setup.

21 years agorcsid/revision tags make phil weep tears of blood. also, they cause lots
pschwan [Thu, 14 Nov 2002 00:22:15 +0000 (00:22 +0000)]
rcsid/revision tags make phil weep tears of blood.  also, they cause lots
of conflicts.

21 years agoAllow the iozone record size to be specified.
adilger [Wed, 13 Nov 2002 22:27:36 +0000 (22:27 +0000)]
Allow the iozone record size to be specified.

21 years agoAdd bonnie to the mix, and allow not running parts of the test (this should
adilger [Wed, 13 Nov 2002 22:12:43 +0000 (22:12 +0000)]
Add bonnie to the mix, and allow not running parts of the test (this should
automatically detect whether bonnie and dbench are installed and complain
verbosely if not.

21 years agoAdd a start on the bare-bones acceptance test for CVS HEAD merges, which
adilger [Wed, 13 Nov 2002 21:54:48 +0000 (21:54 +0000)]
Add a start on the bare-bones acceptance test for CVS HEAD merges, which
I'm now running against the HEAD to see that it actually passes.

21 years ago- Updated changelog
pschwan [Wed, 13 Nov 2002 19:31:42 +0000 (19:31 +0000)]
- Updated changelog
- Better errors when the LDLM service can't be started
- Remove unnecessary flag from OSC lock cancellation in clear_inode
- If lov_enqueue fails to allocate a lock, zero the handle, so that we don't
  try to decref a bad handle (and LBUG) later

21 years agoComment out variable only used in commented-out code.
adilger [Wed, 13 Nov 2002 19:26:27 +0000 (19:26 +0000)]
Comment out variable only used in commented-out code.
Whitespace.

21 years agoAdd some extra comments and sample configs.
adilger [Wed, 13 Nov 2002 18:13:00 +0000 (18:13 +0000)]
Add some extra comments and sample configs.

21 years agoChange configs to use port 988 instead of 2432.
adilger [Wed, 13 Nov 2002 18:10:44 +0000 (18:10 +0000)]
Change configs to use port 988 instead of 2432.

21 years ago Bug #357, no more gratituous new line..., or typecasting
thantry [Wed, 13 Nov 2002 04:45:22 +0000 (04:45 +0000)]
 Bug #357, no more gratituous new line..., or typecasting

21 years agoName changes to make all file system statistics names common
thantry [Wed, 13 Nov 2002 04:05:47 +0000 (04:05 +0000)]
Name changes to make all file system statistics names common
across the /proc/lustre hierarchy. See comment in Bug #320

21 years agoBug #364: Approver - Robert Reed: Update lustre init script to use lconf.
donmilos [Wed, 13 Nov 2002 03:39:48 +0000 (03:39 +0000)]
Bug #364: Approver - Robert Reed: Update lustre init script to use lconf.

21 years ago1. Bug fix for Bug #320, also needs repair of lconf, since it tries
thantry [Wed, 13 Nov 2002 02:46:41 +0000 (02:46 +0000)]
1. Bug fix for Bug #320, also needs repair of lconf, since it tries
   to insert two devices with the same ID in a router configuration.
2. Added LDLM counters into /proc/lustre hierarchy
3. Fixes for Andreas's comments in Bug #357.
4. Bug #332 fixed, num_devices replaced with num_refs
5. Removed file proc_lustre.c, which was dead code.

21 years agofile lstripe.c was initially added on branch b_lov.
adilger [Tue, 12 Nov 2002 18:50:41 +0000 (18:50 +0000)]
file lstripe.c was initially added on branch b_lov.

21 years agofile lov_pack.c was initially added on branch b_lov.
adilger [Tue, 12 Nov 2002 18:50:27 +0000 (18:50 +0000)]
file lov_pack.c was initially added on branch b_lov.

21 years agoThis file is not being used. Hence, removed.
thantry [Tue, 12 Nov 2002 18:23:57 +0000 (18:23 +0000)]
This file is not being used. Hence, removed.

21 years agoThis file is not being used at all. It is not on the compile path either
thantry [Tue, 12 Nov 2002 18:23:11 +0000 (18:23 +0000)]
This file is not being used at all. It is not on the compile path either
Hence, removed.

21 years agoback out vmalloc changes; there's not enough vmalloc space on MCR for the
pschwan [Tue, 12 Nov 2002 02:13:34 +0000 (02:13 +0000)]
back out vmalloc changes; there's not enough vmalloc space on MCR for the
buffers that we require at startup, if you can believe that

21 years ago- apply andreas's patch to remove u16
pschwan [Tue, 12 Nov 2002 00:13:38 +0000 (00:13 +0000)]
- apply andreas's patch to remove u16
- fix subtle rename() dentry bug

21 years agoComment.
adilger [Tue, 12 Nov 2002 00:05:15 +0000 (00:05 +0000)]
Comment.

21 years agoWrap long lines.
adilger [Tue, 12 Nov 2002 00:04:37 +0000 (00:04 +0000)]
Wrap long lines.

21 years ago2.5 fixes copied from MDS 2.5 code.
adilger [Tue, 12 Nov 2002 00:01:59 +0000 (00:01 +0000)]
2.5 fixes copied from MDS 2.5 code.

21 years agoRemove lprocfs wierdness.
adilger [Tue, 12 Nov 2002 00:01:11 +0000 (00:01 +0000)]
Remove lprocfs wierdness.

21 years agoCommon kernel bug (lots of it in InterMezzo too, AFAIK) - copy_to_user()
adilger [Mon, 11 Nov 2002 23:59:48 +0000 (23:59 +0000)]
Common kernel bug (lots of it in InterMezzo too, AFAIK) - copy_to_user()
returns number of bytes uncopied and not an error code.

21 years agoFixes to the lock LRU
pschwan [Mon, 11 Nov 2002 19:00:40 +0000 (19:00 +0000)]
Fixes to the lock LRU

21 years agoUpdate the file size _before_ taking the read lock, or you will deadlock in
pschwan [Mon, 11 Nov 2002 18:58:58 +0000 (18:58 +0000)]
Update the file size _before_ taking the read lock, or you will deadlock in
some contrived cases.

21 years ago- llanalyze first bugfixes -- use hex when needed!
braam [Sun, 10 Nov 2002 22:10:25 +0000 (22:10 +0000)]
- llanalyze  first bugfixes -- use hex when needed!

21 years ago- nodlm option to llanalyze
braam [Sun, 10 Nov 2002 21:51:19 +0000 (21:51 +0000)]
- nodlm option to llanalyze

21 years ago- a log analyzer to help us work with the Lustre logs even more easily
braam [Sun, 10 Nov 2002 21:47:38 +0000 (21:47 +0000)]
- a log analyzer to help us work with the Lustre logs even more easily
  So far:
   - indentation with spaces for call stack depth
   - select pid
   - --trace (only the call trace)
   - --nonet (leave out networking message)
Written in Perl, very easy to add more features.

21 years agoThe test for a freeing inode was reversed, oops. We want to skip inodes
adilger [Sun, 10 Nov 2002 21:02:35 +0000 (21:02 +0000)]
The test for a freeing inode was reversed, oops.  We want to skip inodes
that are marked I_FREEING.

21 years ago- change the OST / MDT thread names to also include the host pid
braam [Sun, 10 Nov 2002 08:34:42 +0000 (08:34 +0000)]
- change the OST / MDT thread names to also include the host pid
  in case of UML to aid debugging.

21 years agouse vmalloc for OBD_ALLOCs above 16k, like we do in Portals
pschwan [Sat, 9 Nov 2002 20:39:12 +0000 (20:39 +0000)]
use vmalloc for OBD_ALLOCs above 16k, like we do in Portals

21 years agothe first try at lock LRU
pschwan [Sat, 9 Nov 2002 19:40:59 +0000 (19:40 +0000)]
the first try at lock LRU

21 years agoBuild an XML config for connecting to a BA OST for echo testing.
adilger [Fri, 8 Nov 2002 22:10:27 +0000 (22:10 +0000)]
Build an XML config for connecting to a BA OST for echo testing.

21 years agoMinor code cleanups - mostly whitespace.
adilger [Fri, 8 Nov 2002 20:59:56 +0000 (20:59 +0000)]
Minor code cleanups - mostly whitespace.

21 years agoFix minor compiler warning.
adilger [Fri, 8 Nov 2002 20:58:45 +0000 (20:58 +0000)]
Fix minor compiler warning.

21 years agoAdd assertion to LL_GET_INTENT(), because we aren't very non-intent friendly
adilger [Fri, 8 Nov 2002 20:02:18 +0000 (20:02 +0000)]
Add assertion to LL_GET_INTENT(), because we aren't very non-intent friendly
right now.

21 years agoupdate file size in ll_file_read, lest the VFS decide not to call us
pschwan [Fri, 8 Nov 2002 19:33:59 +0000 (19:33 +0000)]
update file size in ll_file_read, lest the VFS decide not to call us

21 years agoFix for many-clients-and-server-on-same-node deadlock. One server task
adilger [Fri, 8 Nov 2002 19:02:41 +0000 (19:02 +0000)]
Fix for many-clients-and-server-on-same-node deadlock.  One server task
can go "in the hole" for at most one maximum-sized request, to avoid
deadlocking when the clients have consumed all of the kmapping reservations.

The server can then complete the request and both the server and client will
release their reservations, allowing further progress to be made.

21 years agoSome additional changes for kmem accounting that I missed.
adilger [Fri, 8 Nov 2002 18:29:13 +0000 (18:29 +0000)]
Some additional changes for kmem accounting that I missed.

21 years agoHighmem deadlock avoidance (server version):
adilger [Fri, 8 Nov 2002 18:25:53 +0000 (18:25 +0000)]
Highmem deadlock avoidance (server version):
- reserve highmem pages before we start doing kmaps to avoid deadlocks
  with multiple threads reserving vectors of pages

21 years agoDramatically increase the randomness of MDC UUIDs
pschwan [Fri, 8 Nov 2002 02:10:58 +0000 (02:10 +0000)]
Dramatically increase the randomness of MDC UUIDs

21 years ago- add something that prints the time every 10,000 creates
braam [Fri, 8 Nov 2002 00:11:51 +0000 (00:11 +0000)]
- add something that prints the time every 10,000 creates

21 years agoUse the fs-method statfs, so we can take into account the EA space needs
adilger [Thu, 7 Nov 2002 23:54:17 +0000 (23:54 +0000)]
Use the fs-method statfs, so we can take into account the EA space needs
for extN (1 block for each inode, excluding special files).

21 years agoMake sure that we set last_xid and last_committed on replies from LDLM,
shaver [Thu, 7 Nov 2002 23:37:32 +0000 (23:37 +0000)]
Make sure that we set last_xid and last_committed on replies from LDLM,
operations, or intent-only metadata loads will result in unbounded client
memory growth.

21 years agoFix (or a workaround that will hide the real bug) for bug 322.
adilger [Thu, 7 Nov 2002 23:23:37 +0000 (23:23 +0000)]
Fix (or a workaround that will hide the real bug) for bug 322.

We are calling mdc_blocking_ast() to clean up an inode that is already
being cleaned up elsewhere.  This is the result of ldlm_cli_cancel_unused()
being called from two places at the same time:
- ll_prepare_recovery()->prepare_mdc()->ldlm_cli_cancel_unused()
- ll_clear_inode()->mdc_cancel_unused()->ldlm_cli_cancel_unused()

There is still a small race where the ll_clear_inode() RPC could have
completed and "inode" is garbage, but since we are in recovery this
is highly unlikely.

21 years agofile mkdirmany.c was initially added on branch b_symlink.
adilger [Thu, 7 Nov 2002 21:41:09 +0000 (21:41 +0000)]
file mkdirmany.c was initially added on branch b_symlink.

21 years agoFix build-breaking thinko
pschwan [Thu, 7 Nov 2002 21:26:03 +0000 (21:26 +0000)]
Fix build-breaking thinko

21 years ago- land b_symlink on HEAD
pschwan [Thu, 7 Nov 2002 21:15:07 +0000 (21:15 +0000)]
- land b_symlink on HEAD
- print peer when entering recovery, since MDC uuids are no longer descriptive

21 years agoOnly store replayable (MDC, with transno) requests on the sending_head after
shaver [Thu, 7 Nov 2002 21:03:27 +0000 (21:03 +0000)]
Only store replayable (MDC, with transno) requests on the sending_head after
they've received a reply.

21 years ago- capability fixes on head
braam [Thu, 7 Nov 2002 20:46:28 +0000 (20:46 +0000)]
- capability fixes on head
- LL_SAVE_INTENT fixes

21 years agofile createmany.c was initially added on branch b_symlink.
braam [Thu, 7 Nov 2002 18:25:19 +0000 (18:25 +0000)]
file createmany.c was initially added on branch b_symlink.

21 years ago0.5.16+ updates
pschwan [Thu, 7 Nov 2002 18:14:05 +0000 (18:14 +0000)]
0.5.16+ updates

21 years agoComment clarification.
adilger [Thu, 7 Nov 2002 09:08:26 +0000 (09:08 +0000)]
Comment clarification.

21 years agoWhitespace.
adilger [Thu, 7 Nov 2002 09:07:41 +0000 (09:07 +0000)]
Whitespace.

21 years agob=141,205,323
pschwan [Thu, 7 Nov 2002 06:22:15 +0000 (06:22 +0000)]
b=141,205,323
- When the MDS returns an intent lock to us, check to see if we already have a
  matching one.  If so, cancel the new one.
- Add a new mode to ldlm_lock_match, which allows you to pass in an existing
  lock handle.  It will look for any matches among other locks.

21 years agosmall fixups to revalidate2 lock matching
pschwan [Thu, 7 Nov 2002 04:40:21 +0000 (04:40 +0000)]
small fixups to revalidate2 lock matching

21 years ago- add another sanity test
braam [Thu, 7 Nov 2002 04:29:45 +0000 (04:29 +0000)]
- add another sanity test
- test if we have a lock already in revalidate2

21 years agob=290,311
pschwan [Thu, 7 Nov 2002 04:23:31 +0000 (04:23 +0000)]
b=290,311
- call obd_cancel_unused with the correct parameters
- only call it for regular files (those with non-NULL lli->lli_smd)

21 years agoanother shot at managing dentries
braam [Thu, 7 Nov 2002 04:03:40 +0000 (04:03 +0000)]
another shot at managing dentries

21 years agob=311
pschwan [Thu, 7 Nov 2002 03:25:43 +0000 (03:25 +0000)]
b=311
- Drop unused data locks in clear_inode
- Fix for directory and inode counts and link counts

21 years agosomehow I keep screwing this up, all over a 3-line change.
pschwan [Thu, 7 Nov 2002 00:32:27 +0000 (00:32 +0000)]
somehow I keep screwing this up, all over a 3-line change.

21 years agomerging all noncontroversial pieces of b_symlink into HEAD
pschwan [Thu, 7 Nov 2002 00:27:20 +0000 (00:27 +0000)]
merging all noncontroversial pieces of b_symlink into HEAD

21 years agomerging all noncontroversial pieces of b_symlink into HEAD
pschwan [Thu, 7 Nov 2002 00:21:23 +0000 (00:21 +0000)]
merging all noncontroversial pieces of b_symlink into HEAD

21 years agob=255
pschwan [Wed, 6 Nov 2002 23:52:07 +0000 (23:52 +0000)]
b=255
- Don't call cancel_unused until the last CLOSE for a given inode.

21 years ago- wholesale renaming of the brw associated callback variables,
rread [Wed, 6 Nov 2002 07:57:09 +0000 (07:57 +0000)]
- wholesale renaming of the brw associated callback variables,
  structures and functions.  Primarily distinguish between:
   - portals event handlers (no longer called callbacks)
   - brw callbacks

21 years ago* init script designed for MCR by Gord Eagle, and a useful example
rread [Wed, 6 Nov 2002 07:49:02 +0000 (07:49 +0000)]
* init script designed for MCR by Gord Eagle, and a useful example

21 years agoAdd kernel patch version checking
pschwan [Wed, 6 Nov 2002 07:28:35 +0000 (07:28 +0000)]
Add kernel patch version checking

21 years agofile stat.c was initially added on branch b_symlink.
braam [Wed, 6 Nov 2002 01:30:10 +0000 (01:30 +0000)]
file stat.c was initially added on branch b_symlink.

21 years ago- the root dentry should not be uhashed, it is always a valid dentry
braam [Wed, 6 Nov 2002 00:23:21 +0000 (00:23 +0000)]
- the root dentry should not be uhashed, it is always a valid dentry
- this is a fix for bug 341

21 years ago- sanity check for intent setting
braam [Tue, 5 Nov 2002 23:31:57 +0000 (23:31 +0000)]
- sanity check for intent setting

21 years agoPrudent check for NULL intent before dereferencing.
adilger [Tue, 5 Nov 2002 20:17:49 +0000 (20:17 +0000)]
Prudent check for NULL intent before dereferencing.

21 years agoMinor type fixup to match o_brw.
adilger [Tue, 5 Nov 2002 19:58:42 +0000 (19:58 +0000)]
Minor type fixup to match o_brw.

21 years ago- Replaces the LDLM lock counters (in /proc/ldlm/)
pschwan [Tue, 5 Nov 2002 19:18:19 +0000 (19:18 +0000)]
- Replaces the LDLM lock counters (in /proc/ldlm/)
- Removes the second LDLM import that Peter added, in favour of doing a
  last-minute fixup of the portal numbers in ldlm_cli_cancel