commit | 06a426cee9b35505aeb7516a67bd26496ca7ed08 | [log] [tgz] |
---|---|---|
author | Mike Snitzer <snitzer@redhat.com> | Thu Aug 12 04:14:09 2010 +0100 |
committer | Alasdair G Kergon <agk@redhat.com> | Thu Aug 12 04:14:09 2010 +0100 |
tree | 008d8d20b667b195dbe7e53a53e5003aec0a0a5f | |
parent | 5ae89a8720c28caf35c4e53711d77df2856c404e [diff] |
dm: use common __issue_target_request for flush and discard support Rename __flush_target to __issue_target_request now that it is used to issue both flush and discard requests. Introduce __issue_target_requests as a convenient wrapper to __issue_target_request 'num_flush_requests' or 'num_discard_requests' times per target. Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com>