Hi Pavel,

You are more or less right in your description, but the key that I tried to convey in my first email is that GPFS only obey's POSIX.  So your question can be answered by looking at how your application performs the write and does your application ask to make the data live only in the pagepool or on stable storage.  By default posix says that file create and writes are unstable, so just doing a write puts it in the pagepool and will be lost if a crash occurs immediately after.  To make it stable, the application must do something in posix to make it stable, of which there are many ways to do so, including but not limited to O_SYNC, DIO, some form of fsync post write, etc, etc...

Dean Hildebrand
IBM Almaden Research Center


Inactive hide details for Pavel Pokorny ---11/12/2014 04:21:11 AM---Hi, thanks. A I understand the write process to GPFS filesyPavel Pokorny ---11/12/2014 04:21:11 AM---Hi, thanks. A I understand the write process to GPFS filesystem:

From: Pavel Pokorny <pavel.pokorny@datera.cz>
To: gpfsug-discuss@gpfsug.org
Date: 11/12/2014 04:21 AM
Subject: Re: [gpfsug-discuss] GPFS - pagepool data protection?
Sent by: gpfsug-discuss-bounces@gpfsug.org





Hi,
thanks. A I understand the write process to GPFS filesystem:

1. Application on a node makes write call
2. Token Manager stuff is done to coordinate the required-byte-range
3. mmfsd gets metadata from the file’s metanode
4. mmfsd acquires a buffer from the page pool
5. Data is moved from application data buffer to page pool buffer
6. VSD layer copies data from the page pool to the send pool
 and so on.

What I am looking at and want to clarify is step 5. Situation when data is moved to page pool. What happen if the server will crash at tjis point?
Will GPFS use journal to get to stable state?
Thank you, Pavel

--
Ing. Pavel Pokorný
DATERA s.r.o. | Ovocný trh 580/2 | Praha | Czech Republic
www.datera.cz | Mobil: +420 602 357 194 | E-mail: pavel.pokorny@datera.cz 


On Sat, Nov 8, 2014 at 1:00 PM, <gpfsug-discuss-request@gpfsug.org> wrote: _______________________________________________
gpfsug-discuss mailing list
gpfsug-discuss at gpfsug.org
http://gpfsug.org/mailman/listinfo/gpfsug-discuss