All of lore.kernel.org
 help / color / mirror / Atom feed
* Fwd: FileStore : no wait thread queue_sync
       [not found] <CA+gn+zk090MQ=NktqKLdHUXbrJbsfcDtape7DnLC0WOQuA5qbg@mail.gmail.com>
@ 2015-12-21 22:22 ` David Casier
  0 siblings, 0 replies; only message in thread
From: David Casier @ 2015-12-21 22:22 UTC (permalink / raw)
  To: Ceph Development

FYI.
---------- Forwarded message ----------
From: David Casier <david.casier@aevoo.fr>
Date: 2015-12-21 23:19 GMT+01:00
Subject: FileStore : no wait thread queue_sync
To: Ceph Development <ceph-devel@vger.kernel.org>, Sage Weil <sage@newdream.net>
Cc: Benoît LORIOT <benoit.loriot@aevoo.fr>, Sébastien VALSEMEY
<sebastien.valsemey@aevoo.fr>


Hi,
What do you think about :

if (!journal && m_filestore_direct) {
  apply_manager.commit_finish
}
 in FileStore::queue_transactions  ?
For direct and no waiting (sync_entry thread) ?

I would also propose putting a parameter "m_omap_is_safe" for bypass
XATTR_SPILL_OUT_NAME and reduce IOPS in hard_drive

if ( !m_omap_is_safe) {
    r = chain_fgetxattr(**o, XATTR_SPILL_OUT_NAME, buf, sizeof(buf));
    if (r >= 0 && !strncmp(buf, XATTR_NO_SPILL_OUT,
sizeof(XATTR_NO_SPILL_OUT))) {
      r = chain_fsetxattr(**n, XATTR_SPILL_OUT_NAME, XATTR_NO_SPILL_OUT,
                          sizeof(XATTR_NO_SPILL_OUT));
    } else {
      r = chain_fsetxattr(**n, XATTR_SPILL_OUT_NAME, XATTR_SPILL_OUT,
                          sizeof(XATTR_SPILL_OUT));
    }
}

-- 

________________________________________________________

Cordialement,

David CASIER

________________________________________________________



-- 

________________________________________________________

Cordialement,

David CASIER

________________________________________________________
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-21 22:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CA+gn+zk090MQ=NktqKLdHUXbrJbsfcDtape7DnLC0WOQuA5qbg@mail.gmail.com>
2015-12-21 22:22 ` Fwd: FileStore : no wait thread queue_sync David Casier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.