Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1434466 > unrolled thread
| Started by | "Pranay Kr. Srivastava" <pranjas@gmail.com> |
|---|---|
| First post | 2016-06-30 13:20 +0200 |
| Last post | 2016-06-30 13:20 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH 0/1]ext4: Fix for WARN_ON_ONCE when marking buffer dirty "Pranay Kr. Srivastava" <pranjas@gmail.com> - 2016-06-30 13:20 +0200
| From | "Pranay Kr. Srivastava" <pranjas@gmail.com> |
|---|---|
| Date | 2016-06-30 13:20 +0200 |
| Subject | [PATCH 0/1]ext4: Fix for WARN_ON_ONCE when marking buffer dirty |
| Message-ID | <rPIaJ-to-1@gated-at.bofh.it> |
1) Fix WARN_ON_ONCE when marking buffer dirty it's possible that a writeback for the super block buffer head is triggered after setting the buffer uptodate on a buffer write_io_error. If however there's an error while writing the buffer head then the buffer is cleared from being uptodate. If the buffer uptodate is not set while calling mark_buffer_dirty, it throws a WARN_ON_ONCE. This patch fixes it by locking the buffer while marking the buffer uptodate and then marking it dirty while holding the buffer head lock. Pranay Kr. Srivastava (5): Fix WARN_ON_ONCE when marking buffer dirty fs/ext4/super.c | 30 +++++----- 1 files changed, 16 insertions(+), 14 deletions(-) -- 1.9.1
Back to top | Article view | linux.kernel
csiph-web