Whamcloud - gitweb
b=9919
authoralex <alex>
Tue, 3 Jan 2006 19:10:41 +0000 (19:10 +0000)
committeralex <alex>
Tue, 3 Jan 2006 19:10:41 +0000 (19:10 +0000)
commitf78186c261220731efa605877bc171e673b4f888
tree027af07afe2d53bddc60f74d4ac7342a36c8e701
parentb49635cd9f7d86ccac20468f68b8bd54385fda21
b=9919
r=nikita (original fix)

hijacks pages from struct brw_page (allocated by echo_client_kbrw()) by filter_brw(). This

 - fixes problem introduced by 5137 (filter_preprw_*() assumes that pages are preallocated),

 - avoids duplicate allocation,

 - avoids data copying.

Also fixes small defect in filter_iobuf_get().
lustre/obdfilter/filter.c
lustre/obdfilter/filter_io.c