Whamcloud - gitweb
Merge b_md to HEAD for 0.5.19 release.
authoradilger <adilger>
Mon, 6 Jan 2003 22:22:15 +0000 (22:22 +0000)
committeradilger <adilger>
Mon, 6 Jan 2003 22:22:15 +0000 (22:22 +0000)
commitccb42f2458669aaac84a661091b05a59bb781197
tree5745a6f2f513c8eafeddd0fd1a9e57fda53b9b9e
parent5e2ac49dd119054c842bdcec07a8b21d523163f0
Merge b_md to HEAD for 0.5.19 release.
Fixes a _huge_ number of bugs:
  - Fully reactivate OST imports after reconnection (512, others)
  - Make sure client sees our -ENOTCONN from mds_handle (513 - partial)
  - More graceful error handling for truncating on dead OST (515)
  - Don't error out unless we're actually accessing dead stripes (474)
  - Fix garbage sizes when stripes are missing (410)
  - LRU counters were broken, causing constant lock purge (433, 432)
  - garbage on read from stripes with failed OSTs (441)
  - mark OSCs as active before reconnecting during recovery (438)
  - lov_enqueue and lov_cancel need to handle inactive OSTs (403)
  - lfind did not preserve OST order in output (443)
  - symlinks cause hung clients, incorrect data (439)
  - stop dereferencing request after dropping refcount (457)
  - don't LASSERT(spin_is_locked) on non-SMP (455)
  - fixes for many rename() bugs
  - fstat didn't correctly synchronize attributes (399)
  - server must handle lock cancellation during blocking AST prep (487)
  - bulk descriptors were free()d too soon (511)
  - fix paths in lconf, which would load incorrect modules (451, 507)
  - fix confusing lconf 'host not found' error message (386)
  - fix lock order deadlock on OST (O/R i_sem before journal ops, 478)
  - fix race condition in mdc_blocking_ast() for inode access (526)
  - fix lov_unpackmd() unpacking wrong number of stripes (537)
  - fix lov_set_osc_active() marking wrong OSC inactive (440)
  - fix bad lstripe lov_unpackmd() assertion (fix layering too) (527)
  - fix multiple writes of stripe MD to MDS (358, maybe 519)
  - fix lstripe in several ways (kernel side) (527)
  - fix request leak in ldlm_cli_enqueue (262)
  - incorrect OSC was marked inactive after OST failure
  - call mds_fs_cleanup before unmounting filesystem (524)
  - fix races between taking ns_lock and ldlm_lock_change_resource
  - fix races updating LOV export open file list
  - fix lov_enqueue error path, avoid decref-ing bad lock handle
  - fix recovery NULL deref in ldlm_cli_cancel_unused
  - fix some DLM races by using new hash table for lock handles (419)
  - permit the client to specify desired inodes, at replay
  - duplicate requests when we queue them for replay reintegration
  - fix last_rcvd offset calculation
  - sync after each recovered transaction, so we always make progress
  - never, not always, ERESTART requests without transnos
  - store the lov_desc in the MDS, so we don't depend on getlovinfo to set it
  - skip replay if the MDS says that the client is already connected
  - don't check for a recovery-enabled export to match lctl's UUID
  - don't INC_USE_COUNT for phantom exports
  - don't crash when cleaning up phantom exports (567)
  - don't double-finish or set replay data for errored mdc_open requests
  - abort requests when they time out, so we don't get old replies
  - send/receive replies for AST messages again
  - if the client says that it doesn't have the lock, cancel it on the server
  - if we timeout during I/O, don't try to cancel an in-use lock; instead
    mark it as destroyed, it will all work out when decref is called
  - fix module use counts (22, 581)
 * protocol changes
  - ASTs now expect a reply (server cancels lock on error reply)
118 files changed:
lustre/.cvsignore
lustre/ChangeLog
lustre/Makefile.am
lustre/cobd/.cvsignore [new file with mode: 0644]
lustre/cobd/Makefile.am [new file with mode: 0644]
lustre/cobd/cache_obd.c [new file with mode: 0644]
lustre/cobd/lproc_cache.c [new file with mode: 0644]
lustre/conf/.cvsignore [new file with mode: 0644]
lustre/conf/Makefile.am [new file with mode: 0644]
lustre/conf/lustre.dtd [new file with mode: 0644]
lustre/conf/lustre2ldif.xsl [new file with mode: 0644]
lustre/conf/slapd-lustre.conf [new file with mode: 0644]
lustre/conf/top.ldif [new file with mode: 0644]
lustre/configure.in
lustre/extN/Makefile.am
lustre/extN/extN-noread.diff [new file with mode: 0644]
lustre/extN/extN-wantedi.diff [new file with mode: 0644]
lustre/include/linux/lustre_dlm.h
lustre/include/linux/lustre_export.h
lustre/include/linux/lustre_ha.h
lustre/include/linux/lustre_idl.h
lustre/include/linux/lustre_lib.h
lustre/include/linux/lustre_lite.h
lustre/include/linux/lustre_mds.h
lustre/include/linux/lustre_net.h
lustre/include/linux/obd.h
lustre/include/linux/obd_cache.h [new file with mode: 0644]
lustre/include/linux/obd_class.h
lustre/include/linux/obd_ost.h
lustre/include/linux/obd_ptlbd.h [new file with mode: 0644]
lustre/include/linux/obd_support.h
lustre/ldlm/l_lock.c
lustre/ldlm/ldlm_extent.c
lustre/ldlm/ldlm_lock.c
lustre/ldlm/ldlm_lockd.c
lustre/ldlm/ldlm_request.c
lustre/ldlm/ldlm_resource.c
lustre/ldlm/ldlm_test.c
lustre/lib/Makefile.am
lustre/lib/client.c
lustre/lib/obd_pack.c
lustre/lib/simple.c
lustre/lib/target.c
lustre/llite/Makefile.am
lustre/llite/commit_callback.c
lustre/llite/dir.c
lustre/llite/file.c
lustre/llite/namei.c
lustre/llite/recover.c
lustre/llite/rw.c
lustre/llite/super.c
lustre/llite/super25.c
lustre/llite/symlink.c
lustre/lov/lov_obd.c
lustre/lov/lov_pack.c
lustre/lov/lproc_lov.c
lustre/mdc/Makefile.am
lustre/mdc/mdc_request.c
lustre/mds/Makefile.am
lustre/mds/handler.c
lustre/mds/lproc_mds.c
lustre/mds/mds_fs.c
lustre/mds/mds_lov.c
lustre/mds/mds_reint.c
lustre/obdclass/Makefile.am
lustre/obdclass/class_obd.c
lustre/obdclass/fsfilt.c
lustre/obdclass/fsfilt_extN.c
lustre/obdclass/fsfilt_reiserfs.c [new file with mode: 0644]
lustre/obdclass/genops.c
lustre/obdclass/lprocfs_status.c
lustre/obdclass/statfs_pack.c [moved from lustre/lib/ll_pack.c with 88% similarity]
lustre/obdecho/echo.c
lustre/obdecho/echo_client.c
lustre/obdfilter/Makefile.am
lustre/obdfilter/filter.c
lustre/osc/Makefile.am
lustre/osc/osc_request.c
lustre/ost/Makefile.am
lustre/ost/ost_handler.c
lustre/patches/.cvsignore [deleted file]
lustre/ptlbd/.cvsignore [new file with mode: 0644]
lustre/ptlbd/Makefile.am [new file with mode: 0644]
lustre/ptlbd/blk.c [new file with mode: 0644]
lustre/ptlbd/client.c [new file with mode: 0644]
lustre/ptlbd/main.c [new file with mode: 0644]
lustre/ptlbd/rpc.c [new file with mode: 0644]
lustre/ptlbd/server.c [new file with mode: 0644]
lustre/ptlrpc/client.c
lustre/ptlrpc/niobuf.c
lustre/ptlrpc/recovd.c
lustre/ptlrpc/recover.c
lustre/ptlrpc/rpc.c
lustre/ptlrpc/service.c
lustre/tests/.cvsignore
lustre/tests/Makefile.am
lustre/tests/createmany.c
lustre/tests/echo.sh [new file with mode: 0755]
lustre/tests/llecho.sh
lustre/tests/llechocleanup.sh
lustre/tests/llmount.sh
lustre/tests/llmountcleanup.sh
lustre/tests/local.sh
lustre/tests/lov.sh
lustre/tests/lovstripe.c [deleted file]
lustre/tests/sanity.sh
lustre/tests/statmany.c [new file with mode: 0644]
lustre/tests/uml.sh
lustre/tests/wantedi.c [new file with mode: 0644]
lustre/utils/automatic-reconnect-sample [new file with mode: 0755]
lustre/utils/lconf.in
lustre/utils/lctl.c
lustre/utils/lfind.c
lustre/utils/lmc
lustre/utils/lstripe.c
lustre/utils/lustre.dtd [deleted file]
lustre/utils/obd.c
lustre/utils/obdctl.h