Whamcloud - gitweb
b=22755 more shrink grant fixes
authorCliff White <cliff.white@oracle.com>
Tue, 5 Oct 2010 18:08:32 +0000 (11:08 -0700)
committerVitaly Fertman <vitaly.fertman@sun.com>
Thu, 7 Oct 2010 22:26:16 +0000 (02:26 +0400)
commit593755f5a990388d152ce593fd576a127154b35a
tree4c7a2e60bcd4da5bc33564585a997d50787f723d
parent99cd761456b8aa9d970c3e0ec0b3bc2fb6c7411e
b=22755 more shrink grant fixes

i=di.wang
i=oleg.drokin

- filter_preprw_write() should check for OBD_FL_SHRINK_GRANT in o_flags instead
  of o_valid;
- The grant shrink code should not use o_flags w/o setting OBD_MD_FLFLAGS since
  o_flags can be legitimately reset if OBD_MD_FLFLAGS (e.g. it is done in the
  checksum code);
- OBD_FL_MMAP is added to wiretest & wirecheck
lustre/obdfilter/filter_io.c
lustre/osc/osc_request.c
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c