Print this page
NEX-16625 Max amount of iSCSI targets is hard limited with doorfs core definitions
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
NEX-5164 backport illumos 6514 AS_* lock macros simplification
Reviewed by: Kevin Crowe <kevin.crowe@nexenta.com>
6514 AS_* lock macros simplification
Reviewed by: Piotr Jasiukajtis <estibi@me.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Albert Lee <trisk@omniti.com>
Approved by: Dan McDonald <danmcd@omniti.com>
        
*** 79,89 ****
  /*
   * Maximum amount of data that will be transferred in a reply to a
   * door_upcall.  Need to guard against a process returning huge amounts
   * of data and getting the kernel stuck in kmem_alloc.
   */
! size_t  door_max_upcall_reply = 1024 * 1024;
  
  /*
   * Maximum number of descriptors allowed to be passed in a single
   * door_call or door_return.  We need to allocate kernel memory
   * for all of them at once, so we can't let it scale without limit.
--- 79,89 ----
  /*
   * Maximum amount of data that will be transferred in a reply to a
   * door_upcall.  Need to guard against a process returning huge amounts
   * of data and getting the kernel stuck in kmem_alloc.
   */
! size_t  door_max_upcall_reply = 4 * 1024 * 1024;
  
  /*
   * Maximum number of descriptors allowed to be passed in a single
   * door_call or door_return.  We need to allocate kernel memory
   * for all of them at once, so we can't let it scale without limit.