linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrea Arcangeli <aarcange@redhat.com>
To: linux-ext4@vger.kernel.org
Cc: Theodore Tso <tytso@MIT.EDU>, Jan Kara <jack@suse.cz>
Subject: ext4_da_write_end() and copied == 0
Date: Mon, 12 Dec 2011 03:27:06 +0100	[thread overview]
Message-ID: <1323656828-24465-1-git-send-email-aarcange@redhat.com> (raw)

Hi,

I've been triggering ext4 troubles out of some experimental autonuma
code if I set knumad frequency rates very high.

The first patch looks fairly safe, but the second patch I've no idea
if it's correct and if damages stuff instead of fixing it, but clearly
it fixes the -EINVAL problem for me and it looks like to work fine now.

[PATCH 1/2] ext4: avoid hangs in ext4_da_should_update_i_disksize()
[PATCH 2/2] ext4: ext4_discard_partial_page_buffers_no_lock() wrong parameters

If you make alternate fixes for this let me know and I can test
them. I can reproduce both issues instantly.

Thanks,
Andrea

             reply	other threads:[~2011-12-12  2:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-12  2:27 Andrea Arcangeli [this message]
2011-12-12  2:27 ` [PATCH 1/2] ext4: avoid hangs in ext4_da_should_update_i_disksize() Andrea Arcangeli
2011-12-12  3:28   ` Yongqiang Yang
2011-12-12 16:57     ` Andrea Arcangeli
2011-12-13  1:05       ` Yongqiang Yang
2011-12-12 20:27   ` Jan Kara
2011-12-14  2:44   ` Ted Ts'o
2011-12-12  2:27 ` [PATCH 2/2] ext4: ext4_discard_partial_page_buffers_no_lock() wrong parameters Andrea Arcangeli
2011-12-12  3:17   ` Yongqiang Yang
2011-12-12 16:55     ` Andrea Arcangeli
2011-12-12 20:07       ` Allison Henderson
2011-12-13  0:40         ` Andrea Arcangeli
2011-12-13  1:16           ` Yongqiang Yang

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=1323656828-24465-1-git-send-email-aarcange@redhat.com \
    --to=aarcange@redhat.com \
    --cc=jack@suse.cz \
    --cc=linux-ext4@vger.kernel.org \
    --cc=tytso@MIT.EDU \
    /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).