Whamcloud - gitweb
fs/lustre-release.git
22 years agomerge IA-64 patch change into b_md
pschwan [Fri, 6 Dec 2002 10:22:06 +0000 (10:22 +0000)]
merge IA-64 patch change into b_md

22 years ago- validation test for #225
braam [Thu, 5 Dec 2002 15:59:28 +0000 (15:59 +0000)]
- validation test for #225

22 years ago- fix for #399 (inode synchronization through fstat)
braam [Thu, 5 Dec 2002 15:41:19 +0000 (15:41 +0000)]
- fix for #399 (inode synchronization through fstat)
- reduce MDS/OST sizes a bit to avoid all the llmount failures
- fix up the beginning of sanity.sh with systematic checks on all
  results (which introduce other system calls...)
- fix sudo test 19 in sanity.sh to create files as other user

22 years ago- test program for inode synchronization through fstat & revalidate_inode
braam [Thu, 5 Dec 2002 14:48:21 +0000 (14:48 +0000)]
- test program for inode synchronization through fstat & revalidate_inode
- remove setuid.c (sudo will do)

22 years agoAdded PNNL ia64 kernel patch
eeb [Thu, 5 Dec 2002 14:22:14 +0000 (14:22 +0000)]
Added PNNL ia64 kernel patch

22 years ago- small but subtle changes
braam [Thu, 5 Dec 2002 09:41:46 +0000 (09:41 +0000)]
- small but subtle changes
 - kernel patch changed to deal with rename issues
 - remove old rename cruft from dcache.c
 - save second intent for RENAME and LINK not the first
- add 10 rename tests to sanity.sh
- add non root user test to sanity.sh
- add 4 tests to sanityN.sh for multimount point tests
- allow reiserfs OST's to be used.  They actually appear to work!

22 years ago- add tools and beginning of multi mount point sanity test.
braam [Thu, 5 Dec 2002 07:54:28 +0000 (07:54 +0000)]
- add tools and beginning of multi mount point sanity test.

22 years agoThis is a Lustre LDAP related utility and ment for generating the XML file from LDAP...
sravi [Wed, 4 Dec 2002 14:13:23 +0000 (14:13 +0000)]
This is a Lustre LDAP related utility and ment for generating the XML file from LDAP server and
load the XML file into LDAP server.

22 years ago- hacked up script for easy testing of two mdc two mountpoints.
braam [Tue, 26 Nov 2002 20:59:44 +0000 (20:59 +0000)]
- hacked up script for easy testing of two mdc two mountpoints.

22 years ago- symbolic link fixes related to intent smashing
braam [Mon, 25 Nov 2002 22:20:35 +0000 (22:20 +0000)]
- symbolic link fixes related to intent smashing
- fixes Kevin Harlan's symbolic link bug

22 years agoFixed time stamp bug
amrutjoshi [Sat, 23 Nov 2002 08:00:36 +0000 (08:00 +0000)]
Fixed time stamp bug

22 years agoBuild version script and patched Makefile.am, class_obd.c to display the build_version
amrutjoshi [Thu, 21 Nov 2002 10:57:29 +0000 (10:57 +0000)]
Build version script and patched Makefile.am, class_obd.c to display the build_version

22 years agoModified against Pter review comments
sravi [Wed, 20 Nov 2002 08:06:20 +0000 (08:06 +0000)]
Modified against Pter review comments

22 years agoModified against robert and peter review comments
sravi [Wed, 20 Nov 2002 08:05:21 +0000 (08:05 +0000)]
Modified against robert and peter review comments

22 years agoThis is a MDS failover script in python.It uses the LDAP server to get the failover...
sravi [Tue, 19 Nov 2002 18:58:07 +0000 (18:58 +0000)]
This is a MDS failover script in python.It uses the LDAP server to get the failover network uuid.

22 years agoThis a python library file and used by rest of lustre configuration python scripts.
sravi [Tue, 19 Nov 2002 18:48:40 +0000 (18:48 +0000)]
This a python library file and used by rest of lustre configuration python scripts.

22 years agob=306
pschwan [Sun, 17 Nov 2002 04:50:14 +0000 (04:50 +0000)]
b=306
the echo client has moved out of obdclass, and into obdecho

22 years agoExtra debugging in the MD storage path.
adilger [Fri, 15 Nov 2002 18:49:49 +0000 (18:49 +0000)]
Extra debugging in the MD storage path.
Some comments on usage of ll_lov_{set,get}stripe().
Fixes from Don Milos for LOV striping where #stripes != #OSTs

22 years agobring changes from HEAD to b_lustre_ba
pschwan [Thu, 14 Nov 2002 00:24:16 +0000 (00:24 +0000)]
bring changes from HEAD to b_lustre_ba

22 years agoRemove debugging from pack/unpack.
adilger [Tue, 12 Nov 2002 23:50:17 +0000 (23:50 +0000)]
Remove debugging from pack/unpack.

22 years agoFix a few straggling bugs in the new LOV MD packing code.
adilger [Tue, 12 Nov 2002 23:47:01 +0000 (23:47 +0000)]
Fix a few straggling bugs in the new LOV MD packing code.

22 years agoWidesweeping change to support different-sized LOV MD data (b=307,345, and
adilger [Tue, 12 Nov 2002 18:50:44 +0000 (18:50 +0000)]
Widesweeping change to support different-sized LOV MD data (b=307,345, and
partially 314).  The goal is to remove all knowledge of MD data from llite
and the MDS, and keep it solely inside OSC and LOV.  The change is not
entirely complete (for enh 314) in that we still pass "struct lov_stripe_md"
and "struct lov_mds_md" structs around, but that was mostly for sanity to
avoid getting the two screwed up during this large amount of change.

OSC passes runtests, and LOV has a _huge_ bug in it that dies after a
single file copy+cleanup, so that's why it's on a branch.

This adds two new OBD API methods (I'm not totally stuck on the names yet):
- o_packmd to alloc/pack/free data for wire transport and storage on disk
- o_unpackmd to alloc/pack/free data for in-memory and storage on disk

There are helper functions obd_{alloc,size,free}_{mem,wire}md() which call
the above two OBD API methods with the correct parameters to just allocate
or size or free an MD.  This totally isolates anything outside LOV/OSC from
knowing anything of the internals of the MD data struct, and lays the
groundwork for LOV stacking in the future.

The user-space LOV striping setup has also changed slightly to use the
"MDS/wire/disk" MD format for communication instead of the in-memory
MD format, and the lovstripe.c test, utils/lfind.c and new utils/lstripe.c
program (formerly makestripe.c from Kevin Harlan) have been updated to use
this new interface.  The lstripe.c utility allows easy creation of files
with a specific striping pattern.

22 years agoMerge HEAD into b_lustre_ba
pschwan [Tue, 12 Nov 2002 01:46:55 +0000 (01:46 +0000)]
Merge HEAD into b_lustre_ba

22 years agoThis commit was manufactured by cvs2svn to create branch 'unlabeled-1.1.2'.
cvs2svn [Sat, 9 Nov 2002 19:41:00 +0000 (19:41 +0000)]
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.1.2'.

22 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

22 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.

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

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

22 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.

22 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

22 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.

22 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.

22 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

22 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

22 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

22 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).

22 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.

22 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.

22 years agoSimple program to do lots of mkdirs quickly.
adilger [Thu, 7 Nov 2002 21:41:12 +0000 (21:41 +0000)]
Simple program to do lots of mkdirs quickly.

22 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.

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

22 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

22 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.

22 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

22 years ago- new test program to make many files fast
braam [Thu, 7 Nov 2002 18:25:21 +0000 (18:25 +0000)]
- new test program to make many files fast

22 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.

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

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

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

22 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.

22 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

22 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

22 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)

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

22 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

22 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.

22 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

22 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

22 years agoMerge changes from HEAD to b_symlink
pschwan [Thu, 7 Nov 2002 00:09:38 +0000 (00:09 +0000)]
Merge changes from HEAD to b_symlink

22 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.

22 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

22 years agoThis commit was manufactured by cvs2svn to create branch 'unlabeled-1.1.2'.
cvs2svn [Wed, 6 Nov 2002 07:49:03 +0000 (07:49 +0000)]
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.1.2'.

22 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

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

22 years ago- add new file
braam [Wed, 6 Nov 2002 01:30:12 +0000 (01:30 +0000)]
- add new file

22 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.

22 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

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

22 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.

22 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.

22 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

22 years ago- Fix up c_recovd_data list_head management, to avoid NULL dereferences in
shaver [Tue, 5 Nov 2002 18:37:28 +0000 (18:37 +0000)]
- Fix up c_recovd_data list_head management, to avoid NULL dereferences in
  recovd_conn_manage (bug 338).

22 years agoMinor fix so that the printed output is actually what we want to run.
adilger [Tue, 5 Nov 2002 08:50:56 +0000 (08:50 +0000)]
Minor fix so that the printed output is actually what we want to run.

22 years agoIssue# 330: Approver: Andreas - New utility to find files affected by loss of an...
donmilos [Tue, 5 Nov 2002 01:48:17 +0000 (01:48 +0000)]
Issue# 330: Approver: Andreas - New utility to find files affected by loss of an OBD.

22 years agoPeter tells me that the removal of "-O2" from the i386 archdep is the actual
adilger [Mon, 4 Nov 2002 21:38:46 +0000 (21:38 +0000)]
Peter tells me that the removal of "-O2" from the i386 archdep is the actual
source of the QUOTA problems.

22 years agoInclude quotaops.h in the headers that we munge for extN to avoid issues
adilger [Mon, 4 Nov 2002 21:36:18 +0000 (21:36 +0000)]
Include quotaops.h in the headers that we munge for extN to avoid issues
with "extern __inline__" declarations therein.

22 years agoBug# 329: Approver: Andreas - obd_ioctl_unpack() causes segmentation violation.
donmilos [Mon, 4 Nov 2002 21:25:49 +0000 (21:25 +0000)]
Bug# 329: Approver: Andreas - obd_ioctl_unpack() causes segmentation violation.

22 years agominor comment fixup
pschwan [Mon, 4 Nov 2002 20:42:05 +0000 (20:42 +0000)]
minor comment fixup

22 years agob=320
pschwan [Mon, 4 Nov 2002 00:31:03 +0000 (00:31 +0000)]
b=320
disable lprocfs, since it crashes on router nodes

22 years agoDon't include lprocfs_ll_rd() at all. lprocfs defines a no-op function
adilger [Mon, 4 Nov 2002 00:27:13 +0000 (00:27 +0000)]
Don't include lprocfs_ll_rd() at all.  lprocfs defines a no-op function
stub for this.  When lprocfs isn't available, we will get nothing from
these functions, but I don't think that is a big deal.

22 years agoThe "random" addition to the UUID were in fact not very random: dev is time-
pschwan [Sun, 3 Nov 2002 20:51:44 +0000 (20:51 +0000)]
The "random" addition to the UUID were in fact not very random: dev is time-
synchronized, and this caused big trouble.

I fixed this by seeding the PRNG from /dev/urandom at startup; my first
multi-line python hackery, so I hope I didn't pooch it.

22 years ago- minor fixes to the tests
braam [Sat, 2 Nov 2002 23:09:11 +0000 (23:09 +0000)]
- minor fixes to the tests

22 years ago- Replace client-side generation fixup with bug 304's righteous assertion of
shaver [Sat, 2 Nov 2002 09:08:58 +0000 (09:08 +0000)]
- Replace client-side generation fixup with bug 304's righteous assertion of
  generations numbers at recreate-time.  Single-client recovery should now be
  _that_much_ more robust. (Bug 299.)

22 years agonew test with lots of very basic operations
braam [Sat, 2 Nov 2002 04:35:01 +0000 (04:35 +0000)]
new test with lots of very basic operations

22 years ago1. Fixed cleanup issue where I was *indeed* accesing a zapped pointer.
thantry [Sat, 2 Nov 2002 02:41:32 +0000 (02:41 +0000)]
1. Fixed cleanup issue where I was *indeed* accesing a zapped pointer.
2. Removed typedef
3. lproc-snmp back in.

22 years ago- fixes for dentry problems from Phil and myself
braam [Sat, 2 Nov 2002 01:09:28 +0000 (01:09 +0000)]
- fixes for dentry problems from Phil and myself
- separate cancel/callback threads to avoid starvation
- fix for broken symlinks

22 years ago* add a bit of randomness to the MDC uuid
rread [Sat, 2 Nov 2002 00:51:43 +0000 (00:51 +0000)]
* add a bit of randomness to the MDC uuid

22 years agoBuild properly with lprocfs disabled.
adilger [Sat, 2 Nov 2002 00:26:06 +0000 (00:26 +0000)]
Build properly with lprocfs disabled.

22 years ago- another merge of head changes onto the branch. All is still well.
braam [Fri, 1 Nov 2002 23:57:08 +0000 (23:57 +0000)]
- another merge of head changes onto the branch. All is still well.

22 years ago* change init_portals to use inter_module_get() instead of
rread [Fri, 1 Nov 2002 23:42:36 +0000 (23:42 +0000)]
* change init_portals to use inter_module_get() instead of
inter_module_get_request(), becuase we don't want to the kernel to load
any old nal, we want to use just the one that was loaded for us by
lconf.

* add hook for toenal

22 years ago* more bits for toenal
rread [Fri, 1 Nov 2002 22:46:56 +0000 (22:46 +0000)]
* more bits for toenal

22 years ago* rename startlevel and endlevel to minlevel and maxlevel
rread [Fri, 1 Nov 2002 22:39:30 +0000 (22:39 +0000)]
* rename startlevel and endlevel to minlevel and maxlevel

22 years agoRevert Mike's recovery changes from LOV, for the greater good of being
adilger [Fri, 1 Nov 2002 22:33:08 +0000 (22:33 +0000)]
Revert Mike's recovery changes from LOV, for the greater good of being
able to use LOV again.

22 years ago- make rename fixes compatible with older kernels
braam [Fri, 1 Nov 2002 22:28:24 +0000 (22:28 +0000)]
- make rename fixes compatible with older kernels
- pick up fixes to head

22 years agoYes, we should in fact MOD_DEC_USE_COUNT there.
adilger [Fri, 1 Nov 2002 21:19:08 +0000 (21:19 +0000)]
Yes, we should in fact MOD_DEC_USE_COUNT there.

22 years ago- fix small typos
braam [Fri, 1 Nov 2002 19:58:04 +0000 (19:58 +0000)]
- fix small typos

22 years agovery low level sanity check.
braam [Fri, 1 Nov 2002 19:51:32 +0000 (19:51 +0000)]
very low level sanity check.

22 years agoThis commit was manufactured by cvs2svn to create branch 'unlabeled-1.1.2'.
cvs2svn [Fri, 1 Nov 2002 19:51:31 +0000 (19:51 +0000)]
This commit was manufactured by cvs2svn to create branch 'unlabeled-1.1.2'.

22 years agofile sanity.sh was initially added on branch b_find_alias.
braam [Fri, 1 Nov 2002 19:51:30 +0000 (19:51 +0000)]
file sanity.sh was initially added on branch b_find_alias.

22 years agoDisable lprocfs until it can clean up.
adilger [Fri, 1 Nov 2002 19:18:17 +0000 (19:18 +0000)]
Disable lprocfs until it can clean up.