diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2024-04-18 01:26:54 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2024-05-03 00:23:30 +0300 |
commit | 798cb7f9aec35460c383eab57b9fa474d999a2eb (patch) | |
tree | fdd00b34c35fe91115fc67745307c1cbf0ad8767 /fs/btrfs/dev-replace.c | |
parent | 3a52c03d1ece8f480d6a6c35d92f7c1c6215d2a6 (diff) | |
download | linux-798cb7f9aec35460c383eab57b9fa474d999a2eb.tar.xz |
swapon(2)/swapoff(2): don't bother with block size
once upon a time that used to matter; these days we do swap IO for
swap devices at the level that doesn't give a damn about block size,
buffer_head or anything of that sort - just attach the page to
bio, set the location and size (the latter to PAGE_SIZE) and feed
into queue.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions