]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crush: eliminate ad hoc diff between kernel and userspace 4959/head
authorIlya Dryomov <idryomov@gmail.com>
Fri, 12 Jun 2015 15:48:46 +0000 (18:48 +0300)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 15 Jun 2015 15:13:40 +0000 (18:13 +0300)
commit1db1abc8328d5cfc2de32e0f1c20a12295eae0b3
treee11237c7afea9741acb529ebc8287e8ec41b9147
parent69316a938724c86a526d14c0607f97d2ea6548fa
crush: eliminate ad hoc diff between kernel and userspace

- map->choose_tries is not in the kernel
- 64-bit/64-bit in the kernel needs a special helper for 32-bit
  architectures, crush_compat.h provides a stub
- INT64_MIN is not in the kernel, crush_compat.h provides S64_MIN
- use dprintk inside DEBUG_INDEP sections

No functional changes.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/crush/crush.c
src/crush/crush.h
src/crush/mapper.c