Whamcloud - gitweb
Landing b_bug974 onto HEAD (20040213_1538).
authoradilger <adilger>
Fri, 13 Feb 2004 23:17:53 +0000 (23:17 +0000)
committeradilger <adilger>
Fri, 13 Feb 2004 23:17:53 +0000 (23:17 +0000)
commit30c3a18963d1d6d70175fbbbdd9554e1eb2fa40d
tree4af85f516770079455e3cb6348a3478a37ac9d0f
parent4d22d9a6a7be61064a76f69ff3b8ca5b84b57f2c
Landing b_bug974 onto HEAD (20040213_1538).

Adds support for client-side write cache accounting via OST write credits
(grants).  There is not yet a "correction" algorithm for grants if they
get out of sync between the client and OST (OST can handle clients who think
they have grant but do not).  Peter had previously suggested that grants
should decay over time (faster on the clients than on the OSTs) so idle
nodes do not consume space they aren't using.

Use /proc/fs/lustre/osc/OSC*/cur_grant_bytes (and existing cur_dirty_bytes)
to check client-side cache values.

Includes lustre-side changes for lfsck support (create files with
specific objids, create specific objids on OSTs).

Also includes some changes to the testing scripts (local.sh, lov.sh, acc-sm)
so that they include a "client nid '*'" client and can be used for sanityN.sh
testing.  This has been put into the main acceptance-small.sh loop so that
sanityN.sh will be run on both single and multi-OST setups.

b=974 b=2349
r=shaver
69 files changed:
lnet/include/linux/kp30.h
lnet/libcfs/debug.c
lustre/ChangeLog
lustre/include/linux/lprocfs_status.h
lustre/include/linux/lustre_export.h
lustre/include/linux/lustre_fsfilt.h
lustre/include/linux/lustre_idl.h
lustre/include/linux/lustre_lib.h
lustre/include/linux/lustre_user.h
lustre/include/linux/obd.h
lustre/include/linux/obd_class.h
lustre/ldlm/ldlm_extent.c
lustre/ldlm/ldlm_lib.c
lustre/ldlm/ldlm_lockd.c
lustre/liblustre/super.c
lustre/llite/file.c
lustre/llite/llite_lib.c
lustre/llite/lproc_llite.c
lustre/llite/rw.c
lustre/llite/rw24.c
lustre/llite/rw26.c
lustre/lov/lov_internal.h
lustre/lov/lov_obd.c
lustre/lov/lov_pack.c
lustre/lov/lproc_lov.c
lustre/lvfs/fsfilt_ext3.c
lustre/lvfs/fsfilt_extN.c
lustre/lvfs/fsfilt_reiserfs.c
lustre/mdc/lproc_mdc.c
lustre/mdc/mdc_lib.c
lustre/mds/handler.c
lustre/mds/lproc_mds.c
lustre/mds/mds_open.c
lustre/obdclass/genops.c
lustre/obdclass/llog.c
lustre/obdclass/lprocfs_status.c
lustre/obdclass/obd_config.c
lustre/obdclass/obdo.c
lustre/obdecho/echo.c
lustre/obdecho/echo_client.c
lustre/obdfilter/filter.c
lustre/obdfilter/filter_internal.h
lustre/obdfilter/filter_io.c
lustre/obdfilter/filter_io_24.c
lustre/obdfilter/filter_io_26.c
lustre/obdfilter/lproc_obdfilter.c
lustre/osc/lproc_osc.c
lustre/osc/osc_create.c
lustre/osc/osc_internal.h
lustre/osc/osc_request.c
lustre/ost/ost_handler.c
lustre/portals/include/linux/kp30.h
lustre/portals/libcfs/debug.c
lustre/ptlrpc/pack_generic.c
lustre/ptlrpc/recover.c
lustre/scripts/lustre.spec.in
lustre/tests/acceptance-small.sh
lustre/tests/local.sh
lustre/tests/lov.sh
lustre/tests/oos.sh
lustre/tests/oos2.sh [new file with mode: 0644]
lustre/tests/recovery-cleanup.sh
lustre/tests/runiozone
lustre/tests/sanity.sh
lustre/tests/sanityN.sh
lustre/utils/lconf
lustre/utils/obd.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c