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
Showing
- lnet/include/linux/kp30.h 1 addition, 1 deletionlnet/include/linux/kp30.h
- lnet/libcfs/debug.c 2 additions, 2 deletionslnet/libcfs/debug.c
- lustre/ChangeLog 2 additions, 0 deletionslustre/ChangeLog
- lustre/include/linux/lprocfs_status.h 5 additions, 0 deletionslustre/include/linux/lprocfs_status.h
- lustre/include/linux/lustre_export.h 3 additions, 0 deletionslustre/include/linux/lustre_export.h
- lustre/include/linux/lustre_fsfilt.h 14 additions, 3 deletionslustre/include/linux/lustre_fsfilt.h
- lustre/include/linux/lustre_idl.h 20 additions, 9 deletionslustre/include/linux/lustre_idl.h
- lustre/include/linux/lustre_lib.h 1 addition, 0 deletionslustre/include/linux/lustre_lib.h
- lustre/include/linux/lustre_user.h 3 additions, 0 deletionslustre/include/linux/lustre_user.h
- lustre/include/linux/obd.h 13 additions, 16 deletionslustre/include/linux/obd.h
- lustre/include/linux/obd_class.h 9 additions, 9 deletionslustre/include/linux/obd_class.h
- lustre/ldlm/ldlm_extent.c 1 addition, 1 deletionlustre/ldlm/ldlm_extent.c
- lustre/ldlm/ldlm_lib.c 3 additions, 5 deletionslustre/ldlm/ldlm_lib.c
- lustre/ldlm/ldlm_lockd.c 3 additions, 1 deletionlustre/ldlm/ldlm_lockd.c
- lustre/liblustre/super.c 0 additions, 12 deletionslustre/liblustre/super.c
- lustre/llite/file.c 118 additions, 13 deletionslustre/llite/file.c
- lustre/llite/llite_lib.c 26 additions, 26 deletionslustre/llite/llite_lib.c
- lustre/llite/lproc_llite.c 23 additions, 0 deletionslustre/llite/lproc_llite.c
- lustre/llite/rw.c 27 additions, 27 deletionslustre/llite/rw.c
- lustre/llite/rw24.c 8 additions, 9 deletionslustre/llite/rw24.c
Loading
Please register or sign in to comment