Re: [RFC PATCH] Filesystem Journal Notifications

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

 



* Jamie Lokier (jamie@xxxxxxxxxxxxx) wrote:
> Abhijit Paithankar wrote:
> > One way to do it is to fsync every few operations. However, fsync is
> > blocking and affects performance.
> >
> > The other (more efficient) way is to have the filesystem notify the
> > application when a transaction/change is written to disk.
> 
> Is this more efficient than aio_fsync, and if so, why?
> 
> For file writes, aio_fsync seems like a cleaner interface, and if
> that's not fast enough, it could be made faster - perhaps using code
> form this patch.  (An aio_fsync_ranges would be even better).
> 
> -- Jamie

Hi,

aio_fsync does not provide any relationship between the metadata
operations and journal commit. There is no mechanism to track
operations which made it to the journal and the ones that did not.

With the journal notifications patch we will be able to know exactly
which metadata change hit the journal and when.

Thanks!
Abhijit
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux