Re: page cache flush before unmap?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 4, 2020 at 7:32 AM Void Star Nill <void.star.nill@xxxxxxxxx> wrote:
>
> Hello,
>
> I wanted to know if rbd will flush any writes in the page cache when a
> volume is "unmap"ed on the host, of if we need to flush explicitly using
> "sync" before unmap?

In effect, yes.  rbd doesn't do it itself, but the block layer
does flush dirty data after making the disk unavailable for users
and before completely destroying it.

That said, it is always better to flush everything you need flushed
yourself.  That way you are clear and explicit about your intent, can
log or react to errors, etc.

Thanks,

                Ilya
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux