Whamcloud - gitweb
silence can_merge_pages() about OBD_BRW_SYNC
authornikita <nikita>
Tue, 17 Feb 2009 18:50:38 +0000 (18:50 +0000)
committernikita <nikita>
Tue, 17 Feb 2009 18:50:38 +0000 (18:50 +0000)
commit84495601f9401b0288c8a8acab656a94a64408c2
treef927e912b5b5e7d29896d335f7aba3959141faa7
parent110dae76e37429fd632b2cb0046d7114ff6fe0a1
silence can_merge_pages() about OBD_BRW_SYNC

OBD_BRW_SYNC means that a page is a part of a synchronous transfer and hence does not consume
grant. It is fine to mix pages with and without OBD_BRW_SYNC in the same brw vector. Comment
OBD_BRW_SYNC and update can_merge_pages().

(Also add sanity checks to osc_page_transfer_add(), while we are here.)

b=18393
i=alexey.lyashkov@sun.com
i=adilger@sun.com
lustre/include/lustre/lustre_idl.h
lustre/osc/osc_page.c
lustre/osc/osc_request.c