]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: don't hold spinlock while calling ext4_issue_discard()
authorLukas Czerner <lczerner@redhat.com>
Thu, 28 Oct 2010 01:30:04 +0000 (21:30 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 28 Oct 2010 01:30:04 +0000 (21:30 -0400)
commit166e9c48c74d362ec73fe1f40845806d994b25e9
treef9542d11f725bfb552636f53eab455f917138f47
parentd21e82198830faebc365868273e1caaecd9e3405
ext4: don't hold spinlock while calling ext4_issue_discard()

We can't hold the block group spinlock because we ext4_issue_discard()
calls wait and hence can get rescheduled.

Google-Bug-Id: 3017678

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/mballoc.c