Changing the relative order of read-ahead and open-behind

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

 



Hi all,

We've a bug [1], due to which read-ahead is completely disabled when the workload is read-only. One of the easy fix was to make read-ahead as an ancestor of open-behind in xlator graph (Currently its a descendant). A patch has been sent out by Rafi to do the same. As noted in one of the comments, one flip side of this solution is that small files (which are eligible to be cached by quick read) are cached twice - once each in read-ahead and quick-read - wasting up precious memory. However, there are no other simpler solutions for this issue. If you've concerns on the approach followed by [2] or have other suggestions please voice them out. Otherwise, I am planning to merge [2] for lack of better alternatives.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1084508
[2] https://review.gluster.org/#/c/15811/

regards,
Raghavendra
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-devel



[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux