Skip to contentSkip to conversation

stripe definitions

DISCUSSION Jim Rees 2 participants 2 messages Feb 22, 2011 – Feb 23, 2011

Subsystems (2)
lore
Share & tools
lore

Jim Rees

author
#0 lore raw

There's an inconsistency in rfc5663 that had me a bit confused:

   /// struct pnfs_block_stripe_volume_info4 {
   ///     length4  bsv_stripe_unit;      /* size of stripe in bytes */

The comment "size of stripe in bytes" fits the definition of "stripe width" from rfc5661 section 13.2, but that's not what's meant here. The field name, "stripe_unit", is correct.

#1 lore raw
Quoted 5 lines · Jim Rees

There's an inconsistency in rfc5663 that had me a bit confused:

   /// struct pnfs_block_stripe_volume_info4 {
   ///     length4  bsv_stripe_unit;      /* size of stripe in bytes */
Quoted 7 lines

The comment "size of stripe in bytes" fits the definition of "stripe width" from rfc5661 section 13.2, but that's not what's meant here. The field name, "stripe_unit", is correct.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

You are right stripe_unit is the the bytes to write to a single device before advancing to the next device. The comment is wrong the "size of stripe in bytes" is stripe_unit * num_of_devices.

The same name used in the OSD and files layout and has the same meaning.

Cheers
Boaz