Re: [RFC PATCH] bio-integrity: Copy bip_buf and bip_size in bio_integrity_clone()

From: Martin K. Petersen
Date: Tue May 26 2009 - 15:57:23 EST

>>>>> "Alberto" == Alberto Bertogli <albertito@xxxxxxxxxxxxxx> writes:

Alberto> The case I was thinking about was something like a filesystem
Alberto> calling bio_integrity_get_tag() on a cloned bio,

Filesystems never see cloned bios.

Alberto> - What would be a decent name to use in struct blk_integrity
Alberto> for a module such as mine? Is LINUX-DMCSUM-V0-CCITT
Alberto> reasonable?

Yeah. Doesn't matter much, really. The original intent was simply to
capture the variations in the (hardware) protocols .

Alberto> - How can I test the tag functions? From a quick grep I found
Alberto> no in-tree users of bio_integrity_get/set_tag().

There are no users yet.

Martin K. Petersen Oracle Linux Engineering
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at