9 Commits

Author SHA1 Message Date
Basavanagowda Kanur
3d8bc3cbaf updated copyright header to extend copyright upto 2009
updated copyright header to include 2009.

Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-02-26 22:18:46 +05:30
krishna
431617ef19 Layout is sorted on volume names before forming the layout ranges. But when anomalies are to be detected layout is sorted based on "start" of the range (done in the selfheal during lookup).
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-02-26 19:46:23 +05:30
Vikas Gorur
c445012fa9 protect fd_ctx get/set in afr_transaction and afr.c with locks
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-02-26 18:03:18 +05:30
Vikas Gorur
523d23b94c Unset fd_ctx in afr_flush if it is set
If fd_ctx is set, it means pending array needs to be decremented.
However, flush might be called many times and it used to lead
to multiple decrements. Fix is to unset fd_ctx on the first flush
received

Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-02-26 18:03:12 +05:30
Krishna Srinivas
417dfa48df DHT clean up. Lot of selfheal code is not applicable to newly created directory. Newly created directory will use only relavant part of DHT selfheal code - only for xattr application.
DHT clean up. Lot of selfheal code is not applicable to newly created directory. Newly created directory will use only relavant part of DHT selfheal
code - only for xattr application.

Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-02-25 17:47:12 +05:30
Krishna Srinivas
6609b1d37b DHT selfheal fix during lookup - create missing directories.
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-02-25 16:48:45 +05:30
Anand V. Avati
d47eb5d681 DHT TEA hashfn bugfix
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
2009-02-23 21:02:27 +05:30
Basavanagowda Kanur
91df2dbcb1 cluster/ha to handle EBADFD for fd based operations as transport disconnected.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
2009-02-19 07:08:12 -08:00
Vikas Gorur
77adf4cd64 Added all files 2009-02-18 17:36:07 +05:30