[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <yq1a7v31l7i.fsf@oracle.com>
Date: Mon, 19 Mar 2018 23:26:25 -0400
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Jianchao Wang <jianchao.w.wang@...cle.com>
Cc: lduncan@...e.com, cleech@...hat.com, jejb@...ux.vnet.ibm.com,
martin.petersen@...cle.com, open-iscsi@...glegroups.com,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: iscsi_tcp: set BDI_CAP_STABLE_WRITES when data digest enabled
Jianchao,
> 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.
Applied to 4.16/scsi-fixes. Thanks!
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists