-
Notifications
You must be signed in to change notification settings - Fork 0
blk-mq: ABI/sysfs-block: fix docs build warnings #545
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
Open
blktests-ci
wants to merge
32
commits into
for-next_base
Choose a base branch
from
series/1051031=>for-next
base: for-next_base
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Called when copy_process() is called to copy state to a new child. Right now this is just a stub, but will be used shortly to properly handle fork'ing of task based io_uring restrictions. Reviewed-by: Christian Brauner (Microsoft) <brauner@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Currently io_uring supports restricting operations on a per-ring basis. To use those, the ring must be setup in a disabled state by setting IORING_SETUP_R_DISABLED. Then restrictions can be set for the ring, and the ring can then be enabled. This commit adds support for IORING_REGISTER_RESTRICTIONS with ring_fd == -1, like the other "blind" register opcodes which work on the task rather than a specific ring. This allows registration of the same kind of restrictions as can been done on a specific ring, but with the task itself. Once done, any ring created will inherit these restrictions. If a restriction filter is registered with a task, then it's inherited on fork for its children. Children may only further restrict operations, not extend them. Inheriting restrictions include both the classic IORING_REGISTER_RESTRICTIONS based restrictions, as well as the BPF filters that have been registered with the task via IORING_REGISTER_BPF_FILTER. Signed-off-by: Jens Axboe <axboe@kernel.dk>
* for-7.0/block: (108 commits) block: rnull: remove imports available via prelude block: remove bio_last_bvec_all md raid: fix hang when stopping arrays with metadata through dm-raid md-cluster: fix NULL pointer dereference in process_metadata_update md/bitmap: fix GPF in write_page caused by resize race md/md-llbitmap: fix percpu_ref not resurrected on suspend timeout md/raid5: fix IO hang with degraded array with llbitmap md: remove recovery_disabled md/raid10: cleanup skip handling in raid10_sync_request md/raid10: fix any_working flag handling in raid10_sync_request md: move finish_reshape to md_finish_sync() md: factor out sync completion update into helper md: remove MD_RECOVERY_ERROR handling and simplify resync_offset update md: update curr_resync_completed even when MD_RECOVERY_INTR is set md: mark rdev Faulty when badblocks setting fails md: break remaining operations on badblocks set failure in narrow_write_error md/raid1,raid10: support narrow_write_error when badblocks is disabled md: factor error handling out of md_done_sync into helper md/raid1: simplify uptodate handling in end_sync_write md/raid5: make sure max_sectors is not less than io_opt ...
* for-7.0/io_uring: (25 commits) io_uring/rsrc: use GFP_KERNEL_ACCOUNT consistently io_uring/futex: use GFP_KERNEL_ACCOUNT for futex data allocation io_uring/io-wq: handle !sysctl_hung_task_timeout_secs io_uring: fix bad indentation for setup flags if statement io_uring/rsrc: take unsigned index in io_rsrc_node_lookup() io_uring: introduce non-circular SQ io_uring: split out CQ waiting code into wait.c io_uring: split out task work code into tw.c io_uring/io-wq: don't trigger hung task for syzbot craziness io_uring: add IO_URING_EXIT_WAIT_MAX definition io_uring/sync: validate passed in offset io_uring/eventfd: remove unused ctx->evfd_last_cq_tail member io_uring/timeout: annotate data race in io_flush_timeouts() io_uring/uring_cmd: explicitly disallow cancelations for IOPOLL io_uring: fix IOPOLL with passthrough I/O io_uring: track restrictions separately for IORING_OP and IORING_REGISTER io_uring: move ctx->restricted check into io_check_restriction() io_uring/register: set ctx->restricted when restrictions are parsed io_uring/register: have io_parse_restrictions() set restrictions enabled io_uring/register: have io_parse_restrictions() return number of ops ...
* io_uring-bpf-restrictions.4: io_uring: allow registration of per-task restrictions io_uring: add task fork hook io_uring/bpf_filter: add ref counts to struct io_bpf_filter io_uring/bpf_filter: cache lookup table in ctx->bpf_filters io_uring/bpf_filter: allow filtering on contents of struct open_how io_uring/net: allow filtering on IORING_OP_SOCKET data io_uring: add support for BPF filtering for opcode restrictions
Not for upstream, just a merge to help figure out what is going on with syzbot. * io_uring-syzbot-cancel: io_uring: add debug dumping for when the ring can't exit
* for-7.0/io_uring-zcrx-large-buffers: io_uring/zcrx: implement large rx buffer support io_uring/zcrx: document area chunking parameter selftests: iou-zcrx: test large chunk sizes eth: bnxt: support qcfg provided rx page size eth: bnxt: adjust the fill level of agg queues with larger buffers eth: bnxt: store rx buffer size per queue net: pass queue rx page size from memory provider net: add bare bone queue configs net: reduce indent of struct netdev_queue_mgmt_ops members net: memzero mp params when closing a queue
* for-7.0/io_uring: io_uring/net: don't continue send bundle if poll was required for retry
* block-6.19: Revert "rnbd-clt: fix refcount underflow in device unmap path"
* for-7.0/block: rnbd-clt: fix refcount underflow in device unmap path
* for-7.0/block-stable-pages: xfs: use bounce buffering direct I/O when the device requires stable pages iomap: add a flag to bounce buffer direct I/O iomap: support ioends for direct reads iomap: rename IOMAP_DIO_DIRTY to IOMAP_DIO_USER_BACKED iomap: free the bio before completing the dio iomap: share code between iomap_dio_bio_end_io and iomap_finish_ioend_direct iomap: split out the per-bio logic from iomap_dio_bio_iter iomap: simplify iomap_dio_bio_iter iomap: fix submission side handling of completion side errors block: add helpers to bounce buffer an iov_iter into bios block: remove bio_release_page iov_iter: extract a iov_iter_extract_bvecs helper from bio code block: open code bio_add_page and fix handling of mismatching P2P ranges block: refactor get_contig_folio_len block: add a BIO_MAX_SIZE constant and use it
* for-7.0/block: block: Replace snprintf with strscpy in check_partition
* block-6.19: nvme-pci: DMA unmap the correct regions in nvme_free_sgls nvmet: fix race in nvmet_bio_done() leading to NULL pointer dereference
* block-6.19: bcache: fix I/O accounting leak in detached_dev_do_request bcache: remove dead code in detached_dev_do_request
* for-7.0/block: ublk: document IO reference counting design
* for-7.0/block: block: introduce blk_queue_rot() block: cleanup queue limit features definition
* for-7.0/block: block: introduce bdev_rot() ublk: restore auto buf unregister refcount optimization
* for-7.0/block: ublk: remove "can't touch 'ublk_io' any more" comments selftests: ublk: move test temp files into a sub directory selftests: ublk: mark each test start and end time in dmesg selftests: ublk: disable partition scan for integrity tests selftests: ublk: refactor test_null_04 into separate functions selftests: ublk: rename test_generic_15 to test_part_02 selftests: ublk: add selftest for UBLK_F_NO_AUTO_PART_SCAN selftests: ublk: derive TID automatically from script name ublk: add UBLK_F_NO_AUTO_PART_SCAN feature flag ublk: check list membership before cancelling batch fetch command ublk: drop ublk_ctrl_start_recovery() header argument ublk: use READ_ONCE() to read struct ublksrv_ctrl_cmd ublk: Validate SQE128 flag before accessing the cmd
* for-7.0/block: selftests: ublk: improve I/O ordering test with bpftrace selftests: ublk: reorganize tests into integrity and recover groups selftests: ublk: increase timeouts for parallel test execution selftests: ublk: add _ublk_sleep helper for parallel execution selftests: ublk: add group-based test targets selftests: ublk: track created devices for per-test cleanup selftests: ublk: add _ublk_del_dev helper function selftests: ublk: refactor test_loop_08 into separate functions selftests: ublk: simplify UBLK_TEST_DIR handling
* for-7.0/block: blk-mq-debugfs: warn about possible deadlock blk-mq-debugfs: add missing debugfs_mutex in blk_mq_debugfs_register_hctxs() blk-mq-debugfs: remove blk_mq_debugfs_unregister_rqos() blk-mq-debugfs: make blk_mq_debugfs_register_rqos() static blk-rq-qos: fix possible debugfs_mutex deadlock blk-mq-debugfs: factor out a helper to register debugfs for all rq_qos blk-wbt: fix possible deadlock to nest pcpu_alloc_mutex under q_usage_counter blk-wbt: factor out a helper wbt_set_lat() sed-opal: ignore locking ranges array when not enabling SUM. MAINTAINERS: Add Li Nan as md/raid reviewer md: fix return value of mddev_trylock md/raid1: fix memory leak in raid1_run()
* io_uring-6.19: io_uring/zcrx: fix rq flush locking io_uring/zcrx: fix page array leak
* for-7.0/io_uring: io_uring: allow io-wq workers to exit when unused io_uring/io-wq: add exit-on-idle state
* io_uring-syzbot-cancel: io_uring: dump WARN_ON_ONCE()
* for-7.0/block: blk-mq: add documentation for new queue attribute async_dpeth block, bfq: convert to use request_queue->async_depth mq-deadline: covert to use request_queue->async_depth kyber: covert to use request_queue->async_depth blk-mq: add a new queue sysfs attribute async_depth blk-mq: factor out a helper blk_mq_limit_depth() blk-mq-sched: unify elevators checking for async requests block: convert nr_requests to unsigned int block: don't use strcpy to copy blockdev name
Add cond_resched() in those dump loops, just in case a lot of entries are being dumped. And detect invalid CQ ring head/tail entries, to avoid iterating more than what is necessary. Generally not an issue, but can be if things like KASAN or other debugging metrics are enabled. Reported-by: 是参差 <shicenci@gmail.com> Link: https://lore.kernel.org/all/PS1PPF7E1D7501FE5631002D242DD89403FAB9BA@PS1PPF7E1D7501F.apcprd02.prod.outlook.com/ Signed-off-by: Jens Axboe <axboe@kernel.dk>
* io_uring-6.19: io_uring/fdinfo: be a bit nicer when looping a lot of SQEs/CQEs io_uring/fdinfo: kill unnecessary newline feed in CQE32 printing
* for-7.0/io_uring: io_uring: Add SPDX id lines to remaining source files
* for-7.0/block: block: remove redundant kill_bdev() call in set_blocksize()
* for-7.0/block: block: decouple secure erase size limit from discard size limit
* for-7.0/block: selftests: ublk: organize test directories by test ID
Author
|
Upstream branch: e7d8fac |
e8c77cf to
58d4c59
Compare
Author
|
Upstream branch: 47da703 |
Clean up the async_depth documentation: - insert blank lines before and after lists where needed - convert verb tense in a few places - make lines fit within 80 characters Documentation/ABI/stable/sysfs-block:612: ERROR: Unexpected indentation. [docutils] Documentation/ABI/stable/sysfs-block:612: ERROR: Unexpected indentation. [docutils] Documentation/ABI/stable/sysfs-block:612: ERROR: Unexpected indentation. [docutils] Fixes: 2c04718 ("blk-mq: add documentation for new queue attribute async_dpeth") Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
aebf3cc to
356a0d6
Compare
485086f to
30053cb
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull request for series with
subject: blk-mq: ABI/sysfs-block: fix docs build warnings
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1051031