git: sbp(4): Support MAXPHYS up to 512KB

Francois Tigeot ftigeot at
Sun Apr 28 09:22:41 PDT 2013

commit 8a32dff3bbb5f1044369b831e189ce0b151b7944
Author: François Tigeot <ftigeot at>
Date:   Sun Apr 28 15:53:56 2013 +0200

    sbp(4): Support MAXPHYS up to 512KB
    - We need at least two OCBs with indirect pointers allocated in a 4KB page.
    - SBP_MAXPHYS can increase to 1MB once we separate management OCB/ORB
      which usually does not need indirect pointers.
    - We have to increase SBP_DMA_SIZE for MAXPHYS larger than 1MB.
    Obtained-from: FreeBSD

Summary of changes:
 sys/dev/disk/sbp/sbp.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list