Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-09-18 | dm vdo indexer: Convert comma to semicolon | Shen Lichuan | 1 | -1/+1 | |
To ensure code clarity and prevent potential errors, it's advisable to employ the ';' as a statement separator, except when ',' are intentionally used for specific purposes. Signed-off-by: Shen Lichuan <[email protected]> Signed-off-by: Mikulas Patocka <[email protected]> | |||||
2024-07-10 | dm vdo indexer: use swap() instead of open coding it | Jiapeng Chong | 1 | -4/+1 | |
Use existing swap() macro rather than duplicating its implementation. Reported-by: Abaci Robot <[email protected]> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9173 Signed-off-by: Jiapeng Chong <[email protected]> Signed-off-by: Matthew Sakai <[email protected]> Signed-off-by: Mikulas Patocka <[email protected]> | |||||
2024-05-03 | dm-vdo: use bdev_nr_bytes(bdev) instead of i_size_read(bdev->bd_inode) | Al Viro | 1 | -1/+1 | |
going to be faster, actually - shift is cheaper than dereference... Signed-off-by: Al Viro <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Matthew Sakai <[email protected]> Signed-off-by: Christian Brauner <[email protected]> | |||||
2024-03-04 | dm vdo logger: change from uds_ to vdo_ namespace | Mike Snitzer | 11 | -200/+200 | |
Rename all uds_log_* to vdo_log_*. Signed-off-by: Mike Snitzer <[email protected]> Signed-off-by: Chung Chung <[email protected]> Signed-off-by: Matthew Sakai <[email protected]> | |||||
2024-03-04 | dm vdo funnel-queue: change from uds_ to vdo_ namespace | Mike Snitzer | 1 | -11/+11 | |
Also return VDO_SUCCESS from vdo_make_funnel_queue. Signed-off-by: Mike Snitzer <[email protected]> Signed-off-by: Chung Chung <[email protected]> Signed-off-by: Matthew Sakai <[email protected]> | |||||
2024-03-04 | dm vdo indexer: fix use after free | Matthew Sakai | 1 | -3/+4 | |
Fixes: b46d79bdb82a ("dm vdo: add deduplication index storage interface") Reported-by: Harshit Mogalapalli <[email protected]> Signed-off-by: Matthew Sakai <[email protected]> Signed-off-by: Mike Snitzer <[email protected]> | |||||
2024-03-04 | dm vdo indexer: update ASSERT and ASSERT_LOG_ONLY usage | Matthew Sakai | 8 | -103/+104 | |
Update indexer uses of ASSERT and ASSERT_LOG_ONLY to VDO_ASSERT and VDO_ASSERT_LOG_ONLY, respectively. Remove ASSERT and ASSERT_LOG_ONLY. Also rename uds_assertion_failed to vdo_assertion_failed. Signed-off-by: Matthew Sakai <[email protected]> Signed-off-by: Mike Snitzer <[email protected]> | |||||
2024-03-04 | dm vdo thread-utils: return VDO_SUCCESS on vdo_create_thread success | Mike Snitzer | 3 | -3/+3 | |
Update all callers to check for VDO_SUCCESS. Signed-off-by: Mike Snitzer <[email protected]> Signed-off-by: Matthew Sakai <[email protected]> | |||||
2024-03-04 | dm vdo: check for VDO_SUCCESS return value from memory-alloc functions | Mike Snitzer | 15 | -49/+49 | |
VDO_SUCCESS and UDS_SUCCESS were used interchangably, update all callers of VDO's memory-alloc functions to consistently check for VDO_SUCCESS. Signed-off-by: Mike Snitzer <[email protected]> Signed-off-by: Matthew Sakai <[email protected]> | |||||
2024-03-04 | dm vdo memory-alloc: change from uds_ to vdo_ namespace | Mike Snitzer | 15 | -124/+124 | |
Signed-off-by: Mike Snitzer <[email protected]> Signed-off-by: Matthew Sakai <[email protected]> | |||||
2024-03-04 | dm-vdo: change unnamed enums to defines | Bruce Johnston | 10 | -74/+40 | |
Signed-off-by: Bruce Johnston <[email protected]> Signed-off-by: Matthew Sakai <[email protected]> Signed-off-by: Mike Snitzer <[email protected]> | |||||
2024-03-04 | dm vdo indexer delta-index: fix typos in comments | Matthew Sakai | 2 | -2/+2 | |
Signed-off-by: Matthew Sakai <[email protected]> Signed-off-by: Mike Snitzer <[email protected]> | |||||
2024-03-04 | dm vdo: move indexer files into sub-directory | Mike Snitzer | 32 | -0/+13882 | |
The goal is to assist high-level understanding of which code is conceptually specific to VDO's indexer. Signed-off-by: Mike Snitzer <[email protected]> Signed-off-by: Matthew Sakai <[email protected]> |