mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
Revert "Revert "ANDROID: scsi: ufs: Disable zoned write pipelining""
The attempts so far to make write pipelining work are unsuccessful.
Revert commit 10d6ef4ce0 until write
pipelining works reliably.
Bug: 274474142
Change-Id: Ie7fd92c40ddefd1803b15329a3b1bd1d94012365
Signed-off-by: Bart Van Assche <bvanassche@google.com>
This commit is contained in:
@@ -5177,7 +5177,9 @@ static int ufshcd_slave_configure(struct scsi_device *sdev)
|
||||
|
||||
ufshcd_hpb_configure(hba, sdev);
|
||||
|
||||
#if 0
|
||||
blk_queue_flag_set(QUEUE_FLAG_PIPELINE_ZONED_WRITES, q);
|
||||
#endif
|
||||
blk_queue_update_dma_pad(q, PRDT_DATA_BYTE_COUNT_PAD - 1);
|
||||
if (hba->quirks & UFSHCD_QUIRK_4KB_DMA_ALIGNMENT)
|
||||
blk_queue_update_dma_alignment(q, 4096 - 1);
|
||||
|
||||
Reference in New Issue
Block a user