Skip to contentSkip to conversation

changelog interface

Lustre-devel Nathaniel Rutman 2 participants 2 messages Jun 23, 2008 – Jun 24, 2008

lore
Share & tools
lore
#0 lore raw

Peter, early in the changelog arch we had designed the changelog user API as a series of files that would show up under a special .lustre directory. After the ZFS changelog investigation, I think it makes more sense to try and match the ZFS API so that changes to user tools are minimized.

So, as "zfs diff snap1 snap2" produces a stream to stdout, I think we should make "lctl diff startrec [endrec]" produce a similar stream. We would also need a "lctl purge endrec" to clear out old changelog records.

Any objections?

#1 lore raw

Makes sense.

Peter

Quoted 12 lines · Nathaniel Rutman

Peter, early in the changelog arch we had designed the changelog user API as a series of files that would show up under a special .lustre directory. After the ZFS changelog investigation, I think it makes more sense to try and match the ZFS API so that changes to user tools are minimized.

So, as "zfs diff snap1 snap2" produces a stream to stdout, I think we should make "lctl diff startrec [endrec]" produce a similar stream. We would also need a "lctl purge endrec" to clear out old changelog records.

Any objections?