linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: linux-ext4@vger.kernel.org
Subject: [Bug 50021] ext4 discard option not working on journal dissabled filesystem
Date: Mon,  5 Nov 2012 13:50:28 +0000 (UTC)	[thread overview]
Message-ID: <20121105135028.9B60311FB5A@bugzilla.kernel.org> (raw)
In-Reply-To: <bug-50021-13602@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=50021


Tao Ma <tm@tao.ma> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tm@tao.ma




--- Comment #1 from Tao Ma <tm@tao.ma>  2012-11-05 13:50:28 ---
Interesting, it works fine here with my intel ssd.
So could you please do:
1. mount -t debugfs none /sys/kernel/debug/
2. echo 1 > /sys/kernel/debug/tracing/events/ext4/ext4_discard_blocks/enable 
3. run you test
4. after 'rm', do
cat /sys/kernel/debug/tracing/trace

If your see something like 
jbd2/sdb2-8-23853 [000] .... 30125.695303: ext4_discard_blocks: dev 8,18 blk
34816 count 3072
              rm-23870 [000] .... 30130.908415: ext4_discard_blocks: dev 8,17
blk 34816 count 3072

(The first one is captured by the device with journal and the second one is
captured by the device without journal).
Then that does mean ext4 has sent out the discard command to the underlying
device.

btw, my kernel version is 3.6.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

  reply	other threads:[~2012-11-05 13:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-03 23:22 [Bug 50021] New: ext4 discard option not working on journal dissabled filesystem bugzilla-daemon
2012-11-05 13:50 ` bugzilla-daemon [this message]
2012-11-05 13:58 ` [Bug 50021] " bugzilla-daemon
2012-11-05 14:13 ` bugzilla-daemon
2012-11-05 17:35 ` bugzilla-daemon
2012-11-05 18:00 ` bugzilla-daemon

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=20121105135028.9B60311FB5A@bugzilla.kernel.org \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=linux-ext4@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).