mbox series

[0/7] ext4: fix up shutdown handling

Message ID 20180220023038.19883-1-tytso@mit.edu
Headers show
Series ext4: fix up shutdown handling | expand

Message

Theodore Ts'o Feb. 20, 2018, 2:30 a.m. UTC
These patches improve ext4's shutdown handling.  Most of the problems
that show up when running generic/388 with a single CPU have been
addressed.  (There are still problems when running with 2 or more
CPU's.)

Theodore Ts'o (7):
  ext4: add tracepoints for shutdown and file system errors
  jbd2: clarify bad journal block checksum message
  ext4: shutdown should not prevent get_write_access
  ext4: eliminate sleep from shutdown ioctl
  ext4: pass -ESHUTDOWN code to jbd2 layer
  jbd2: if the journal is aborted then don't allow update of the log
    tail
  ext4: don't update checksum of new initialized bitmaps

 fs/ext4/balloc.c            |  3 +--
 fs/ext4/ext4_jbd2.c         |  7 -------
 fs/ext4/ialloc.c            | 47 +++------------------------------------------
 fs/ext4/ioctl.c             |  9 ++++-----
 fs/ext4/super.c             |  4 ++++
 fs/jbd2/journal.c           | 30 ++++++++++++++++++++++-------
 fs/jbd2/recovery.c          |  4 ++--
 include/trace/events/ext4.h | 43 +++++++++++++++++++++++++++++++++++++++++
 8 files changed, 80 insertions(+), 67 deletions(-)