Home
last modified time | relevance | path

Searched hist:"982 d6011bc30a26e8a3d546e0e7fc7db2c255d85" (Results 1 – 4 of 4) sorted by relevance

/linux/fs/ceph/
H A Dsnap.cdiff 982d6011bc30a26e8a3d546e0e7fc7db2c255d85 Tue Dec 23 08:30:54 CET 2014 Yan, Zheng <zyan@redhat.com> ceph: improve reference tracking for snaprealm

When snaprealm is created, its initial reference count is zero.
But in some rare cases, the newly created snaprealm is not referenced
by anyone. This causes snaprealm with zero reference count not freed.

The fix is set reference count of newly snaprealm to 1. The reference
is return the function who requests to create the snaprealm. When the
function finishes its job, it releases the reference.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
H A Dsuper.hdiff 982d6011bc30a26e8a3d546e0e7fc7db2c255d85 Tue Dec 23 08:30:54 CET 2014 Yan, Zheng <zyan@redhat.com> ceph: improve reference tracking for snaprealm

When snaprealm is created, its initial reference count is zero.
But in some rare cases, the newly created snaprealm is not referenced
by anyone. This causes snaprealm with zero reference count not freed.

The fix is set reference count of newly snaprealm to 1. The reference
is return the function who requests to create the snaprealm. When the
function finishes its job, it releases the reference.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
H A Dcaps.cdiff 982d6011bc30a26e8a3d546e0e7fc7db2c255d85 Tue Dec 23 08:30:54 CET 2014 Yan, Zheng <zyan@redhat.com> ceph: improve reference tracking for snaprealm

When snaprealm is created, its initial reference count is zero.
But in some rare cases, the newly created snaprealm is not referenced
by anyone. This causes snaprealm with zero reference count not freed.

The fix is set reference count of newly snaprealm to 1. The reference
is return the function who requests to create the snaprealm. When the
function finishes its job, it releases the reference.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
H A Dmds_client.cdiff 982d6011bc30a26e8a3d546e0e7fc7db2c255d85 Tue Dec 23 08:30:54 CET 2014 Yan, Zheng <zyan@redhat.com> ceph: improve reference tracking for snaprealm

When snaprealm is created, its initial reference count is zero.
But in some rare cases, the newly created snaprealm is not referenced
by anyone. This causes snaprealm with zero reference count not freed.

The fix is set reference count of newly snaprealm to 1. The reference
is return the function who requests to create the snaprealm. When the
function finishes its job, it releases the reference.

Signed-off-by: Yan, Zheng <zyan@redhat.com>