Hi sage,

What do you think use existing ObjectStore::peek_journal_fsid
interface to detect whether journal needed.

KeyValueStore and MemStore could set passing argument "fsid" to zero
to indicate no journal.

On Tue, Sep 30, 2014 at 10:23 AM, Haomai Wang <[email protected]> wrote:
> No problem, I would like do it.
>
> On Tue, Sep 30, 2014 at 7:48 AM, Sage Weil <[email protected]> wrote:
>> Hi Haomai,
>>
>> Not sure if you saw
>>
>>         http://tracker.ceph.com/issues/9580
>>
>> which came from an issue Mark had getting ceph-disk to work with the
>> keyvaluestore backend.  I think the answer is to make a command
>> like
>>
>>         ceph-osd -i 123 --check-needs-journal
>>
>> to query whether the configured backend wants a journal backend.  That
>> would let ceph-disk skip the work.  Would need to be careful to
>> distinguish between errors and a true/false answer.
>>
>> Any interest in wiring that up?
>> sage
>>
>
>
>
> --
> Best Regards,
>
> Wheat



-- 
Best Regards,

Wheat
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to