Project

General

Profile

Specify File layout by kernel client and fuse client

Summary

The file layout defines the stripe strategy of Ceph files, includes stripe count (1 by default), stripe unit size (4MB by default), object size (4MB by default). Currently, the sole solution to change file layout at run-time is to use libcephfs, which works at a per-file base. Otherwise, it could be changed only at compile-time by revising ‘common/config.cc’, followed a time consuming recompilation. Flexible file layout specification is expected while Ceph is deployed for different types of storage, or for testing. We plan to enable Ceph kernel client, as well as Ceph fuse client to change file layout at run-time. First, the global default layout could be revised by a mount option at mount-time. Second, when a file is just created, being an empty file, ioctl() could be called on it to override the default file layout.

Owners

  • Li Wang (UbuntuKylin)
  • Name (Affiliation)
  • Name

Interested Parties

  • Name (Affiliation)
  • Name (Affiliation)
  • Name

Current Status

Under design

Detailed Description

Work items

Coding tasks

  1. Task 1
  2. Task 2
  3. Task 3

Build / release tasks

  1. Task 1
  2. Task 2
  3. Task 3

Documentation tasks

  1. Task 1
  2. Task 2
  3. Task 3

Deprecation tasks

  1. Task 1
  2. Task 2
  3. Task 3