summaryrefslogtreecommitdiffstats
path: root/block/badblocks.c
AgeCommit message (Expand)AuthorLines
2025-03-10badblocks: Fix a nonsense WARN_ON() which checks whether a u64 variable < 0Coly Li-2/+3
2025-03-06badblocks: use sector_t instead of int to avoid truncation of badblocks lengthZheng Qixing-12/+8
2025-03-06badblocks: return boolean from badblocks_set() and badblocks_clear()Zheng Qixing-21/+20
2025-03-06badblocks: fix missing bad blocks on retry in _badblocks_check()Zheng Qixing-26/+24
2025-03-06badblocks: fix merge issue when new badblocks align with pre+1Li Nan-2/+2
2025-03-06badblocks: try can_merge_front before overlap_frontLi Nan-26/+22
2025-03-06badblocks: fix the using of MAX_BADBLOCKSLi Nan-2/+2
2025-03-06badblocks: return error if any badblock set failsLi Nan-12/+5
2025-03-06badblocks: return error directly when setting badblocks exceeds 512Li Nan-102/+19
2025-03-06badblocks: attempt to merge adjacent badblocks during ack_all_badblocksLi Nan-0/+5
2025-03-06badblocks: factor out a helper try_adjacent_combineLi Nan-14/+26
2025-03-06badblocks: Fix error shitf opsLi Nan-6/+6
2023-12-23badblocks: avoid checking invalid range in badblocks_check()Coly Li-2/+4
2023-09-26badblocks: switch to the improved badblock handling codeColy Li-305/+3
2023-09-26badblocks: improve badblocks_check() for multiple ranges handlingColy Li-0/+97
2023-09-26badblocks: improve badblocks_clear() for multiple ranges handlingColy Li-0/+325
2023-09-26badblocks: improve badblocks_set() for multiple ranges handlingColy Li-20/+544
2023-09-26badblocks: add helper routines for badblock ranges handlingColy Li-0/+386
2022-04-23block/badblocks: Remove redundant assignmentsMichal Orzel-2/+0
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva-1/+1
2019-04-30block: switch all files cleared marked as GPLv2 to SPDX tagsChristoph Hellwig-9/+1
2017-11-03badblocks: fix wrong return value in badblocks_set if badblocks are disabledLiu Bo-1/+1
2017-06-21block: Add fallthrough markers to switch statementsBart Van Assche-0/+1
2016-10-21badblocks: badblocks_set/clear update unacked_existShaohua Li-0/+23
2016-10-12badblocks: fix overlapping check for clearingTomasz Majchrzak-2/+4
2016-01-09block, badblocks: introduce devm_init_badblocksDan Williams-13/+35
2016-01-09block: clarify badblocks lifetimeDan Williams-0/+2
2016-01-09badblocks: rename badblocks_free to badblocks_exitDan Williams-3/+3
2016-01-09badblocks: Add core badblock management codeVishal Verma-0/+561