From: Zhang Yi
Set WZDS and DRB bit to the namespace dlfeat if the underlying block
device supports BLK_FEAT_WRITE_ZEROES_UNMAP, make the nvme target
device supports unmaped write zeroes command.
Signed-off-by: Zhang Yi
---
drivers/nvme/target/io-cmd-bdev.c | 4
include/linux/blkdev.h
On Wed, Apr 02, 2025 at 03:09:34PM +0800, LongPing Wei wrote:
> 1. call blk_flush_plug when cache hit as the address of the subsequent
> bio is no longer contiguous with the previous bio;
> 2. skip cond_resched when ioprio class is rt;
>
> Signed-off-by: LongPing Wei
> ---
> drivers/md/dm-bufio
lo_rw_aio() is only called for READ/WRITE operation, which can be
figured out from request directly, so remove 'rw' parameter from
lo_rw_aio(), meantime rename the local variable as 'dir' which makes
the check more readable in lo_rw_aio().
Meantime add lo_rw_simple() so that do_req_filebacked() ca
From: Yu Kuai
Bitmap is stored in each member disk, the old bitmap implementation is
allocating memory and managing data by itself, read and write will
attach the allocated page to bio for member disks, and a bitmap level
spinlock is used for synchronization
For llbitmap, a hidden disk, named md
From: Yu Kuai
Include following APIs:
- llbitmap_create
- llbitmap_resize
- llbitmap_load
- llbitmap_destroy
Signed-off-by: Yu Kuai
---
drivers/md/md-bitmap.h | 1 +
drivers/md/md-llbitmap.c | 306 +++
2 files changed, 307 insertions(+)
diff --git a
There is nothing for update_uninitialized_path() to do for paths in the
INIT_MISSING_UDEV state. In fact, there shouldn't be any paths in this
state when update_uninitialized_path() is called, since they will have
switched to a different state in check_uninitialized_path().
Signed-off-by: Benjamin
On Tue, Mar 18, 2025 at 03:35:41PM +0800, Zhang Yi wrote:
> From: Zhang Yi
>
> Set the BLK_FEAT_WRITE_ZEROES_UNMAP feature on stacking queue limits by
> default. This feature shall be disabled if any underlying device does
> not support it.
>
Reviewed-by: Benjamin Marzinski
> Signed-off-by: Zh
From: Zhang Yi
The Linux kernel is planning to support FALLOC_FL_WRITE_ZEROES in
fallocate(2). Add tests for the newly added fallocate
FALLOC_FL_WRITE_ZEROES command. This series depends on the changes to
xfs_io [1] that introduced the 'fwzero' command.
- generic/764 is an extension of generic/
On 2025/4/3 1:43, Eric Biggers wrote:
On Wed, Apr 02, 2025 at 03:09:34PM +0800, LongPing Wei wrote:
1. call blk_flush_plug when cache hit as the address of the subsequent
bio is no longer contiguous with the previous bio;
2. skip cond_resched when ioprio class is rt;
Signed-off-by: LongPing W
On Fri, Mar 14, 2025 at 10:11:45AM +0800, Ming Lei wrote:
> Add hint for using IOCB_NOWAIT to handle loop aio command for avoiding
> to cause write(especially randwrite) perf regression on sparse file.
>
> Try IOCB_NOWAIT in the following situations:
>
> - backing file is block device
Why limit
There's a possible race condition in dm-ebs - dm bufio prefetch may be in
progress while the device is suspended. Fix this by calling
dm_bufio_client_reset in the postsuspend hook.
Signed-off-by: Mikulas Patocka
Cc: sta...@vger.kernel.org
---
drivers/md/dm-ebs-target.c |7 +++
1 file ch
On Fri, Mar 21, 2025 at 08:18:16AM +0100, Christoph Hellwig wrote:
> Add support for zoned device by passing through report_zoned to the
> underlying read device.
>
> This is required to make enable xfstests xfs/311 on zoned devices.
On suspend, delay_presuspend() stops delaying and it doesn't gu
At this time, all bios for hash blocks should eventually
be merged into a single large bio.
Signed-off-by: LongPing Wei
---
drivers/md/dm-verity-target.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/md/dm-verity-target.c b/drivers/md/dm-verity-target.c
index 3c427f18a04b..813d
Wrap some code from select_recheck_wwid() in a helper function. A future
patch will call this code from a different function.
Signed-off-by: Benjamin Marzinski
---
libmultipath/discovery.c | 12 +++-
libmultipath/discovery.h | 2 +-
libmultipath/propsel.c | 4 +---
3 files changed, 1
On Mon, 2025-03-31 at 19:17 -0400, Benjamin Marzinski wrote:
> When a new device is added by the multipath command, multipathd may
> know
> of other paths that cannot be added to the device because they are
> currently offline. Instead of ignoring these paths, multipathd will
> now
> re-add them wh
15 matches
Mail list logo