diff options
author | Anand Avati <avati@gluster.com> | 2009-09-16 05:43:01 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-09-16 07:11:12 -0700 |
commit | 34a7a97b3be80fa8af7d285211ab575a4c00ea79 (patch) | |
tree | 3a15428b527fa41e542bb2adeeecc0562d166018 /glusterfsd | |
parent | 47b340a0d499d5f9364f763e5794a433be609e17 (diff) |
io-cache: fix table->max_pri to 1 as the lowest priority
patch http://patches.gluster.com/patch/1319/ breaks when no priority
is mentioned in the config. the patch makes ioc_get_priority() return
1 as the value when no priority is given, but ioc_get_priority_list()
was still returning 0 as the max_pri (maximum priority) which would
result in lru list heads not getting initialized
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 261 (support for disabling caching of certain files)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=261
Diffstat (limited to 'glusterfsd')
0 files changed, 0 insertions, 0 deletions