Whamcloud - gitweb
- helper lov_stripe_size() calculates apparent file size from each stripe
authoradilger <adilger>
Wed, 16 Oct 2002 20:13:39 +0000 (20:13 +0000)
committeradilger <adilger>
Wed, 16 Oct 2002 20:13:39 +0000 (20:13 +0000)
commitb91e8a108cffb78db983d3be0238fef7043eb4b4
treed6a13d0f50ca68087792e5af9b9e5c9a0f083198
parent0d646e7ee7be8c8c28a27120f9db4231e3e0cde7
- helper lov_stripe_size() calculates apparent file size from each stripe
- helper lov_merge_attrs() uses lov_stripe_size() and also merges other attrs
- lov_getattr() and lov_open() use lov_merge_attrs() to return size+blocks
- fix lov_stripe_offset() to work properly for truncate up operations
- don't allocate obdos on the stack if we can avoid it
- lov_setattr() is not being used - add LBUG() to ensure we notice when/if
  it does start being used and do a code audit for correctness
lustre/lov/lov_obd.c