It is short term (usually overnight) lending and it is not $2 Trillion but rather it has grown from $800 billion to $2 Trillion. It is the job of the Fed to provide short term liquidity. http://www.federalreserve.gov/monetarypolicy/discountrate.htm