Whamcloud - gitweb
b=22755 more grant fixes
authorJohann Lombardi <johann@sun.com>
Wed, 23 Jun 2010 09:24:43 +0000 (11:24 +0200)
committerJohann Lombardi <johann@sun.com>
Wed, 23 Jun 2010 09:24:43 +0000 (11:24 +0200)
commit440047b8f7af312f34a6e1f8f0bf7e828726dc1a
treed32bd81fce9976f2e39bdadc815771cacad8b464
parent45c29fed5abb854f30664d150b8cfcff8b7567a1
b=22755 more grant fixes

i=oleg
i=wangdi

- 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);
- add OBD_FL_MMAP 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