All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konstantin Dorfman <kdorfman@codeaurora.org>
To: Prasanna NAVARATNA <prasanna.navaratna@gmail.com>
Cc: linux-mmc@vger.kernel.org
Subject: Re: help with 'discard' mount option on eMMC
Date: Thu, 10 Oct 2013 11:53:25 +0300	[thread overview]
Message-ID: <52566B05.3000204@codeaurora.org> (raw)
In-Reply-To: <loom.20131010T083357-685@post.gmane.org>

Hello,
Could you please post kernel log of such failure?
What hw are you using?

On 10/10/13 09:44, Prasanna NAVARATNA wrote:
> Hello,
>
> I'm using Hynix eMMC4.41 with Linux kernel 3.4.5.
>
> After mounting ext4 partition /userdata with 'discard' mount option enabled,
> fs triggers TRIM commands to eMMC after every file deletion. With this
> setup, for a continuous reboot test (5s awake and issue reboot and repeat)
> with 10 or 20 iterations, i see data corruption in eMMC consistently.
>
> mount options are :- noatime,nosuid,nodev,noauto_da_alloc,discard
> encryptable="path"
>
> What am i missing here? if 'discard' mount option is removed, then no data
> corruption in eMMC for more than 200 iterations. Does TRIM needs some extra
> care? BKOPS is not enabled in eMMC (is bkops mandatory if using TRIM?)
> Apologies, if this is not proper platform to ask such question. Please guide
> and throw some light.
>
> Thanks,
> Prasanna NAVARATNA
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


  reply	other threads:[~2013-10-10  8:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-10  6:44 help with 'discard' mount option on eMMC Prasanna NAVARATNA
2013-10-10  8:53 ` Konstantin Dorfman [this message]
2013-10-10  9:40   ` Prasanna NAVARATNA
2013-10-10 11:17     ` Konstantin Dorfman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52566B05.3000204@codeaurora.org \
    --to=kdorfman@codeaurora.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=prasanna.navaratna@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.