summaryrefslogtreecommitdiff
path: root/fs/pnode.h
diff options
context:
space:
mode:
authorJianchao Wang <jianchao.w.wang@oracle.com>2018-03-07 15:29:03 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2018-03-20 06:25:55 +0300
commit89d0c804392bb962553f23dc4c119d11b6bd1675 (patch)
tree70e2a614109b323eab2e89ba412b4f1d13ed1f87 /fs/pnode.h
parent597d74005ba85e87c256cd732128ebf7faf54247 (diff)
downloadlinux-89d0c804392bb962553f23dc4c119d11b6bd1675.tar.xz
scsi: iscsi_tcp: set BDI_CAP_STABLE_WRITES when data digest enabled
iscsi tcp will first send out data, then calculate and send data digest. If we don't have BDI_CAP_STABLE_WRITES, the page cache will be written in spite of the on going writeback. Consequently, wrong digest will be got and sent to target. To fix this, set BDI_CAP_STABLE_WRITES when data digest is enabled in iscsi_tcp .slave_configure callback. Signed-off-by: Jianchao Wang <jianchao.w.wang@oracle.com> Acked-by: Chris Leech <cleech@redhat.com> Acked-by: Lee Duncan <lduncan@suse.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'fs/pnode.h')
0 files changed, 0 insertions, 0 deletions