Jens Axboe
ab9bc81c1c
Revert "block: pre-calculate max_zone_append_sectors"
This causes issue on, at least, nvme-mpath where my boot fails with:
WARNING: CPU: 354 PID: 2729 at block/blk-settings.c:75 blk_validate_limits+0x356/0x380
Modules linked in: tg3(+) nvme usbcore scsi_mod ptp i2c_piix4 libphy nvme_core crc32c_intel scsi_common usb_common pps_core i2c_smbus
CPU: 354 UID: 0 PID: 2729 Comm: kworker/u2061:1 Not tainted 6.12.0-rc6+ #181
Hardware name: Dell Inc. PowerEdge R7625/06444F, BIOS 1.8.3 04/02/2024
Workqueue: async async_run_entry_fn
RIP: 0010:blk_validate_limits+0x356/0x380
Code: f6 47 01 04 75 28 83 bf 94 00 00 00 00 75 39 83 bf 98 00 00 00 00 75 34 83 7f 68 00 75 32 31 c0 83 7f 5c 00 0f 84 9b fd ff ff <0f> 0b eb 13 0f 0b eb 0f 48 c7 c0 74 12 58 92 48 89 c7 e8 13 76 46
RSP: 0018:ffffa8a1dfb93b30 EFLAGS: 00010286
RAX: 0000000000000000 RBX: ffff9232829c8388 RCX: 0000000000000088
RDX: 0000000000000080 RSI: 0000000000000200 RDI: ffffa8a1dfb93c38
RBP: 000000000000000c R08: 00000000ffffffff R09: 000000000000ffff
R10: 0000000000000000 R11: 0000000000000000 R12: ffff9232829b9000
R13: ffff9232829b9010 R14: ffffa8a1dfb93c38 R15: ffffa8a1dfb93c38
FS: 0000000000000000(0000) GS:ffff923867c80000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055c1b92480a8 CR3: 0000002484ff0002 CR4: 0000000000370ef0
Call Trace:
<TASK>
? __warn+0xca/0x1a0
? blk_validate_limits+0x356/0x380
? report_bug+0x11a/0x1a0
? handle_bug+0x5e/0x90
? exc_invalid_op+0x16/0x40
? asm_exc_invalid_op+0x16/0x20
? blk_validate_limits+0x356/0x380
blk_alloc_queue+0x7a/0x250
__blk_alloc_disk+0x39/0x80
nvme_mpath_alloc_disk+0x13d/0x1b0 [nvme_core]
nvme_scan_ns+0xcc7/0x1010 [nvme_core]
async_run_entry_fn+0x27/0x120
process_scheduled_works+0x1a0/0x360
worker_thread+0x2bc/0x350
? pr_cont_work+0x1b0/0x1b0
kthread+0x111/0x120
? kthread_unuse_mm+0x90/0x90
ret_from_fork+0x30/0x40
? kthread_unuse_mm+0x90/0x90
ret_from_fork_asm+0x11/0x20
</TASK>
---[ end trace 0000000000000000 ]---
presumably due to max_zone_append_sectors not being cleared to zero,
resulting in blk_validate_zoned_limits() complaining and failing.
This reverts commit 2a8f6153e1.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-11-07 05:45:34 -07:00
..
2024-10-12 14:55:55 -06:00
2024-10-11 11:32:10 -07:00
2024-09-11 16:02:45 +02:00
2024-10-09 16:21:19 +02:00
2024-10-02 17:23:23 -04:00
2024-10-11 11:26:15 -07:00
2024-09-10 19:52:30 -05:00
2024-11-07 05:45:34 -07:00
2024-10-16 16:10:25 -04:00
2024-09-27 08:48:37 -07:00
2024-10-17 19:47:15 -06:00
2024-10-07 11:33:26 -07:00
2024-10-17 16:24:42 -07:00
2024-09-17 15:27:01 +02:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-10-15 23:54:15 -05:00
2024-09-18 10:49:45 +02:00
2024-10-16 08:42:54 -07:00
2024-10-02 17:23:23 -04:00
2024-10-09 12:47:19 -07:00
2024-10-11 09:55:47 +00:00
2024-09-19 10:18:15 +02:00
2024-09-16 06:36:37 +02:00
2024-09-26 10:13:08 -07:00
2024-10-02 17:23:23 -04:00
2024-10-15 20:39:43 +00:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-09-27 08:18:43 -07:00
2024-10-08 16:01:58 +02:00
2024-10-18 13:53:41 +10:00
2024-10-02 17:23:23 -04:00
2024-10-13 16:35:20 -07:00
2024-09-19 10:18:15 +02:00
2024-10-14 19:14:08 -07:00
2024-09-27 08:18:43 -07:00
2024-10-05 10:31:04 -07:00
2024-09-17 16:51:45 +02:00
2024-09-25 22:30:33 +02:00
2024-10-13 17:23:47 +02:00
2024-10-11 20:49:02 -03:00
2024-10-19 10:18:03 -07:00
2024-10-15 10:17:54 +02:00
2024-10-15 23:54:35 +02:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-09-27 09:11:05 -05:00
2024-11-07 05:45:34 -07:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-09-29 09:22:34 -07:00
2024-10-02 17:23:23 -04:00
2024-10-20 13:10:44 -07:00
2024-10-22 08:14:56 -06:00
2024-10-02 17:23:23 -04:00
2024-10-17 12:14:07 +02:00
2024-10-02 17:23:23 -04:00
2024-09-20 10:51:25 -04:00
2024-09-26 08:43:17 -07:00
2024-11-07 05:45:34 -07:00
2024-09-26 10:13:08 -07:00
2024-10-10 12:43:01 -05:00
2024-10-02 01:27:50 +02:00
2024-10-13 18:17:35 +02:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-10-02 17:23:23 -04:00
2024-10-01 02:47:39 -07:00
2024-09-23 14:05:10 -07:00
2024-10-12 22:04:38 +02:00
2024-10-06 11:11:01 -07:00
2024-10-02 12:38:53 +02:00
2024-10-02 17:23:23 -04:00
2024-10-16 22:34:03 +02:00
2024-09-27 08:18:43 -07:00
2024-10-02 17:23:23 -04:00
2024-09-26 12:00:25 -07:00
2024-09-13 19:08:14 +01:00
2024-09-29 09:53:04 -07:00
2024-09-30 14:24:37 +02:00
2024-09-13 14:09:47 -07:00
2024-10-02 17:23:23 -04:00
2024-10-16 11:32:32 +02:00
2024-09-27 08:18:43 -07:00
2024-11-07 05:45:34 -07:00
2024-09-26 17:25:29 +02:00
2024-10-11 10:03:13 +00:00
2024-09-23 14:00:46 -07:00
2024-10-05 10:25:04 -07:00
2024-10-02 17:23:23 -04:00
2024-10-19 12:52:19 -07:00
2024-10-11 11:41:20 -07:00
2024-09-11 15:17:43 +02:00
2024-10-11 08:39:24 +02:00
2024-10-19 12:52:19 -07:00
2024-09-11 16:02:54 +02:00
2024-10-18 12:11:28 +02:00
2024-10-07 11:33:26 -07:00
2024-09-27 08:18:43 -07:00
2024-10-07 11:33:26 -07:00
2024-10-08 21:47:18 +02:00
2024-09-27 08:18:43 -07:00
2024-10-07 11:33:26 -07:00
2024-10-02 17:23:23 -04:00
2024-10-18 11:59:04 +02:00