IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 25, 2011, 11:09:21 AM (15 years ago)
Author:
watersc1
Message:

Implement xattr hack in get_storage_volume to allow ATRC and MHPCC
nodes to appear different. Location awareness will need to be done
correctly later.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/lib/Nebulous/Server/SQL.pm

    r28492 r31368  
    344344    },
    345345    # volume handler
     346    # This has a hack to get around the lack of location awareness by using xattr.
    346347    get_storage_volume          => qq{
    347348        SELECT * from (
     
    357358            AND available = ?
    358359            AND allocate = ?
     360            AND xattr = 0
    359361        ORDER BY free DESC
    360362        LIMIT ?) as topfew
Note: See TracChangeset for help on using the changeset viewer.