OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [PATCH v2] virtio-pmem: PMEM device spec

> >> > +\drivernormative{\subsubsection}{Driver Initialization: Virtio flush}{Device Types / PMEM Driver / Driver Initialization / Virtio flush}
> >> > +
> >> > +The driver MUST implement a virtio based flushing interface.
> >>
> >> I think this can be dropped. The only way to make writes persistent is
> >> by sending flush requests. There is no need to say that the driver has
> >> to use this interface. It doesn't really have to, but then it won't be
> >> able to guarantee persistence.
> >
> > I am not 100 percent sure on this.
> I don't think we want this in a normative section, but maybe there's a
> place for it in a section that describes the general operation?

I was saying because this is the must property for virtio-pmem device
which is emulated
on regular block device. virtio-pmem above real persistent devices
don't need any explicit flush.

This can be enhanced later for real persistent devices which don't
need explicit flush
and thus driver writers don't have to worry about it.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]