2023-07-27 |
Yu Kuai | md: enhance checking in md_check_recovery() Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-07-27 |
Yu Kuai | md: wake up 'resync_wait' at last in md_reap_sync_thread() Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-07-27 |
Yu Kuai | md: refactor idle/frozen_sync_thread() to fix deadlock Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-07-27 |
Yu Kuai | md: add a mutex to synchronize idle and frozen in action_store() Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-07-27 |
Yu Kuai | md: refactor action_store() for 'idle' and 'frozen' Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-07-27 |
Yu Kuai | Revert "md: unlock mddev before reap sync_thread in... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-26 |
Yu Kuai | blk-sysfs: add a new attr_group for blk_mq Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-26 |
Yu Kuai | blk-iocost: move wbt_enable/disable_default() out of... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-26 |
Yu Kuai | blk-wbt: cleanup rwb_enabled() and wbt_disabled() Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-26 |
Yu Kuai | blk-wbt: remove dead code to handle wbt enable/disable... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-26 |
Yu Kuai | blk-wbt: don't create wbt sysfs entry if CONFIG_BLK_WBT... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-23 |
Yu Kuai | raid10: avoid spin_lock from fastpath from raid10_unplug() Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-23 |
Yu Kuai | md: fix 'delete_mutex' deadlock Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-23 |
Yu Kuai | md/raid1-10: fix casting from randomized structure... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-23 |
Yu Kuai | scsi/sg: don't grab scsi host module reference Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-20 |
Yu Kuai | reiserfs: fix blkdev_put() warning from release_journal_dev() Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-20 |
Yu Kuai | block: fix wrong mode for blkdev_get_by_dev() from... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-15 |
Yu Kuai | block: fix blktrace debugfs entries leakage Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-15 |
Yu Kuai | scsi: sg: fix blktrace debugfs entries leakage Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-15 |
Yu Kuai | blktrace: use inline function for blk_trace_remove... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-13 |
Yu Kuai | md/raid1-10: limit the number of plugged bio Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-13 |
Yu Kuai | md/raid1-10: don't handle pluged bio by daemon thread Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-13 |
Yu Kuai | md/md-bitmap: add a new helper to unplug bitmap asynchrously Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-13 |
Yu Kuai | md/raid1-10: submit write io directly if bitmap is... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-13 |
Yu Kuai | md/raid1-10: factor out a helper to submit normal write Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-13 |
Yu Kuai | md/raid1-10: factor out a helper to add bio to plug Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-13 |
Yu Kuai | md/raid10: prevent soft lockup while flush writes Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-13 |
Yu Kuai | md/raid5: don't start reshape when recovery or replace... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-13 |
Yu Kuai | md: protect md_thread with rcu Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-13 |
Yu Kuai | md/bitmap: factor out a helper to set timeout Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-13 |
Yu Kuai | md/bitmap: always wake up md_thread in timeout_store Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-13 |
Yu Kuai | dm-raid: remove useless checking in raid_message() Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-13 |
Yu Kuai | md: factor out a helper to wake up md_thread directly Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-13 |
Yu Kuai | md: fix duplicate filename for rdev Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-13 |
Yu Kuai | md/raid5: fix a deadlock in the case that reshape is... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-13 |
Yu Kuai | md: add a new api prepare_suspend() in md_personality Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-13 |
Yu Kuai | md: export md_is_rdwr() and is_md_suspended() Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-13 |
Yu Kuai | md: fix data corruption for raid456 when reshape restart... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-13 |
Yu Kuai | md/raid5: don't allow replacement while reshape is... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-12 |
Yu Kuai | blk-mq: fix potential io hang by wrong 'wake_batch' Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-07 |
Yu Kuai | blk-ioc: fix recursive spin_lock/unlock_irq() in ioc_clear_q... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-06-01 |
Yu Kuai | blk-ioc: protect ioc_destroy_icq() by 'queue_lock' Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-05-24 |
Yu Kuai | md/raid5: fix miscalculation of 'end_sector' in raid5_read_o... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-05-23 |
Yu Kuai | block/rq_qos: protect rq_qos apis with a new lock Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-05-23 |
Yu Kuai | blk-wbt: fix that wbt can't be disabled by default Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-04-14 |
Yu Kuai | md/raid10: don't call bio_start_io_acct twice for bio... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-04-14 |
Yu Kuai | md/raid10: fix memleak of md thread Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-04-14 |
Yu Kuai | md/raid10: fix memleak for 'conf->bio_split' Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-04-14 |
Yu Kuai | md/raid10: fix leak of 'r10bio->remaining' for recovery Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-04-14 |
Yu Kuai | md/raid10: don't BUG_ON() in raise_barrier() Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-04-14 |
Yu Kuai | md: fix soft lockup in status_resync Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-04-07 |
Yu Kuai | block: don't set GD_NEED_PART_SCAN if scan partition... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-03-29 |
Yu Kuai | md: fix regression for null-ptr-deference in __md_stop() Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-03-17 |
Yu Kuai | scsi: scsi_dh_alua: Fix memleak for 'qdata' in alua_activate() Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-03-15 |
Yu Kuai | block: count 'ios' and 'sectors' when io is done for... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-03-08 |
Yu Kuai | block, bfq: fix uaf for 'stable_merge_bfqq' Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-03-07 |
Yu Kuai | block: fix wrong mode for blkdev_put() from disk_scan_partit... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-02-17 |
Yu Kuai | block: fix scan partition for exclusively open device... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-02-17 |
Yu Kuai | block: Revert "block: Do not reread partition table... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-02-07 |
Yu Kuai | block, bfq: cleanup 'bfqg->online' Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-01-30 |
Yu Kuai | block, bfq: fix uaf for bfqq in bic_set_bfqq() Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-01-29 |
Yu Kuai | blk-cgroup: synchronize pd_free_fn() from blkg_free_workfn... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-01-29 |
Yu Kuai | blk-cgroup: support to track if policy is online Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-01-29 |
Yu Kuai | blk-cgroup: dropping parent refcount after pd_free_fn... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-01-29 |
Yu Kuai | blk-iocost: read params inside lock in sysfs apis Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-01-29 |
Yu Kuai | blk-iocost: don't allow to configure bio based device Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-01-29 |
Yu Kuai | blk-iocost: check return value of match_u64() Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-01-17 |
Yu Kuai | blk-cgroup: fix missing pd_online_fn() while activating... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2023-01-16 |
Yu Kuai | block, bfq: switch 'bfqg->ref' to use atomic refcount... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-12-26 |
Yu Kuai | block, bfq: fix uaf for bfqq in bfq_exit_icq_bfqq Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-12-14 |
Yu Kuai | block, bfq: replace 0/1 with false/true in bic apis Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-12-14 |
Yu Kuai | block, bfq: don't return bfqg from __bfq_bic_change_cgroup() Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-12-14 |
Yu Kuai | block, bfq: fix possible uaf for 'bfqq->bic' Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-11-16 |
Yu Kuai | block: don't allow a disk link holder to itself Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-11-16 |
Yu Kuai | block: store the holder kobject in bd_holder_disk Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-11-16 |
Yu Kuai | block: fix use after free for bd_holder_dir Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-11-16 |
Yu Kuai | dm: make sure create and remove dm device won't race... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-11-08 |
Yu Kuai | block, bfq: fix null pointer dereference in bfq_bio_bfqg() Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-11-02 |
Yu Kuai | block, bfq: don't declare 'bfqd' as type 'void *' in... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-11-02 |
Yu Kuai | block, bfq: remove dead code for updating 'rq_in_driver' Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-11-02 |
Yu Kuai | block, bfq: cleanup bfq_activate_requeue_entity() Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-11-02 |
Yu Kuai | block, bfq: factor out code to update 'active_entities' Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-11-02 |
Yu Kuai | block, bfq: remove set but not used variable in __bfq_entity... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-11-01 |
Yu Kuai | block, bfq: cleanup __bfq_weights_tree_remove() Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-11-01 |
Yu Kuai | block, bfq: cleanup bfq_weights_tree add/remove apis Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-11-01 |
Yu Kuai | block, bfq: do not idle if only one group is activated Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-11-01 |
Yu Kuai | block, bfq: refactor the counting of 'num_groups_with_pendin... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-11-01 |
Yu Kuai | block, bfq: record how many queues have pending requests Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-11-01 |
Yu Kuai | block, bfq: support to track if bfqq has pending requests Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-10-24 |
Yu Kuai | blk-wbt: don't enable throttling if default elevator... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-10-24 |
Yu Kuai | elevator: add new field flags in struct elevator_queue Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-10-24 |
Yu Kuai | blk-wbt: don't show valid wbt_lat_usec in sysfs while... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-10-24 |
Yu Kuai | blk-wbt: make enable_state more accurate Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-10-24 |
Yu Kuai | blk-wbt: remove unnecessary check in wbt_enable_default() Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-10-24 |
Yu Kuai | elevator: remove redundant code in elv_unregister_queue() Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-10-24 |
Yu Kuai | blk-iocost: read 'ioc->params' inside 'ioc->lock' in... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-10-24 |
Yu Kuai | blk-iocost: prevent configuration update concurrent... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-10-24 |
Yu Kuai | blk-iocost: don't release 'ioc->lock' while updating... Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-10-24 |
Yu Kuai | blk-iocost: disable writeback throttling Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
2022-10-22 |
Yu Kuai | block: fix memory leak for elevator on add_disk failure Signed-off-by: Yu Kuai <yukuai3@huawei.com>
|
commit | commitdiff | tree |
next |