-
Notifications
You must be signed in to change notification settings - Fork 0
block: Generalize physical entry definition #379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Upstream branch: d6bf992 |
80c2919 to
970ade9
Compare
|
Upstream branch: d6bf992 |
fa7e029 to
c78afa3
Compare
|
Upstream branch: d6bf992 |
c78afa3 to
f6caac8
Compare
970ade9 to
aacda7e
Compare
|
Upstream branch: 5674abb |
f6caac8 to
a77bacc
Compare
aacda7e to
926da5e
Compare
|
Upstream branch: 5674abb |
a77bacc to
df6540a
Compare
926da5e to
95dab1c
Compare
|
Upstream branch: ca289ff |
df6540a to
ce7d5ea
Compare
|
Upstream branch: fd196ce |
ce7d5ea to
531252e
Compare
* io_uring-6.19: io_uring/kbuf: use READ_ONCE() for userspace-mapped memory io_uring/rsrc: fix lost entries after cloned range io_uring/rsrc: rename misleading src_node variable in io_clone_buffers() io_uring/rsrc: clean up buffer cloning arg validation io_uring/trace: rename io_uring_queue_async_work event "rw" field io_uring/io-wq: always retry worker create on ERESTART* io_uring/poll: correctly handle io_poll_add() return value on update
* block-6.19: (27 commits) nvme-fabrics: add ENOKEY to no retry criteria for authentication failures nvme-auth: use kvfree() for memory allocated with kvcalloc() nvmet-tcp: use kvcalloc for commands array nvmet-rdma: use kvcalloc for commands and responses arrays nvme: fix typo error in nvme target nvmet-fc: use pr_* print macros instead of dev_* nvmet-fcloop: remove unused lsdir member. nvmet-fcloop: check all request and response have been processed nvme-fc: check all request and response have been processed block: fix memory leak in __blkdev_issue_zero_pages block: fix comment for op_is_zone_mgmt() to include RESET_ALL block: Clear BLK_ZONE_WPLUG_PLUGGED when aborting plugged BIOs blk-mq: Abort suspend when wakeup events are pending blk-mq: add blk_rq_nr_bvec() helper block: add IOC_PR_READ_RESERVATION ioctl block: add IOC_PR_READ_KEYS ioctl nvme: reject invalid pr_read_keys() num_keys values scsi: sd: reject invalid pr_read_keys() num_keys values block: enable per-cpu bio cache by default block: use bio_alloc_bioset for passthru IO by default ...
* io_uring-6.19: io_uring/kbuf: use WRITE_ONCE() for userspace-shared buffer ring fields
* io_uring-6.19: io_uring/poll: unify poll waitqueue entry and list removal
edb27fa to
4c31a29
Compare
This patch changes the length variables from unsigned int to size_t. Using size_t ensures that we can handle larger sizes, as size_t is always equal to or larger than the previously used u32 type. Originally, u32 was used because blk-mq-dma code evolved from scatter-gather implementation, which uses unsigned int to describe length. This change will also allow us to reuse the existing struct phys_vec in places that don't need scatter-gather. Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Move the struct phys_vec definition from block/blk-mq-dma.c to include/linux/types.h to make it available for use across the kernel. The phys_vec structure represents a physical address range with a length, which is used by the new physical address-based DMA mapping API. This structure is already used by the block layer and will be needed for DMA phys API users. Moving this definition to types.h provides a centralized location for this common data structure and eliminates code duplication across subsystems that need to work with physical address ranges. Signed-off-by: Leon Romanovsky <leonro@nvidia.com> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
|
Upstream branch: 2690a55 |
531252e to
ce186b4
Compare
4c31a29 to
99f0533
Compare
|
Upstream branch: d5c670d |
|
Upstream branch: d5c670d |
|
Github failed to update this PR after force push. Close it. |
Pull request for series with
subject: block: Generalize physical entry definition
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1023856