diff options
author | Naohiro Aota <naohiro.aota@wdc.com> | 2019-12-01 02:49:56 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-12-01 15:29:18 +0100 |
commit | 12d2966d854bb0be1433032cedcb71b6b620bfc7 (patch) | |
tree | 2704a905b2e9904e0028f111be94720789db18a4 /Documentation/isdn | |
parent | mm/gup.c: fix comments of __get_user_pages() and get_user_pages_remote() (diff) | |
download | linux-12d2966d854bb0be1433032cedcb71b6b620bfc7.tar.xz linux-12d2966d854bb0be1433032cedcb71b6b620bfc7.zip |
mm, swap: disallow swapon() on zoned block devices
A zoned block device consists of a number of zones. Zones are either
conventional and accepting random writes or sequential and requiring
that writes be issued in LBA order from each zone write pointer
position. For the write restriction, zoned block devices are not
suitable for a swap device. Disallow swapon on them.
[akpm@linux-foundation.org: reflow and reword comment, per Christoph]
Link: http://lkml.kernel.org/r/20191015085814.637837-1-naohiro.aota@wdc.com
Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: "Theodore Y. Ts'o" <tytso@mit.edu>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/isdn')
0 files changed, 0 insertions, 0 deletions