md and queue write_cache

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

 



Hello,

I recently created a raid1 md volume using two Intel DC P3700 NVMe
devices. I noticed that although both NVMe devices report not needing
cache flushes (/sys/block/nvme*/queue/write_cache contains "write
through"), the md volume created by linking them reports the opposite:
/sys/block/md1/queue/write_cache contains "write back".

I'm wondering if this is by design or simply a bug.

My ultimate goal is to use this device to externally place the journal
of an ext4 filesystem sitting on another big, slow, md device.

AIUI, unless md itself requires cache flushes for it own ends, I'll be
able to mount this filesystem with write barriers disabled and safely
gain a significant performance improvement in write speeds.

Thanks,

-- Jerome

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux