Improve async I/O latency for SSD-like storage (credit: ts1506)
ashmem: avoid deadlock between read and mmap calls
deadline: Allow 0ms deadline latency, increase the read speed
ext4: fix ext4_end_io_dio() racing against fsync()

We need to make sure iocb->private is cleared *before* we put the
io_end structure on i_completed_io_list.  Otherwise fsync() could
potentially run on another CPU and free the iocb structure out from
under us.

Reported-by: Kent Overstreet <koverstreet@google.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@kernel.org

commit b45c13576670e24a340c978aa470cb2e5994f937 1 parent 7ddb52a7e8
pinpong authored 8 hours ago
+ ext4: optimize ext4_ext_convert_to_initialized() -> https://github.com/DerTeufel/samsung-kernel-aries/commit/e9450b66b4400dd2ec3dec72f2d75401472f4b3b
+ ext4: optimize memmmove lengths in extent/index insertions -> https://github.com/DerTeufel/samsung-kernel-aries/commit/cdd09c6c71bb4519c5dfa1a04924d37e7a75cda5
+ NOATIME and NODIRATIME by default -> https://github.com/DerTeufel/samsung-kernel-aries/commit/6c0c048f39c64c932cbee050bc8ec7ac54a898cf
REALTIME by default changed to NOATIME! boost to battery save and I/O speed!
ext4: ignore journalled data options on remount if fs has no journal

This avoids a confusing failure in the init scripts when the
/etc/fstab has data=writeback or data=journal but the file system does
not have a journal.  So check for this case explicitly, and warn the
user that we are ignoring the (pointless, since they have no journal)
data=* mount option.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
(cherry picked from commit eb513689c97e3e73bb9b4459d490a8e894b4a546)
tmpfs: enable NOSEC optimization

Let tmpfs into the NOSEC optimization (avoiding file_remove_suid()
overhead on most common writes): set MS_NOSEC on its superblocks.

Signed-off-by: Hugh Dickins <hughd@google.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>