···5566if test "$#" != "1"; then77 echo "Usage: sh `basename $0` {dir}" 1>&288+ echo " n_partitions=16 sh `basename $0` {dir}" 1>&289 exit 1910fi1011dir=$1
+1
Documentation/aoe/mkshelf.sh
···2233if test "$#" != "2"; then44 echo "Usage: sh `basename $0` {dir} {shelfaddress}" 1>&255+ echo " n_partitions=16 sh `basename $0` {dir} {shelfaddress}" 1>&256 exit 167fi78n_partitions=${n_partitions:-16}
+14
Documentation/aoe/todo.txt
···11+There is a potential for deadlock when allocating a struct sk_buff for22+data that needs to be written out to aoe storage. If the data is33+being written from a dirty page in order to free that page, and if44+there are no other pages available, then deadlock may occur when a55+free page is needed for the sk_buff allocation. This situation has66+not been observed, but it would be nice to eliminate any potential for77+deadlock under memory pressure.88+99+Because ATA over Ethernet is not fragmented by the kernel's IP code,1010+the destructore member of the struct sk_buff is available to the aoe1111+driver. By using a mempool for allocating all but the first few1212+sk_buffs, and by registering a destructor, we should be able to1313+efficiently allocate sk_buffs without introducing any potential for1414+deadlock.