History

block: Add a disk flag to block integrity profile

So far we have relied on the app tag size to determine whether a disk has been formatted with T10 protection information or not. However, not all target devices provide application tag storage. Add a flag to the block integrity profile that indicates whether the disk has been formatted with protection information.

Martin K. Petersen committed 12 years ago

Commit 3aec2f41 parent 8288f494 files · +28 −1Browse files

Showing the changes to include/linux/blkdev.h (1 of 4 files). Show all

Unified · Split

include/linux/blkdev.h+1−0
@@ -1461,6 +1461,7 @@ static inline uint64_t rq_io_start_time_ns(struct request *req) · 1460 unmodified lines
14611461 enum blk_integrity_flags {
14621462 BLK_INTEGRITY_VERIFY = 1 << 0,
14631463 BLK_INTEGRITY_GENERATE = 1 << 1,
1464+ BLK_INTEGRITY_DEVICE_CAPABLE = 1 << 2,
14641465 };
14651466
14661467 struct blk_integrity_iter {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t