Skip to contentSkip to conversation

REQ_META and Reliable write in eMMC

DISCUSSION Luca Porzio (lporzio) 2 participants 2 messages Oct 20, 2015

lore
Share & tools
lore
#0 lore raw

Hi,

By discussing in the MELS (Mobile & Embedded Linux Storage Forum) we are deciding whether it is ok to remove the bonding between REQ_META and "Reliable Write" in eMMC devices. We already got a first positive ack from FS developers here http://comments.gmane.org/gmane.linux.file-systems/97219

Quoted 6 lines

This performance impact comes from the existing MMC SW driver solution where each IO request marked with REQ_META is handled as a "Reliable Write" operation.
Pretty much as a as a FUA write access, a "Reliable write" means that the data will be written to the non-volatile memory.
Due to the fact that every REQ_META is immediately bypassing the internal cache of eMMC device, write performance is affected significantly.

Wanted also to check for side effects on F2FS.
Please advise how critical is to send REQ_META as "Reliable Write"? Can REQ_META be sent as a regular Write operation?

Thanks,
Luca Porzio
Micron

------------------------------------------------------------------------------

#1 lore raw

Hi,

Quoted 11 lines

-----Original Message-----
From: Luca Porzio (lporzio) [mailto:[email protected]]
Sent: Tuesday, October 20, 2015 4:05 PM
To: [email protected]; [email protected]
Cc: ([email protected]); [email protected]; Ulf Hansson ([email protected]); [email protected]; ([email protected]); [email protected]; Ulf Hansson ([email protected]); [email protected]
Subject: [f2fs-dev] REQ_META and Reliable write in eMMC

Hi,

Quoted 9 lines

By discussing in the MELS (Mobile & Embedded Linux Storage Forum) we are deciding whether it is ok to remove the bonding between REQ_META and "Reliable Write" in eMMC devices. We already got a first positive ack from FS developers here
http://comments.gmane.org/gmane.linux.file-systems/97219

Quoted 1 line

This performance impact comes from the existing MMC SW driver solution where each IO request

marked with

Quoted 2 lines

REQ_META is handled as a "Reliable Write" operation.
Pretty much as a as a FUA write access, a "Reliable write" means that the data will be

written

Quoted 3 lines

to the

Quoted 2 lines

non-volatile memory.
Due to the fact that every REQ_META is immediately bypassing the internal cache of eMMC

device,

Quoted 5 lines

write

Quoted 1 line

performance is affected significantly.

Wanted also to check for side effects on F2FS.
Please advise how critical is to send REQ_META as "Reliable Write"?

I don't think this kind 'Reliable' optimization should be done in eMMC for f2fs, since f2fs has already kept the write reliable by using WRITE_FLUSH | WRITE_FLUSH_FUA.

Quoted 1 line

Can REQ_META be sent as a regular Write operation?

Yes, I think so.

Thanks,

Quoted 10 lines

Thanks,
Luca Porzio
Micron

------------------------------------------------------------------------------
_______________________________________________
Linux-f2fs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel

------------------------------------------------------------------------------