Whamcloud - gitweb
Fixes for remaining POSIX failures, except utime 4.
authoradilger <adilger>
Fri, 18 Jul 2003 00:05:10 +0000 (00:05 +0000)
committeradilger <adilger>
Fri, 18 Jul 2003 00:05:10 +0000 (00:05 +0000)
commitdbdc115f775f7bdc78c9b9c08bdcd50d6d4b6caa
treee1114e8aa8e489ddc1c3fecb6e2198f364d54645
parent3d54fbc134de54cc6b1c0d3ab10d07ec578b2c5b
Fixes for remaining POSIX failures, except utime 4.
- set the ATTR_MTIME and ATTR_CTIME flags if truncating, so that we update
  the mtime on either the MDS or OST (depending where we are storing the size)
- check the original ia_valid flag, and not the modified attr->ia_valid flag
  for utime changes
- add a CERROR for ll_truncate() called without a LOV EA (should never happen
  any more)
- do an OST setattr RPC for either MTIME or MTIME_SET flags
- quiet CERRORs for permission problems
- fix another bogus "don't fail if not EPERM" check (we would only have hit
  that if we had data corruption on the wire or on disk)
- allow obdo_refresh_inode() to update IO blocksize.
- fix up some error messages in sanity.sh and sanityN.sh
lustre/llite/llite_lib.c