Project

General

Profile

Actions

Feature #54280

closed

support truncation sequences in sparse reads

Added by Jeff Layton about 2 years ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
backport_processed
Backport:
quincy
Reviewed:
Affected Versions:
Component(RADOS):
Pull request ID:

Description

I've been working on sparse read support in the kclient, and got something working today, only to notice that after truncating a file, I would often get back -EINVAL when trying to read it. The problem seems to be this in PrimaryLogPG::do_sparse_read() :

  if (op.extent.truncate_seq) {
    dout(0) << "sparse_read does not support truncation sequence " << dendl;
    return -EINVAL;
  }

Would it be possible to support sparse reads against objects that have a non-zero truncate_seq?


Related issues 1 (0 open1 closed)

Copied to RADOS - Backport #54614: quincy: support truncation sequences in sparse readsResolvedJeff LaytonActions
Actions

Also available in: Atom PDF