Re: [RFT PATCH] mmc: block: implement REQ_OP_WRITE_ZEROES

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Shawn, Christoph,
On Monday 28 May 2018 01:19 PM, Shawn Lin wrote:
> card->erased_byte read from SCR(for SD cards) or EXT_CSD[181](for eMMC)
> indicates whether the TRIM or ERASE make the erased data content zeros,
> but DISCARD doesn't. Use the fact to implement REQ_OP_WRITE_ZEROES.
> 
> Cc: Faiz Abbas <faiz_abbas@xxxxxx>
> Cc: Christoph Hellwig <hch@xxxxxx>
> Signed-off-by: Shawn Lin <shawn.lin@xxxxxxxxxxxxxx>
> ---
> Hi Faiz,
> Would you like to test this patch to see if it could
> solve your performance drop on the first write after
> filesystem creation?
> 

This patch doesn't fix the issue for me. I tested it on the latest
master. I should get to further analyzing this by early next week.

Log (notice first throughput lower than others):
https://pastebin.ubuntu.com/p/NmZqzwfNjz/

Thanks,
Faiz
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux