From: "Grégoire Pichon" <gregoire.pichon@bull.net>
To: dm-devel@redhat.com
Subject: IO errors when tuning max_sectors_kb value of a dm device
Date: Mon, 04 Apr 2011 18:24:11 +0200 [thread overview]
Message-ID: <4D99F0AB.90406@bull.net> (raw)
Hi all,
If dm-devel is the good list to ask questions, could anyone have a look
at my problem ?
I observe some IO errors on a multipath device for which the
max_sectors_kb parameter has been tunned. Value is increased from the
default (1024) to the value of the hw max sectors (32768).
The following error appears in the system log:
1301326968 2011 Mar 28 17:42:48 berlin4 kern err kernel
blk_rq_check_limits: over max size limit.
Followed by several I/O errors
1301326968 2011 Mar 28 17:42:48 berlin4 kern err kernel
end_request: I/O error, dev dm-10, sector 26624
1301326968 2011 Mar 28 17:42:48 berlin4 kern err kernel
end_request: I/O error, dev dm-10, sector 24576
1301326968 2011 Mar 28 17:42:48 berlin4 kern err kernel
end_request: I/O error, dev dm-10, sector 22528
...
I have seen in the device-mapper source code that when a multipath
device is configured, its limits are computed from a combination of all
the slave devices it uses (dm_calculate_queue_limits()).
Does it mean that tuning the dm device is forbidden ?
Is there way to re-validate the queue limits after the tuning ?
Do you think it would be safe if I additionally tune the max_sectors_kb
parameter of the slave devices ?
Thanks in advance,
Gregoire.
reply other threads:[~2011-04-04 16:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4D99F0AB.90406@bull.net \
--to=gregoire.pichon@bull.net \
--cc=dm-devel@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox