]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: EBUSY instead of EAGAIN when pgs creating 1677/head
authorJohn Spray <john.spray@inktank.com>
Thu, 17 Apr 2014 14:28:22 +0000 (15:28 +0100)
committerJohn Spray <john.spray@inktank.com>
Thu, 17 Apr 2014 14:28:22 +0000 (15:28 +0100)
commit40e8dbbb6b142da5f960a7f04cba085da43509dc
treedf48b0f79996f815918420a26eb11a9ce2277ff3
parent2e375b6f4e39cfffb57aef54e629bd2eeef3496e
mon: EBUSY instead of EAGAIN when pgs creating

In 69321bf, EAGAIN changed behaviour to block indefinitely
rather than returning to user.  Change the return for
`osd pool set` operations that are blocked by creating PGs
to return EBUSY instead of EAGAIN, so that they are excepted
from this blocking behaviour.

Signed-off-by: John Spray <john.spray@inktank.com>
src/mon/OSDMonitor.cc