]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'for-5.18/write-streams-2022-03-18' of git://git.kernel.dk/linux-block
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Mar 2022 18:51:46 +0000 (11:51 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Mar 2022 18:51:46 +0000 (11:51 -0700)
commitbcc4db51af70dda0ab490dfcbd934aa493b05826
tree5b802be4953a1dae421b528d32082e297a17a7cc
parent0ef536bec02deb3c20608bf3e8e2bfed38d830e8
parentfa165ff1d4b6b32e17bfce7f006a07ec8ec6d238
Merge tag 'for-5.18/write-streams-2022-03-18' of git://git.kernel.dk/linux-block

Pull NVMe write streams removal from Jens Axboe:
 "This removes the write streams support in NVMe. No vendor ever really
  shipped working support for this, and they are not interested in
  supporting it.

  With the NVMe support gone, we have nothing in the tree that supports
  this. Remove passing around of the hints.

  The only discussion point in this patchset imho is the fact that the
  file specific write hint setting/getting fcntl helpers will now return
  -1/EINVAL like they did before we supported write hints. No known
  applications use these functions, I only know of one prototype that I
  help do for RocksDB, and that's not used. That said, with a change
  like this, it's always a bit controversial. Alternatively, we could
  just make them return 0 and pretend it worked. It's placement based
  hints after all"

* tag 'for-5.18/write-streams-2022-03-18' of git://git.kernel.dk/linux-block:
  fs: remove fs.f_write_hint
  fs: remove kiocb.ki_hint
  block: remove the per-bio/request write hint
  nvme: remove support or stream based temperature hint
24 files changed:
block/bio.c
block/blk-merge.c
block/blk-mq-debugfs.c
block/blk-mq.c
block/bounce.c
block/fops.c
drivers/md/raid1.c
drivers/md/raid5-ppl.c
drivers/md/raid5.c
drivers/nvme/host/core.c
drivers/nvme/host/nvme.h
fs/aio.c
fs/btrfs/extent_io.c
fs/buffer.c
fs/f2fs/data.c
fs/f2fs/file.c
fs/io_uring.c
fs/iomap/buffered-io.c
fs/iomap/direct-io.c
fs/mpage.c
fs/zonefs/super.c
include/linux/blk_types.h
include/linux/blkdev.h
include/linux/fs.h