ARTEMIS-937 no sync on AIO shouldn't use O_DIRECT
This commit is contained in:
parent
1ac6354990
commit
c60c92697f
|
@ -130,7 +130,7 @@ public class AIOSequentialFile extends AbstractSequentialFile {
|
|||
opened = true;
|
||||
|
||||
try {
|
||||
aioFile = aioFactory.libaioContext.openFile(getFile(), true);
|
||||
aioFile = aioFactory.libaioContext.openFile(getFile(), factory.isDatasync());
|
||||
} catch (IOException e) {
|
||||
factory.onIOError(e, e.getMessage(), this);
|
||||
throw new ActiveMQNativeIOError(e.getMessage(), e);
|
||||
|
|
Loading…
Reference in New Issue