summaryrefslogtreecommitdiffstats
path: root/firmware/mts_cdma.fw.ihex
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2012-12-21 21:23:31 +0100
committerAlasdair G Kergon <agk@redhat.com>2012-12-21 21:23:31 +0100
commitb7ca9c9273e5eebd63880dd8a6e4e5c18fc7901d (patch)
tree8022d8d5f6f03d80896407562b48c554a8cbfa6f /firmware/mts_cdma.fw.ihex
parentdm: disable WRITE SAME (diff)
downloadlinux-b7ca9c9273e5eebd63880dd8a6e4e5c18fc7901d.tar.xz
linux-b7ca9c9273e5eebd63880dd8a6e4e5c18fc7901d.zip
dm thin: replace dm_cell_release_singleton with cell_defer_except
Change existing users of the function dm_cell_release_singleton to share cell_defer_except instead, and then remove the now-unused function. Everywhere that calls dm_cell_release_singleton, the bio in question is the holder of the cell. If there are no non-holder entries in the cell then cell_defer_except behaves exactly like dm_cell_release_singleton. Conversely, if there *are* non-holder entries then dm_cell_release_singleton must not be used because those entries would need to be deferred. Consequently, it is safe to replace use of dm_cell_release_singleton with cell_defer_except. This patch is a pre-requisite for "dm thin: fix race between simultaneous io and discards to same block". Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Cc: stable@vger.kernel.org Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'firmware/mts_cdma.fw.ihex')
0 files changed, 0 insertions, 0 deletions