Pull block fixes from Jens Axboe: - NVMe pull request via Keith: - Invalid namespace identification error handling (Marizio Ewan, Keith) - Fabrics keep-alive tuning (Mark) - Fix for a bad error check regression in bcache (Markus) - Fix for a performance regression with O_DIRECT (Ming) - Fix for a flush related deadlock (Ming) - Make the read-only warn on per-partition (Yu) * tag 'block-6.7-2023-12-01' of git://git.kernel.dk/linux: nvme-core: check for too small lba shift blk-mq: don't count completed flush data request as inflight in case of quiesce block: Document the role of the two attribute groups block: warn once for each partition in bio_check_ro() block: move .bd_inode into 1st cacheline of block_device nvme: check for valid nvme_identify_ns() before using it nvme-core: fix a memory leak in nvme_ns_info_from_identify() nvme: fine-tune sending of first keep-alive bcache: revert replacing IS_ERR_OR_NULL with IS_ERR
Showing the changes to include/linux (1 of 6 files). Show all
Unified · Split
| @@ -49,9 +49,10 @@ struct block_device { · 48 unmodified lines | ||
| 49 | 49 | bool bd_write_holder; |
| 50 | 50 | bool bd_has_submit_bio; |
| 51 | 51 | dev_t bd_dev; |
| 52 | + struct inode *bd_inode; /* will die */ | |
| 53 | + | |
| 52 | 54 | atomic_t bd_openers; |
| 53 | 55 | spinlock_t bd_size_lock; /* for bd_inode->i_size updates */ |
| 54 | − struct inode * bd_inode; /* will die */ | |
| 55 | 56 | void * bd_claiming; |
| 56 | 57 | void * bd_holder; |
| 57 | 58 | const struct blk_holder_ops *bd_holder_ops; |
| @@ -69,6 +70,7 @@ struct block_device { · 11 unmodified lines | ||
| 69 | 70 | #ifdef CONFIG_FAIL_MAKE_REQUEST |
| 70 | 71 | bool bd_make_it_fail; |
| 71 | 72 | #endif |
| 73 | + bool bd_ro_warned; | |
| 72 | 74 | /* |
| 73 | 75 | * keep this out-of-line as it's both big and not needed in the fast |
| 74 | 76 | * path |