diff options
author | Tao Ma <[email protected]> | 2010-07-09 14:53:11 +0800 |
---|---|---|
committer | Joel Becker <[email protected]> | 2010-07-12 13:57:24 -0700 |
commit | a78f9f4668949a6588b8872f162e86685c63d023 (patch) | |
tree | e4757b666f2c51f3e2f596a921d4f9fe13c2dbc1 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 0a463b74e7e6856b24e613de2b85237c6e11890b (diff) |
ocfs2: make xattr extension work with new local alloc reservation.
The old ocfs2_xattr_extent_allocation is too optimistic about
the clusters we can get. So actually if the file system is
too fragmented, ocfs2_add_clusters_in_btree will return us
with EGAIN and we need to allocate clusters once again.
So this patch change it to a while loop so that we can allocate
clusters until we reach clusters_to_add.
Signed-off-by: Tao Ma <[email protected]>
Signed-off-by: Joel Becker <[email protected]>
Cc: [email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions