Contributed fix from ASANO Masahiro <masano@xxxxxxxxxxxxxx>, for the
case where we are going to get multiple I/O completions from the
driver under pagebuf, set the expected completion count in one go
rather than incrementing it as we submit requests. Otherwise we
can get multiple I/O completions which get treated as the last one.
Date: Mon Oct 28 07:23:11 PST 2002
Workarea: jen.americas.sgi.com:/src/lord/xfs-linux.2.4
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:131215a
linux/fs/xfs/pagebuf/page_buf.c - 1.73
- set psync->remain in one go rather than incrementing it several
times.
|