From: Linus Torvalds <torvalds@linux-foundation.org>
To: Milan Broz <mbroz@redhat.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Read O_DIRECT regression in 3.7-rc8 (bisected)
Date: Fri, 7 Dec 2012 16:57:48 -0800 (PST) [thread overview]
Message-ID: <alpine.LFD.2.02.1212071656190.4272@air.linux-foundation.org> (raw)
In-Reply-To: <alpine.LFD.2.02.1212071640510.24455@air.linux-foundation.org>
On Fri, 7 Dec 2012, Linus Torvalds wrote:
>
> This (TOTALLY UNTESTED) patch adds it the same iov_shorten() logic that
> the write side has. It does it differently (in fs/block_dev.c rather than
> in mm/filemap.c), but I actually suspect this is a nicer way to do it, and
> maybe we should do the write side truncation this way too.
Ok, rebooted and tested with your test-case, and it seems to work fine.
But I presume that you actually found the problem some other way, so you'd
want to verify that it fixes whatever original bigger issue you hit.
Thanks,
Linus
next prev parent reply other threads:[~2012-12-08 0:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-07 23:55 Milan Broz
2012-12-08 0:48 ` Linus Torvalds
2012-12-08 0:57 ` Linus Torvalds [this message]
2012-12-08 8:53 ` Milan Broz
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=alpine.LFD.2.02.1212071656190.4272@air.linux-foundation.org \
--to=torvalds@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mbroz@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
all inboxes | Powered by JetHome®