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

+Alex Lemberg

Quoted 26 lines

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

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 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 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, write

Quoted 1 line

performance is affected significantly.

Quoted 7 lines

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 Luca,

Quoted 30 lines · Luca Porzio (lporzio)

+Alex Lemberg

Quoted 28 lines

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

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 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 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, 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"?

As Chao mentioned, it's non-critical.
F2FS sets REQ_META to give a hint where a bio contains FS metadata blocks to storage, which is not related to FS consistency.

Quoted 1 line
Quoted 1 line

Can REQ_META be sent as a regular Write operation?

Yup.

Thanks,

Quoted 4 lines
Quoted 4 lines

Thanks,
Luca Porzio
Micron

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