Whamcloud - gitweb
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
jacob [Wed, 15 Dec 2004 22:35:21 +0000 (22:35 +0000)]
* fix cvs up for HEAD branches
* get rid of LC_{DARWIN,LINUX}_SUPPORTED in favor of more general
LC_TARGET_SUPPORTED
* fix some typos and spacings
jacob [Tue, 14 Dec 2004 23:21:10 +0000 (23:21 +0000)]
Abstract modules other than lustre-build from the lustrecvs into its
own buildcvs scriptlet.
jacob [Tue, 14 Dec 2004 02:59:03 +0000 (02:59 +0000)]
these are in share now
jacob [Tue, 14 Dec 2004 01:21:31 +0000 (01:21 +0000)]
handle !=
jacob [Mon, 13 Dec 2004 23:38:58 +0000 (23:38 +0000)]
- add missing files to EXTRA_DIST
- change fshooks tests to work on HEAD (and better in general)
- fix init script tests
jacob [Mon, 13 Dec 2004 23:27:43 +0000 (23:27 +0000)]
use HEAD portals and fix HEAD checkouts
adilger [Sat, 11 Dec 2004 09:55:24 +0000 (09:55 +0000)]
Fix lconf --dump handling:
- don't generate a temp filename for a raw dump
- don't unlink non-regular files (e.g. /dev/null)
- don't report an error if kernel doesn't dump anything (fix mismerge?)
adilger [Fri, 10 Dec 2004 09:44:46 +0000 (09:44 +0000)]
Limit setting kernel debug buffer size to 512MB to avoid lowmem starvation.
jacob [Thu, 9 Dec 2004 23:27:44 +0000 (23:27 +0000)]
b_port_step files
jacob [Thu, 9 Dec 2004 23:08:26 +0000 (23:08 +0000)]
b_port_step files
jacob [Thu, 9 Dec 2004 22:14:36 +0000 (22:14 +0000)]
add autoconf dirs to build
jacob [Thu, 9 Dec 2004 21:39:28 +0000 (21:39 +0000)]
refine skeletal configure.ac
jacob [Thu, 9 Dec 2004 19:35:46 +0000 (19:35 +0000)]
finish last commit
jacob [Thu, 9 Dec 2004 19:34:54 +0000 (19:34 +0000)]
Split up configure thusly:
- build/autoconf/configure.ac: main skel
- build/autoconf/lustre-build.m4: non-arch macros
- build/autoconf/lustre-build-linux.m4: linux-specific macros
- build/autoconf/lustre-build-darwin.m4: darwin-specific macros
- portals/autoconf/lustre-portals.m4: portals checks
- lustre/autoconf/lustre-core.m4: lustre checks
- lustre/autoconf/lustre-version.ac: the canonical lustre version
eeb [Thu, 9 Dec 2004 01:15:06 +0000 (01:15 +0000)]
* removed extra line
eeb [Thu, 9 Dec 2004 01:03:34 +0000 (01:03 +0000)]
* removed a diff that crept in somehow
eeb [Thu, 9 Dec 2004 00:43:09 +0000 (00:43 +0000)]
* applied patch for missing <linux/init.h> b5396
nathan [Tue, 7 Dec 2004 22:09:15 +0000 (22:09 +0000)]
file writemany.c was initially added on branch b_B1_4_BUG4834.
eeb [Tue, 7 Dec 2004 14:11:39 +0000 (14:11 +0000)]
* Moved the CDEBUG message in the exit path of log_commit_thread. It was
possible for portals_debug_msg() to crash dereferencing the format
string if the CDEBUG happened after the thread had signalled that it
was about to exit. I guess the data segment got unloaded before the
log_commit_thread had exited!
eeb [Mon, 6 Dec 2004 22:07:15 +0000 (22:07 +0000)]
* fixed compiler warning
eeb [Mon, 6 Dec 2004 20:55:57 +0000 (20:55 +0000)]
* Merged changes from HEAD and b_cray in preparation for
portals separation
jacob [Fri, 3 Dec 2004 18:40:00 +0000 (18:40 +0000)]
branch scripts
yury [Fri, 3 Dec 2004 09:07:53 +0000 (09:07 +0000)]
- fixes in fsfilt interface about 2.6/2.4 versions of kernel. Fixes in ext3 implementation.
- removed not needed lookup_by_path() from lustre_smfs.h
- small cleanups about names of variables to make them coherent with another parts.
jacob [Thu, 2 Dec 2004 23:55:22 +0000 (23:55 +0000)]
Fix lbuild building and 2.6
jacob [Thu, 2 Dec 2004 16:34:59 +0000 (16:34 +0000)]
blah blah blah
eeb [Wed, 1 Dec 2004 11:39:44 +0000 (11:39 +0000)]
* fixed 4012: NULL deref in ep_complete_rpc
This could crash a qswnal client engaged in bulk READS with a crashing server
eeb [Wed, 1 Dec 2004 11:35:34 +0000 (11:35 +0000)]
* fixed 4012: NULL deref in ep_complete_rpc
This could crash a qswnal client engaged in bulk READS with a crashing server
eeb [Tue, 30 Nov 2004 17:54:23 +0000 (17:54 +0000)]
* backing out 4012 fix due to incomplete patch application
eeb [Tue, 30 Nov 2004 17:47:03 +0000 (17:47 +0000)]
* fixed 4012 (NULL pointer deref in ep_complete_rpc)
adilger [Mon, 29 Nov 2004 18:20:03 +0000 (18:20 +0000)]
Branch: b1_4
Don't try to preallocate too many xmit buffers, qsnet doesn't like that.
Tested to work on TDEV.
b=5291
r=eeb
adilger [Fri, 26 Nov 2004 06:02:06 +0000 (06:02 +0000)]
Land b1_4_smallfix onto b1_4 (20041125_1716)
- don't keep a lock reference when lock is not granted (b=4238)
- unsafe list practices (rarely) led to infinite eviction loop (b=4908)
- add per-fs limit of Lustre pages in page cache, avoid OOM (b=4699)
- drop import inflight refcount on signal_completed_replay error (b=5255)
- unlock page after async write error during send (b=3677)
- service request history (b=4965)
- put {ll,lov,osc}_async_page structs in a single slab (b=4699)
- create an "evict_client" /proc entry on OSTs, like the MDS has
- handle missing objects in filter_preprw_read properly (b=5265)
yury [Thu, 25 Nov 2004 12:58:31 +0000 (12:58 +0000)]
- many fixes and cleanups in cobd. By now it load and unloads fine.
- small improvements in lmv.
- fixed possible freeing of not allocated memory pointer in mds_connect()
eeb [Wed, 24 Nov 2004 20:18:59 +0000 (20:18 +0000)]
* applied fix from b1_4_smallfix for compilation issue
jacob [Wed, 24 Nov 2004 20:00:29 +0000 (20:00 +0000)]
r=phil,adilger
Bump to 1.4.0 in preparation for release.
yury [Tue, 23 Nov 2004 18:34:12 +0000 (18:34 +0000)]
- lots of fixes and cleanups in cobd and cmobd.
- fixes and clanups in cmobd.sh and cobd.sh
- changes in lconf about module loading in OSD and MDSDEV.
- fixes in lconf about mount options forming.
- fixes in lmc about client ref managing.
- fixes in lconf about cmobd and cobd setup.
yury [Mon, 22 Nov 2004 12:23:12 +0000 (12:23 +0000)]
- mdc_op_data should not be allocated on stack.