Whamcloud - gitweb
phil [Sat, 26 Feb 2005 02:50:01 +0000 (02:50 +0000)]
Don't hold the pinger_sem in ptlrpc_pinger_sending_on_import.
It's an inherently racy operation in the first place, and until the pinger
thread is fixed not to hold the pinger_sem while it's waiting for an upcall
to complete, it prevents ptlrpcd from needlessly blocking.
phil [Sat, 26 Feb 2005 02:21:43 +0000 (02:21 +0000)]
b=5702
r=jacob
Scali's patch to fix a few problems with the init scripts on SLES9:
- Sources "/etc/init.d/functions" (doesn't exist on SLES9)
- Uses a function called "action" (doesn't exist on SLES9)
- The scripts don't have LSB-compliant comments to define what runlevels to
run on, dependencies on external subsystems and so on.
nic [Fri, 25 Feb 2005 21:38:23 +0000 (21:38 +0000)]
abort with -1 to get a non zero exit code
green [Fri, 25 Feb 2005 13:18:45 +0000 (13:18 +0000)]
Updates kernel patcheds for rhel4 kernel (2.6-rhel4 serie). Kernel compiles ok.
Starts updating ldiskfs serie for it too, extents and mballoc2 are remain to be
done for now
adilger [Thu, 24 Feb 2005 23:58:12 +0000 (23:58 +0000)]
Branch: b1_4
Be clearer when printing out the default directory striping pattern.
adilger [Thu, 24 Feb 2005 23:55:36 +0000 (23:55 +0000)]
Branch: b1_4
Quiet verbose and mostly useless message (printed loc_llcd == NULL always).
adilger [Thu, 24 Feb 2005 23:53:56 +0000 (23:53 +0000)]
Branch: b1_4
Allow mtime/atime to be set backward.
b=4829, b=5669
adilger [Thu, 24 Feb 2005 23:27:17 +0000 (23:27 +0000)]
Branch: b1_4
Allow mtime/atime to be set backward.
b=4829, b=5669
adilger [Thu, 24 Feb 2005 22:36:51 +0000 (22:36 +0000)]
Branch: b1_4
Add newlines to VMA_DEBUG messages in ll_vm_{open,close} to avoid console spew.
adilger [Thu, 24 Feb 2005 19:31:08 +0000 (19:31 +0000)]
Branch: b1_4
Hold ns lock when calling ldlm_del_waiting_lock() from ldlm_handle_ast_error().
This was detected by Phil's recent addition of "l_check_ns_lock()" therein.
b=5746
adilger [Thu, 24 Feb 2005 19:21:10 +0000 (19:21 +0000)]
Branch: b1_4
Fix bogus LASSERT when NFS exporting a filesystem.
This is for a structure we don't even use currently.
b=4655, 5760
r=green (original analysis + fix)
nic [Thu, 24 Feb 2005 16:35:41 +0000 (16:35 +0000)]
init the mpi layer earlier to prevent unknown options when run with a real mpi
layer. mpi init taken from write_append_truncate
eeb [Thu, 24 Feb 2005 10:27:10 +0000 (10:27 +0000)]
* Added network type 'ra' to comments/help strings in lmc
eeb [Thu, 24 Feb 2005 10:19:56 +0000 (10:19 +0000)]
* Added missing NALs to failure handling case of zeroconf ADD_PEER
adilger [Wed, 23 Feb 2005 23:33:03 +0000 (23:33 +0000)]
Branch: b1_4
Fix grammar.
adilger [Wed, 23 Feb 2005 23:25:37 +0000 (23:25 +0000)]
Branch: b1_4
Something I noticed when looking at the OST AMD patch. We should check
the "ost" index and not the "stripe" index.
eeb [Wed, 23 Feb 2005 21:43:14 +0000 (21:43 +0000)]
* First cut working vibnal
eeb [Wed, 23 Feb 2005 21:38:00 +0000 (21:38 +0000)]
* Added zeroconf ADD_PEER support for RANAL and VIBNAL
nic [Fri, 18 Feb 2005 23:52:39 +0000 (23:52 +0000)]
land changes from b_release_1_4_0_10
adilger [Fri, 18 Feb 2005 23:40:03 +0000 (23:40 +0000)]
Branch: b1_4
Minor fix to the MDS default stripe count->inode size calculations.
adilger [Fri, 18 Feb 2005 23:39:05 +0000 (23:39 +0000)]
Branch: b1_4
Ignore generated files.
adilger [Thu, 17 Feb 2005 18:01:09 +0000 (18:01 +0000)]
Land b1_4_smallfix onto b1_4 (20050210_1537)
Fix build problem for older kernels which don't have i_alloc_sem.
Use MDS_{UP,DOWN}_{READ,WRITE}_ORPHAN_SEM() to lock the MDS orphan
information to avoid a confusing name conflict.
b=5700
adilger [Wed, 16 Feb 2005 04:32:06 +0000 (04:32 +0000)]
Branch: b1_4
Add missing ChangeLog entry (bug not known).
r=eeb (original fix)
jacob [Tue, 15 Feb 2005 21:31:13 +0000 (21:31 +0000)]
b=5684
r=adilger
First stab at improving some user visible error messages.
jacob [Tue, 15 Feb 2005 21:25:04 +0000 (21:25 +0000)]
Add some comments so other people don't get fooled into thinking there was a bug here as i did.
jacob [Mon, 14 Feb 2005 19:32:22 +0000 (19:32 +0000)]
Add patch to fix running with 2.6 host systems.
eeb [Mon, 14 Feb 2005 15:30:14 +0000 (15:30 +0000)]
* Added loopback optimisation to lib-move.c
lctl --net ??? loopback # show current state
lctl --net ??? loopback on # enable loopback optimisation
lctl --net ??? loopback off # disable loopback optimisation
By default loopback optimisation is turned OFF
phil [Mon, 14 Feb 2005 05:52:52 +0000 (05:52 +0000)]
Andreas caught a think-o in the liblustre half of this checkin
phil [Sat, 12 Feb 2005 23:15:20 +0000 (23:15 +0000)]
brown paper bag bug in the lock cleanups; I'm amazed this passed as many tests
as it did, but here we are.
phil [Sat, 12 Feb 2005 23:03:41 +0000 (23:03 +0000)]
b1_4_mmap landing didn't update the ChangeLog (tsk tsk)
phil [Sat, 12 Feb 2005 22:59:54 +0000 (22:59 +0000)]
b=5628
r=jacob
- add a per-mdc/osc /proc file that lets you do a Lustre ping
- the old way, used by lfs check, would block when the MDS is down, because it
opened the mountpoint
- also exported it via liblustreapi as llapi_ping(obd_type, obd_name)
phil [Sat, 12 Feb 2005 21:32:17 +0000 (21:32 +0000)]
b=5656
Clean up a lot of calls to LDLM_DEBUG that weren't protected by an ns_lock.
This is probably not a comprehensive fix, but addresses all of the violations
that I saw.
phil [Sat, 12 Feb 2005 21:03:22 +0000 (21:03 +0000)]
Add an l_check_ns_lock to go with l_check_no_ns_lock.
phil [Sat, 12 Feb 2005 21:00:20 +0000 (21:00 +0000)]
remove the last vestiges of test_ldlm from {l,obd}ctl
phil [Sat, 12 Feb 2005 20:53:59 +0000 (20:53 +0000)]
Updated config files from 2.4.21-37EL, which enable a handful of new modules
(at least on x86_64)
phil [Sat, 12 Feb 2005 19:23:03 +0000 (19:23 +0000)]
bump the version to 1.4.0.10 for 1.4.1 rc1
phil [Sat, 12 Feb 2005 06:25:35 +0000 (06:25 +0000)]
A customer mentioned that we didn't have a get_hostaddr method for the LDAP
backend. LDAP is on its way out of favour, so I'm hardly shocked.
nic [Fri, 11 Feb 2005 23:42:08 +0000 (23:42 +0000)]
land b1_4_mmap on b1_4 (20050211_1829)
adilger [Thu, 10 Feb 2005 23:43:50 +0000 (23:43 +0000)]
Land b1_4_smallfix onto b1_4 (20050210_1537)
- fix incorrect LASSERT in mds_getattr_name (5635)
- fix configure check for grab_cache_page_nowait_gfp
- fix lsattr -v for directories so we can get inode generation from userspace
- fix mtime return from glimpse AST reply again (4829)
phil [Thu, 10 Feb 2005 23:33:09 +0000 (23:33 +0000)]
- BUGS should just point at bugzilla
- nodist doesn't need to reference obdext2 anymore
- rename COPYING to LICENSE and make it somewhat clearer
- remove the unused mgmt/ module; we know how to get it back.
phil [Thu, 10 Feb 2005 23:31:40 +0000 (23:31 +0000)]
remove the lustre book-building bits from Makefile.am, in preparation for
removal from the tree.
r=jacob
phil [Thu, 10 Feb 2005 05:55:19 +0000 (05:55 +0000)]
b=5277
r=adilger
Andreas's patch to avoid starting duplicate acceptors on servers with multiple
IP hostaddrs.
phil [Wed, 9 Feb 2005 19:50:22 +0000 (19:50 +0000)]
b=5544
A checkin was made on 17 Jan to move lov_get_info from llite to obdclass.
But here it is, still in llite, which is causing depmod to cry foul about
recursive dependencies with the lov.
phil [Sat, 5 Feb 2005 06:34:04 +0000 (06:34 +0000)]
b=5492
Back out the KMS locking change; I saw a problem with it yesterday, and the
new truncate buffalo failures confirmed my suspicion.
phil [Fri, 4 Feb 2005 19:55:46 +0000 (19:55 +0000)]
At some point, somebody added a 5th upcall argument, but didn't print it
with the rest of them.
phil [Fri, 4 Feb 2005 19:30:22 +0000 (19:30 +0000)]
b=5654
The lock ordering of i_sem and i_alloc_sem changed between 2.4 and 2.6,
which causes deadlocks if multiple threads try to truncate a single file.
I don't really like this solution, but it's the best I can come up with
right now.
eeb [Fri, 4 Feb 2005 18:49:21 +0000 (18:49 +0000)]
* Landed portals:b_port_step as follows...
- removed CFS_DECL_SPIN*
just use 'spinlock_t' and initialise with spin_lock_init()
- removed CFS_DECL_MUTEX*
just use 'struct semaphore' and initialise with init_mutex()
- removed CFS_DECL_RWSEM*
just use 'struct rw_semaphore' and initialise with init_rwsem()
- renamed cfs_sleep_chan -> cfs_waitq
cfs_sleep_link -> cfs_waitlink
- fixed race in linux version of arch-independent socknal
(the ENOMEM/EAGAIN decision).
- Didn't fix problems in Darwin version of arch-independent socknal
(resetting socket callbacks, eager ack hack, ENOMEM/EAGAIN decision)
- removed libcfs types from non-socknal header files (only some types
in the header files had been changed; the .c files hadn't been
updated at all).
- Updated lustre b1_4 to match
jacob [Thu, 3 Feb 2005 19:49:20 +0000 (19:49 +0000)]
ignore _netdev as well
jacob [Thu, 3 Feb 2005 17:09:23 +0000 (17:09 +0000)]
this is upstream now
jacob [Thu, 3 Feb 2005 16:58:13 +0000 (16:58 +0000)]
fix automake warning
jacob [Wed, 2 Feb 2005 23:29:07 +0000 (23:29 +0000)]
b=5383
r=phil
allow readahead to fail when low on memory.
nic [Wed, 2 Feb 2005 23:13:21 +0000 (23:13 +0000)]
land b1_4_smallfix on b1_4(20050202_1817)
- readahead could read extra page into cache that wasn't ejected (5388)
- prevent races in class_attach/setup/cleanup/detach (5260)
- don't dereference de->d_inode after l_dput of de (5458)
- use "int" for stripe value returned from lock_to_stripe (5544)
- mballoc allocation and error-checking fixes in 2.6 (5504)
- block device patches to fix I/O request sizes in 2.6 (5482)
- protect KMS changes with its own lock, not i_sem (5492, 5624, 3453)
- look up hostnames for IB nals (5602)
- fix mount usage message, return errors per mount(8) (5168)
- remove ancient LOV_MAGIC_V0 EA support (5047)
- add "disk I/Os in flight" and "I/O req time" stats in obdfilter
jacob [Wed, 2 Feb 2005 04:17:16 +0000 (04:17 +0000)]
update to SP1 kernel: 2.6.5-7.141
eeb [Tue, 1 Feb 2005 11:58:00 +0000 (11:58 +0000)]
* ranal debugging and lconf support
eeb [Mon, 31 Jan 2005 12:30:33 +0000 (12:30 +0000)]
* 5602 fix improves checks that NID is set correctly and causes incorrect
configurations to fail rather than trip a server assertion.
* 5606 fix ensures both peers agree on maximum "immediate" get.
* ranal updates
nkj [Fri, 28 Jan 2005 20:22:15 +0000 (20:22 +0000)]
Fix for bug 5511
nkj [Fri, 28 Jan 2005 15:30:09 +0000 (15:30 +0000)]
corrected filename
nic [Thu, 27 Jan 2005 00:38:22 +0000 (00:38 +0000)]
b=5594
remove hardcoded path to llmount that breaks rpm based testing
nkj [Wed, 26 Jan 2005 12:44:13 +0000 (12:44 +0000)]
landing patch for bug 5272 - making copy of list instead of using reference
nic [Wed, 19 Jan 2005 22:39:00 +0000 (22:39 +0000)]
b=5570
shorten name of suse drop to something we can use with lbuild and buffalo testing
eeb [Tue, 11 Jan 2005 03:37:38 +0000 (03:37 +0000)]
* Made openib not use the subnet manager to discover connection parameters
+ Openib listens on a TCP/IP port for service queries and responds with the
service id, port GID and pkey.
+ Openib peer table entries have become (NID, IP, port) tuples, where IP
and port connect to the peer's service query server.
+ /proc interfaces for port, listener timeout and backlog (restarts kernel
listener on update).
+ lmc/lconf support for new openib peers, including only running acceptor
if net == 'tcp'
+ Changed connection daemon to conduct both sides of the service query as
well as IB connection establishment. Spawning several since tcp/ip reads
can block for a timeout.
+ Added a reaper thread to do connection cleanup and timeout checks (the
single connection daemon used to do that too).
* Removed some unused lconf default constants
* Better openib automagic compilation check.
* Consistent usage (flipping + optional checksum) of all openib messages
(service query, connection requests and "normal" message flow).
* Exhaustive openib "are-you-still-the-same-person" checks
* Fixed bug which stopped idle persistent peers from getting removed from the
peer table.
* Fixed some ranal bugs which became obvious when similar problems were
debugged in openibnal
phil [Mon, 10 Jan 2005 21:51:53 +0000 (21:51 +0000)]
b=5445
Fix the x86-64 large-stack RHEL3 patch. The old patch would allocate 1 page
in alloc_task_struct, then free THREAD_ORDER pages in free_task_struct.
eeb [Fri, 7 Jan 2005 12:41:05 +0000 (12:41 +0000)]
* Included changes from *old* b1_4/b_cray
* OBD_FL_DEBUG_CHECK for consistent obdecho end-to-end checking
* struct echo_obd cleanup
* obdecho support for "difficult" reply testing (test_setattr)
* replaced cowardly eap_from_cookie() usage with EAP_FROM_COOKIE()
which asserts it is being called correctly
* bracketed echo_client_iocontrol() guts with unlock/lock_kernel()
for increased concurrency during echo ioctl execution
* better thread control and stats in obd.c
* n-threads-over-m-objects test_brw support (required for
obdfilter-survey)
* openibnal changes
* re-enabled openib on 2.5/2.6 builds
configure --with-openib=no can be used to disable openib explicitly if
required.
* fixed some 64 bit casts
* just use kernel's page_to_phys()
* fixed CERROR format problem in libcfs/module.c
buffalo-pull [Wed, 29 Dec 2004 23:12:57 +0000 (23:12 +0000)]
- keep version in line with latest tarball available on the FTP site;
- keep ia64 configs up-to-date with same tarball
jacob [Tue, 21 Dec 2004 21:39:32 +0000 (21:39 +0000)]
Update series to U4 kernel (2.4.21-27.EL)
adilger [Tue, 21 Dec 2004 09:43:56 +0000 (09:43 +0000)]
Land b1_4_smallfix onto b1_4 (20041221_0116)
- fix 2.6 build problems
- fix mount usage message, return errors per mount(8)
- change grep [] to grep "[]" in tests so they work in more UMLs
jacob [Mon, 20 Dec 2004 23:55:00 +0000 (23:55 +0000)]
Fix non-module build
phil [Mon, 20 Dec 2004 23:08:38 +0000 (23:08 +0000)]
Remove obd_ptlbd.h, and fix "make dist"
jacob [Mon, 20 Dec 2004 22:54:27 +0000 (22:54 +0000)]
add bigstack support to rhel 2.4.21
phil [Mon, 20 Dec 2004 22:52:15 +0000 (22:52 +0000)]
Remove one missed smfs/snapfs bit from lustre-core.m4
phil [Mon, 20 Dec 2004 22:49:36 +0000 (22:49 +0000)]
removing unused b1_4 code modules: cobd, ptlbd, smfs, snapfs
I'll send a separate mail to eng, but BE CAREFUL WHEN MERGING.
Merging into b1_2 or b_cray is fine, but be careful when you merge
into HEAD! If you want my help, please ask.
jacob [Mon, 20 Dec 2004 22:40:52 +0000 (22:40 +0000)]
Remove chaos series. chaos76 era kernels are compatible with our rhel patches
phil [Mon, 20 Dec 2004 21:01:39 +0000 (21:01 +0000)]
I remember very clearly making this change, but I don't know where it
got saved. Probably in the wrong source tree.
phil [Mon, 20 Dec 2004 20:30:52 +0000 (20:30 +0000)]
Copyright cleanup phase 1:
- add some HP copyright statements to the code that has survived our
rewrites
- remove copyright and license boilerplate from non-copyrightable headers
- remove the unused ldlm_test
- remove the kernel copyright from llite/namei.c
phil [Mon, 20 Dec 2004 18:22:14 +0000 (18:22 +0000)]
Minor b1_4 changelog revision; a few items were in the 1.4.0 list, when
they did not, in fact, make it.
jacob [Mon, 20 Dec 2004 17:56:34 +0000 (17:56 +0000)]
fix in-tree path to portals
jacob [Mon, 20 Dec 2004 00:51:35 +0000 (00:51 +0000)]
Remove files that moved to lustre-build
jacob [Mon, 20 Dec 2004 00:19:29 +0000 (00:19 +0000)]
fixes for make rpms
jacob [Sun, 19 Dec 2004 23:28:18 +0000 (23:28 +0000)]
Add missed files.
jacob [Sun, 19 Dec 2004 23:20:10 +0000 (23:20 +0000)]
Split portals into its own CVS module (b1_4)
cvs2svn [Sun, 19 Dec 2004 23:11:17 +0000 (23:11 +0000)]
This commit was manufactured by cvs2svn to create branch 'b1_4'.
jacob [Sun, 19 Dec 2004 23:11:15 +0000 (23:11 +0000)]
Move portals into its own CVS module for HEAD.
jacob [Sun, 19 Dec 2004 22:58:14 +0000 (22:58 +0000)]
Use the newer libsysio tags.
jacob [Sun, 19 Dec 2004 22:56:35 +0000 (22:56 +0000)]
This commit was generated by cvs2svn to compensate for changes in r45926,
which included commits to RCS files with non-trunk default branches.
jacob [Sun, 19 Dec 2004 22:56:35 +0000 (22:56 +0000)]
import libsysio for b_newsysio
jacob [Sun, 19 Dec 2004 22:54:41 +0000 (22:54 +0000)]
This commit was generated by cvs2svn to compensate for changes in r45924,
which included commits to RCS files with non-trunk default branches.
jacob [Sun, 19 Dec 2004 22:54:41 +0000 (22:54 +0000)]
import older libsysio snapshot.
eeb [Fri, 17 Dec 2004 18:25:27 +0000 (18:25 +0000)]
* Updated ranal prior to the Great Schism
eeb [Fri, 17 Dec 2004 18:22:35 +0000 (18:22 +0000)]
* Updated ranal prior to the Great Schism
jacob [Fri, 17 Dec 2004 17:49:01 +0000 (17:49 +0000)]
new upstream bluesmoke patch
eeb [Fri, 17 Dec 2004 15:46:50 +0000 (15:46 +0000)]
* Added ranal
eeb [Fri, 17 Dec 2004 15:37:49 +0000 (15:37 +0000)]
* more ranal lconf fixes
eeb [Fri, 17 Dec 2004 14:57:22 +0000 (14:57 +0000)]
* fixed ranal lconf support
cvs2svn [Fri, 17 Dec 2004 14:35:57 +0000 (14:35 +0000)]
This commit was manufactured by cvs2svn to create branch 'b1_4'.
eeb [Fri, 17 Dec 2004 14:35:56 +0000 (14:35 +0000)]
* Added ranal subdir
eeb [Fri, 17 Dec 2004 14:29:44 +0000 (14:29 +0000)]
* Added ranal
* Removed S_???NAL in favour of a single S_NAL
* NB liblustre needs attention
eeb [Fri, 17 Dec 2004 12:32:51 +0000 (12:32 +0000)]
* fixed subsystem_names in lconf
yusy [Fri, 17 Dec 2004 07:35:15 +0000 (07:35 +0000)]
- support UPCALLs and failover
adilger [Thu, 16 Dec 2004 22:52:19 +0000 (22:52 +0000)]
Land b1_4_smallfix onto b1_4 (20041216_1438)
- add per-fs limit of Lustre pages in page cache, avoid OOM (4699)
- no transno return for symlink open, don't save no-trasno open (3440)
- don't try to complete elan receive that already failed (4012)
- free RPC server reply state on error (5406)
- fix ppc64/x86_64 spec to use %{_libdir} instead of /usr/lib (5389)
- unlock page after async write error during send (3677)
- return original error code on reconstructed replies (3761)
- no transno return for symlink open, don't save no-trasno open (3440)
- bump the watchdog timeouts -- we can't handle 30sec yet
- extra debugging for orphan dentry/inode bug (5259)
- clean up thread from ptlrpc_start_thread() on error (5160)
- minor changes from b_cray to reduce size of diff
- fix mount usage message, return errors per mount(8)
jacob [Thu, 16 Dec 2004 01:22:27 +0000 (01:22 +0000)]
Move these macros to lustre-portals.m4 and lustre-core.m4 where they really belong