From: Jens Axboe <axboe@kernel.dk>
To: Asias He <asias@redhat.com>
Cc: fio@vger.kernel.org
Subject: Re: Why fio triggers reading of device serial number
Date: Fri, 18 May 2012 12:00:56 +0200 [thread overview]
Message-ID: <4FB61DD8.7020800@kernel.dk> (raw)
In-Reply-To: <4FB5EC0B.7010304@redhat.com>
On 05/18/2012 08:28 AM, Asias He wrote:
> Hi, List
>
> I noticed that fio triggers reading of device serial number when fio
> starts (one read) and stops (lots of read). I was wondering if fio was
> reading the sysfs attribute directly in fio's code,
> e.g./sys/block/vda/serial, or it triggered something which make udevd to
> read it.
>
> trace-cmd shows it seems udevd is reading:
>
> udevd-6856 [006] xxx: function: dev_attr_show
> udevd-6856 [006] xxx: function: virtblk_serial_show
>
> Any ideas? Thanks.
Probably mtime changing of the special file inode, causing some udev
rule to attempt to re-read the id/serial. Fio doesn't read the serial
number.
--
Jens Axboe
next prev parent reply other threads:[~2012-05-18 10:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4FB5EA0D.7030402@redhat.com>
2012-05-18 6:28 ` Why fio triggers reading of device serial number Asias He
2012-05-18 10:00 ` Jens Axboe [this message]
2012-05-18 14:10 ` Asias He
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=4FB61DD8.7020800@kernel.dk \
--to=axboe@kernel.dk \
--cc=asias@redhat.com \
--cc=fio@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