Skip to content

Files

Latest commit

 

History

History
9 lines (7 loc) · 479 Bytes

CONTRIBUTING.md

File metadata and controls

9 lines (7 loc) · 479 Bytes

Linux kernel

Some libcrush files are copy/pasted into the Linux kernel: crush.[ch], crush_ln_table.h, hash.[ch] and mapper.[ch]. This imposes additional restrictions on the implementation and coding style.

  • do not use floating point
  • use the functions and constants from crush_compat.h where relevant
  • try to follow the linux kernel coding style