Skip to content
Snippets Groups Projects
Commit 30c3a189 authored by Andreas Dilger's avatar Andreas Dilger
Browse files

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
parent 4d22d9a6
No related branches found
No related tags found
Loading
Showing
with 282 additions and 134 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment